Function at 0x43f790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x94]
xor edx, edx
div dword [ebx + 0x98]
or byte [ebx + 0x14], 4
mov ecx, dword [ecx + 0x18]
push esi
mov esi, dword [ebx + 0x18]
push edi
mov dword [ebp - 0xc], 0
mov edx, eax
lea eax, [ecx - 1]
lea edi, [edx - 1]
not edi
and edi, eax
inc edi
mov dword [ebp - 0x18], edi
cmp ecx, esi
jbe 0x43f7df
sub ecx, edi
inc ecx
mov dword [ebp - 4], ecx
jmp 0x43f7f7
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jbe 0x43f7f2
mov ecx, esi
sub ecx, edi
inc ecx
mov dword [ebp - 4], ecx
jmp 0x43f7f7
mov ecx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x43f9c4
mov esi, edi
jmp 0x43f810
cmp dword [ebp - 0xc], 0
jne 0x43f9c4
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x18]
je 0x43f89b
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x43f89b
push esi
push eax
call fcn.0044d840
add esp, 8
test eax, eax
je 0x43f898
mov eax, dword [ebx + 0xd4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x4d7c70]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x43f874
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xd4]
cmp dword [eax], 0
jne 0x43f86d
push ecx
push esi
push edx
call fcn.004424a0
add esp, 0xc
jmp 0x43f874
inc dword [edx + 0xc]
inc word [eax + 0x1e]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43f8f1
test byte [eax + 0x1c], 8
mov ecx, dword [ebp - 8]
mov edx, 1
cmovne ecx, edx
push eax
mov dword [ebp - 8], ecx
call fcn.00467ab0
add esp, 4
jmp 0x43f8f1
mov ecx, dword [ebp - 4]
mov eax, dword [0x4d7bec]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp esi, eax
je 0x43f8f4
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xcc]
push esi
push ebx
call eax
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x43f8f1
push dword [ebp - 0x10]
call fcn.00440a70
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, 1
test byte [eax + 0x1c], 8
push eax
cmovne ecx, edx
mov dword [ebp - 8], ecx
call fcn.00467ab0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
inc eax
inc esi
mov dword [ebp - 0x14], eax
cmp eax, ecx
jl 0x43f810
cmp dword [ebp - 0xc], 0
jne 0x43f9c4
mov eax, dword [ebp - 8]
test eax, eax
je 0x43f9c4
lea esp, [esp]
mov eax, dword [ebx + 0xd4]
push 0
push edi
push dword [eax + 0x2c]
call dword [0x4d7c70]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x43f9b7
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xd4]
cmp dword [eax], 0
jne 0x43f956
push ecx
push edi
push edx
call fcn.004424a0
add esp, 0xc
jmp 0x43f95d
inc dword [edx + 0xc]
inc word [eax + 0x1e]
test eax, eax
je 0x43f9b7
or word [eax + 0x1c], 8
test byte [eax + 0x1c], 0x20
je 0x43f9ae
mov edx, dword [eax + 0x14]
dec dword [edx + 0x78]
mov ecx, dword [edx + 0x88]
mov dword [eax + 0x10], ecx
mov esi, dword [edx + 0x3c]
mov dword [edx + 0x88], eax
push dword [eax + 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [edx + 0x98]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a7fd0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [ebp - 0x18]
add esp, 0x10
jmp 0x43f9b7
push eax
call fcn.00468980
add esp, 4
inc edi
dec dword [ebp - 4]
mov dword [ebp - 0x18], edi
jne 0x43f920
and byte [ebx + 0x14], 0xfb
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret