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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, edx
sub ecx, edi
sub eax, ebp
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x43f283
mov dword [esp + 0x10], ecx
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x43f32e
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43f2c7
mov eax, dword [esp + 0x38]
mov edi, ebp
sub eax, ebp
mov dword [esp + 0x34], eax
jmp 0x43f2a9
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x78]
add eax, edi
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43f2c3
mov eax, dword [esp + 0x10]
inc ebx
inc edi
cmp ebx, eax
jl 0x43f2a5
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edi, ebx
mov dword [esp + 0x38], edi
sub eax, ebx
add ebp, ebx
xor edi, edi
test eax, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x10], eax
jle 0x43f314
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
sub eax, ecx
lea ebx, [ecx - 1]
mov dword [esp + 0x20], eax
jmp 0x43f2fa
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x78]
add eax, ebx
push eax
push ebx
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43f314
mov eax, dword [esp + 0x10]
inc edi
dec ebx
cmp edi, eax
jl 0x43f2f6
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
sub ecx, edi
sub eax, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov edx, ecx
cmp edx, ebp
je 0x43f605
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x43f625
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x74]
sub edi, ebp
sub edi, eax
mov eax, dword [esp + 0x3c]
mov dword [edx + ecx*4], ebp
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x70]
add edi, eax
add ecx, edi
mov dword [esp + 0x14], edi
or ebp, 0xffffffff
mov dword [edx + ecx*4], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x18], ebp
cmp eax, ecx
jge 0x43f787
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x43f787
cmp ebp, eax
jg 0x43f464
cmp ebp, dword [esp + 0x18]
je 0x43f3c1
cmp ebp, dword [esp + 0x10]
jge 0x43f3b2
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x74]
add eax, ebp
mov edx, dword [ecx + eax*4 - 4]
mov edi, dword [ecx + eax*4 + 4]
cmp edx, edi
jl 0x43f3c1
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x74]
add eax, ebp
mov edi, dword [ecx + eax*4 - 4]
inc edi
jmp 0x43f3cd
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x74]
add edx, ebp
mov edi, dword [eax + edx*4 + 4]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebx, edi
sub ebx, ebp
sub ebx, edx
add ebx, ecx
cmp edi, eax
jge 0x43f403
cmp ebx, dword [esp + 0x40]
jge 0x43f403
mov ecx, dword [esi + 0x78]
push ebx
push edi
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43f403
mov eax, dword [esp + 0x3c]
inc edi
inc ebx
cmp edi, eax
jl 0x43f3e5
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x14]
add eax, ebp
push edx
mov dword [ecx + eax*4], edi
call fcn.0043ef50
add esp, 4
test eax, eax
je 0x43f451
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, eax
cmp ebp, ecx
jle 0x43f451
mov edx, dword [esp + 0x10]
add edx, eax
cmp ebp, edx
jge 0x43f451
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
add eax, ebp
shl eax, 2
mov ecx, dword [ecx + eax]
cmp ecx, dword [eax + edx]
jge 0x43f58f
mov eax, dword [esp + 0x10]
add ebp, 2
cmp ebp, eax
jle 0x43f392
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, edi
lea ecx, [eax + edi]
mov dword [esp + 0x2c], edx
cmp edx, ecx
mov ebp, edx
mov dword [esp + 0x28], ecx
jg 0x43f57c
mov eax, dword [esi + 0x4c]
mov ebx, eax
neg ebx
cmp ebp, ebx
jl 0x43f571
cmp ebp, eax
jg 0x43f57c
cmp ebp, ecx
je 0x43f4c0
cmp ebp, edx
jle 0x43f4b4
mov edx, dword [esi + 0x70]
lea ecx, [eax + ebp]
mov edi, dword [edx + ecx*4 + 4]
mov ebx, dword [edx + ecx*4 - 4]
cmp edi, ebx
jg 0x43f4c0
mov ecx, dword [esi + 0x70]
add eax, ebp
mov edi, dword [ecx + eax*4 + 4]
dec edi
jmp 0x43f4c9
mov edx, dword [esi + 0x70]
add eax, ebp
mov edi, dword [edx + eax*4 - 4]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, edi
sub ebx, ebp
sub ebx, eax
add ebx, edx
cmp edi, eax
jle 0x43f523
lea eax, [edi - 1]
lea ecx, [ebx - 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp ebx, dword [esp + 0x38]
jle 0x43f523
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x78]
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test eax, eax
je 0x43f523
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
dec edi
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
dec ebx
dec ecx
cmp edi, eax
mov dword [esp + 0x20], ecx
jg 0x43f4eb
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x70]
mov eax, dword [esp + 0x14]
add ecx, ebp
push eax
mov dword [edx + ecx*4], edi
call fcn.0043ef50
add esp, 4
test eax, eax
jne 0x43f565
cmp ebp, dword [esp + 0x18]
jl 0x43f565
cmp ebp, dword [esp + 0x10]
jg 0x43f565
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
add eax, ebp
shl eax, 2
mov ecx, dword [ecx + eax]
cmp ecx, dword [eax + edx]
jge 0x43f641
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
add ebp, 2
cmp ebp, ecx
jle 0x43f483
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
inc eax
dec ebp
mov dword [esp + 0x10], eax
jmp 0x43f370
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edi
cmp edi, eax
mov dword [esp + 0x2c], ebx
jle 0x43f5d5
lea edx, [ebx - 1]
lea ebp, [edi - 1]
mov dword [esp + 0x20], edx
cmp ebx, dword [esp + 0x38]
jle 0x43f5d5
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x20]
push edx
push ebp
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x43f5d5
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
dec edi
dec ebp
dec ebx
dec ecx
cmp edi, eax
mov dword [esp + 0x20], ecx
jg 0x43f5a9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
push edi
push eax
push ecx
mov ecx, esi
call fcn.0043f250
test eax, eax
je 0x43f787
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
jmp 0x43f261
mov ecx, dword [esp + 0x40]
push 0
push ecx
push edx
push edi
push ebp
mov ecx, esi
call fcn.00440440
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
push 1
push eax
push edx
push edi
push ebp
mov ecx, esi
call fcn.00440440
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
cmp dword [esp + 0x10], 1
jne 0x43f731
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x43f67f
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00440440
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
cmp eax, 0xfffffffe
jne 0x43f6af
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 3
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00440440
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
lea eax, [edi + 1]
cmp eax, ebx
jne 0x43f6e1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push 4
push ecx
push ebx
push edx
push edi
mov ecx, esi
call fcn.00440440
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov ecx, dword [esi + 0x78]
mov ebp, dword [esp + 0x38]
push ebp
push eax
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43f712
mov eax, dword [esp + 0x40]
push 6
push eax
push ebx
push ebp
push edi
mov ecx, esi
call fcn.00440440
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov ecx, dword [esp + 0x40]
push 5
push ecx
push ebx
push ebp
push edi
mov ecx, esi
call fcn.00440440
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
push edi
push edx
push eax
mov ecx, esi
call fcn.0043f250
test eax, eax
je 0x43f787
mov ebp, dword [esp + 0x3c]
cmp edi, ebp
jge 0x43f76a
cmp ebx, dword [esp + 0x40]
jge 0x43f76a
mov ecx, dword [esi + 0x78]
push ebx
push edi
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43f76a
inc edi
inc ebx
cmp edi, ebp
jl 0x43f750
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
push ebp
push ebx
push edi
call fcn.0043f250
pop edi
pop esi
pop ebp
mov dword [esp + 0x18], eax
pop ebx
add esp, 0x20
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10