Function at 0x4387d5
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test byte [eax + 0xc], 1
mov dword [ebp - 4], eax
je 0x4387f3
xor eax, eax
jmp 0x438c72
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
imul eax, eax, 0x38
push esi
lea esi, [eax + ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x18]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], esi
je 0x438827
cmp dword [ebp + 0x14], edi
je 0x438832
xor eax, eax
jmp 0x438c70
cmp dword [ebp + 0x14], edi
je 0x438832
cmp word [ecx], 1
jg 0x438820
mov edx, dword [eax + 0x28]
cmp edx, edi
mov ecx, dword [eax + 8]
je 0x438841
cmp dword [ebx + 0x28], edi
jne 0x438820
cmp dword [eax + 0x2c], edi
jne 0x438820
cmp dword [ebx + 0x24], edi
je 0x43884f
cmp edx, edi
jne 0x438820
cmp word [ecx], di
je 0x438820
test byte [eax + 6], 1
jne 0x438820
cmp edx, edi
je 0x43886c
mov ecx, dword [ebp - 8]
cmp word [ecx], 1
jg 0x438820
cmp dword [ebp + 0x10], edi
jne 0x438820
mov cx, word [ebx + 6]
and cx, 1
je 0x43887b
cmp dword [ebp + 0x14], edi
jne 0x438820
cmp dword [ebx + 0x18], edi
je 0x438885
cmp dword [eax + 0x18], edi
jne 0x438820
cmp dword [ebp + 0x10], edi
je 0x43888f
cmp dword [eax + 0x18], edi
jne 0x438820
cmp edx, edi
je 0x438898
cmp dword [ebx + 0xc], edi
jne 0x438820
test byte [esi + 0x15], 0x20
jne 0x438820
cmp dword [eax + 0x1c], edi
je 0x438936
cmp dword [eax + 0x18], edi
jne 0x438820
cmp dword [ebp + 0x10], edi
jne 0x438820
cmp cx, di
jne 0x438820
mov ecx, dword [ebp - 8]
cmp word [ecx], 1
jne 0x438820
mov ecx, eax
test byte [ecx + 6], 5
jne 0x438820
mov edx, dword [ecx + 0x1c]
cmp edx, edi
je 0x4388ec
cmp byte [ecx + 4], 0x71
jne 0x438820
mov ecx, dword [ecx + 8]
cmp ecx, edi
je 0x438820
cmp word [ecx], 1
jne 0x438820
mov ecx, edx
cmp ecx, edi
jne 0x4388d1
mov ecx, dword [ebx + 0x18]
cmp ecx, edi
je 0x438936
xor edx, edx
cmp dword [ecx], edi
jle 0x438936
mov ecx, dword [ecx + 0xc]
add ecx, 0xe
jmp 0x43891f
mov ecx, dword [ebp - 0x20]
cmp word [ecx], di
je 0x438820
add ecx, 0x14
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x18]
inc edx
cmp edx, dword [ecx]
jl 0x43891c
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x200]
mov dword [edx + 0x200], ecx
jmp 0x4389b0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x28]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x28], edi
call fcn.0042abf8
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp eax, edi
mov dword [ebx + 8], ecx
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x24], edi
jne 0x438994
mov eax, dword [ebp - 0x1c]
jmp 0x43899d
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], edi
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e], 0
jne 0x438c6d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x438947
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
call fcn.0041474a
push dword [esi + 4]
push dword [ebp - 4]
call fcn.0041474a
push dword [esi + 8]
push dword [ebp - 4]
call fcn.0041474a
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
je 0x438a28
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x438a20
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1a0]
cmp ecx, edi
jne 0x438a11
mov ecx, edx
add ecx, 0x21c
mov edx, dword [ecx]
mov dword [eax + 0x44], edx
mov dword [ecx], eax
jmp 0x438a25
dec ecx
mov word [eax + 0x20], cx
mov dword [esi + 0xc], edi
mov dword [ebp - 0x18], ebx
jmp 0x438a30
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 8]
movsx edi, word [esi]
mov eax, dword [ebx + 8]
test eax, eax
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], eax
je 0x438a55
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx + 0x15]
mov byte [ebp + 0xb], cl
jmp 0x438a76
mov edi, dword [ebp - 4]
push 0
push 0
xor eax, eax
call fcn.00431206
test eax, eax
pop ecx
pop ecx
mov dword [ebx + 8], eax
mov dword [ebp - 8], eax
je 0x438c60
mov edi, dword [ebp - 0x20]
cmp edi, 1
jle 0x438aa2
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea ecx, [edi - 1]
push ecx
push dword [ebp - 4]
call fcn.0043113e
mov dword [ebx + 8], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp byte [eax + 0x1e], 0
jne 0x438c60
test edi, edi
jle 0x438aee
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
add esi, 8
lea eax, [eax + ecx + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x1c]
push dword [ebp - 4]
mov esi, dword [edi + 0x20]
call fcn.004310ca
mov esi, dword [ebp - 0x14]
push 0xe
pop ecx
push 0x38
push 0
push dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
add dword [ebp - 0x1c], 0x38
add dword [ebp - 0x14], 0x38
add esp, 0x10
dec dword [ebp - 0x20]
jne 0x438abc
mov dl, byte [ebp + 0xb]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov byte [eax + ecx + 0x1d], dl
mov esi, dword [ebx]
xor edi, edi
cmp dword [esi], edi
mov dword [ebp + 8], edi
jle 0x438b36
mov eax, dword [esi + 0xc]
add eax, edi
cmp dword [eax + 4], 0
jne 0x438b29
mov eax, dword [eax + 8]
test eax, eax
je 0x438b29
mov edx, dword [ebp - 4]
push eax
call fcn.00414a0f
pop ecx
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add edi, 0x14
cmp eax, dword [esi]
jl 0x438b06
mov edi, dword [ebp - 0xc]
push dword [edi]
mov esi, dword [ebx]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00438676
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x438b77
push dword [edi]
mov esi, dword [ebx + 0x10]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00438676
push dword [edi]
push dword [ebp - 0x10]
push dword [ebx + 0x14]
push dword [ebp - 4]
call fcn.0043857d
add esp, 0x1c
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x438b87
mov dword [ebx + 0x18], eax
and dword [edi + 0x18], 0
jmp 0x438b9e
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x438b9e
push dword [edi]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00438676
add esp, 0xc
mov eax, dword [edi + 0xc]
test eax, eax
mov esi, dword [ebp - 4]
je 0x438bb9
push 0
push eax
push esi
call fcn.0042a96a
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x438bbd
and dword [ebp + 8], 0
cmp dword [ebp + 0x14], 0
je 0x438c12
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
push dword [edi]
push dword [ebp - 0x10]
push dword [ebx + 0x14]
push esi
call fcn.0043857d
push 0
mov dword [ebx + 0x14], eax
push dword [edi + 0x14]
push esi
call fcn.0042a96a
push dword [ebx + 0x14]
push esi
call fcn.0042a420
mov dword [ebx + 0x14], eax
mov ebx, dword [edi + 0x10]
push 0
push esi
call fcn.0042a981
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
add esp, 0x2c
mov dword [ecx + 0x10], eax
mov ebx, ecx
jmp 0x438c33
push dword [edi]
push dword [ebp - 0x10]
push dword [ebx + 0xc]
push esi
call fcn.0043857d
push eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 8]
push esi
call fcn.0042a420
add esp, 0x18
mov dword [ebx + 0xc], eax
movzx eax, byte [edi + 6]
and eax, 1
or word [ebx + 6], ax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x438c4c
mov dword [ebx + 0x28], eax
and dword [edi + 0x28], 0
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], eax
jne 0x438a2d
push dword [ebp - 0x2c]
push dword [ebp - 4]
call fcn.004372da
pop ecx
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret