Function at 0x43f640
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a8014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
push edi
mov edi, edx
test esi, esi
je 0x43f852
test edi, edi
je 0x43f852
cmp word [edi], 0
je 0x43f852
cmp ecx, 0x1f
ja 0x43f852
test eax, eax
js 0x43f852
mov ecx, dword [0x4ab3a4]
movsx edx, word [esi + 0x12]
cmp edx, dword [ecx + 0x194]
jl 0x43f6bc
xor edx, edx
jmp 0x43f6cf
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
imul edx, eax, 0x2c
add edx, dword [ecx + 0x400]
mov eax, dword [0x4ab3ac]
mov dword [ebp - 0x2c], edx
test byte [eax + 0x28], 0x20
je 0x43f6e4
mov ecx, edx
call fcn.0043a860
mov eax, dword [esi + 0x44]
mov edx, dword [ebp - 0x24]
movzx ecx, word [eax + 6]
add ecx, eax
movzx eax, word [ecx + 2]
cmp edx, eax
jge 0x43f852
movsx eax, word [ecx + edx*2 + 4]
test eax, eax
jle 0x43f852
add eax, ecx
mov ecx, dword [ebp - 0x28]
movsx ecx, word [eax + ecx*2]
test ecx, ecx
jle 0x43f852
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x20]
movsx eax, word [edx + 6]
cmp ecx, eax
jge 0x43f852
add ecx, 4
movzx eax, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x28], eax
mov edx, edi
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0x18
call fcn.0043edd0
add esp, 8
test eax, eax
je 0x43f852
mov ecx, dword [0x4ab3ac]
test ecx, ecx
je 0x43f84b
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [ebp - 0x24], eax
movzx edi, ax
movzx eax, word [esi + 0x14]
test ax, ax
js 0x43f7b3
mov edx, dword [ecx + 0x1278]
and eax, 0x7fff
mov esi, dword [edx + eax*8]
movzx eax, word [esi + 0x14]
test ax, ax
jns 0x43f7a2
mov eax, dword [ebp - 0x28]
movzx edx, ax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov eax, dword [esi + 0xdc]
cmp eax, edx
jne 0x43f7de
mov eax, dword [ebp - 0x24]
movzx edi, ax
mov dword [esi + 0xdc], edi
mov eax, edi
mov ecx, dword [0x4ab3ac]
cmp dword [esi + 0x10c], edx
jne 0x43f7f4
mov dword [esi + 0x10c], edi
mov ecx, dword [0x4ab3ac]
jmp 0x43f7fa
mov edi, dword [ebp - 0x24]
movzx edi, di
mov edx, dword [esi + 0xd4]
test edx, edx
je 0x43f82c
push eax
mov eax, dword [esi + 0x54]
sub eax, dword [ecx + 0xb4]
push eax
mov eax, dword [esi + 0x4c]
sub eax, dword [ecx + 0xb0]
push eax
push edx
push dword [0x4ab37c]
call dword [sym.imp.MMFS2.dll_Ordinal_75]
mov ecx, dword [0x4ab3ac]
movzx eax, word [esi + 0x16]
test ax, ax
js 0x43f84b
mov esi, dword [ecx + 0x1278]
and eax, 0x7fff
mov edx, dword [ebp - 0x20]
mov esi, dword [esi + eax*8]
jmp 0x43f7c0
mov eax, dword [ebp - 0x2c]
or dword [eax + 0x1c], 0x20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d741
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret