Function at 0x43f750
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 [0x4b3ca0]
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 0x43f962
test edi, edi
je 0x43f962
cmp word [edi], 0
je 0x43f962
cmp ecx, 0x1f
ja 0x43f962
test eax, eax
js 0x43f962
mov ecx, dword [0x4b70e4]
movsx edx, word [esi + 0x12]
cmp edx, dword [ecx + 0x194]
jl 0x43f7cc
xor edx, edx
jmp 0x43f7df
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
imul edx, eax, 0x2c
add edx, dword [ecx + 0x400]
mov eax, dword [0x4b70ec]
mov dword [ebp - 0x2c], edx
test byte [eax + 0x28], 0x20
je 0x43f7f4
mov ecx, edx
call fcn.0043a970
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 0x43f962
movsx eax, word [ecx + edx*2 + 4]
test eax, eax
jle 0x43f962
add eax, ecx
mov ecx, dword [ebp - 0x28]
movsx ecx, word [eax + ecx*2]
test ecx, ecx
jle 0x43f962
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x20]
movsx eax, word [edx + 6]
cmp ecx, eax
jge 0x43f962
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.0043eee0
add esp, 8
test eax, eax
je 0x43f962
mov ecx, dword [0x4b70ec]
test ecx, ecx
je 0x43f95b
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 0x43f8c3
mov edx, dword [ecx + 0x1278]
and eax, 0x7fff
mov esi, dword [edx + eax*8]
movzx eax, word [esi + 0x14]
test ax, ax
jns 0x43f8b2
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 0x43f8ee
mov eax, dword [ebp - 0x24]
movzx edi, ax
mov dword [esi + 0xdc], edi
mov eax, edi
mov ecx, dword [0x4b70ec]
cmp dword [esi + 0x10c], edx
jne 0x43f904
mov dword [esi + 0x10c], edi
mov ecx, dword [0x4b70ec]
jmp 0x43f90a
mov edi, dword [ebp - 0x24]
movzx edi, di
mov edx, dword [esi + 0xd4]
test edx, edx
je 0x43f93c
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 [0x4b70bc]
call dword [sym.imp.MMFS2.dll_Ordinal_75]
mov ecx, dword [0x4b70ec]
movzx eax, word [esi + 0x16]
test ax, ax
js 0x43f95b
mov esi, dword [ecx + 0x1278]
and eax, 0x7fff
mov edx, dword [ebp - 0x20]
mov esi, dword [esi + eax*8]
jmp 0x43f8d0
mov eax, dword [ebp - 0x2c]
or dword [eax + 0x1c], 0x20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004775a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret