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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x488d58
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x43e66e
cmp dword [eax], 0
je 0x43e66e
push ebx
mov ebx, dword [eax]
cmp byte [ebx + 0x3a], 0
je 0x43e37d
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp dword [eax + 0x4c], 0
jg 0x43e3aa
jl 0x43e38b
cmp dword [eax + 0x48], 0x34
jae 0x43e3aa
mov eax, dword [esp + 0x68]
push esi
push eax
call fcn.0043e160
add esp, 8
pop ebx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push edi
mov edi, dword [esp + 0x6c]
push 0x34
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push esi
push edi
call fcn.00421c70
add esp, 0x18
cmp dword [esp + 0x58], 0
je 0x43e652
lea edx, [ebx + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0042a8e0
add esp, 8
test al, al
jne 0x43e652
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esi + 0x18]
jne 0x43e652
mov edx, dword [esp + 0x54]
cmp edx, dword [esi + 0x1c]
jne 0x43e652
cmp dword [esp + 0x28], 2
jne 0x43e652
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x48]
mov esi, dword [ebx + 0x44]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 0x4c]
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x40]
mov dword [ebx + 0x4c], edx
cdq
push ebp
add ecx, eax
adc esi, edx
push edx
sub ecx, 1
push eax
sbb esi, 0
push esi
push ecx
call fcn.004726a0
mov esi, eax
lea edi, [esi + esi*4]
add edi, edi
add edi, edi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
call fcn.00450669
mov ebp, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], eax
call fcn.00434d90
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
push edx
push 0
push 0x34
push ebp
push eax
push ecx
call fcn.0041da20
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp eax, edi
jge 0x43e4d9
push ebp
call fcn.00450664
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0043e160
add esp, 0xc
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.0042a530
pop ebp
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push eax
push ebp
push 0
lea ecx, [esp + 0x28]
call fcn.00424290
push eax
call fcn.0041eaf0
push ebp
call fcn.00450664
add esp, 0x10
lea ebp, [ebx + 0x64]
push esi
mov ecx, ebp
call fcn.00434d40
xor esi, esi
cmp dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
jle 0x43e5d0
push esi
mov ecx, ebp
call fcn.0041f440
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
push esi
mov ecx, ebp
call fcn.0041f440
mov ecx, dword [ebx + 0x50]
mov dword [eax + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00424290
push esi
mov ecx, ebp
lea edi, [eax + 4]
call fcn.0041f440
mov edx, dword [edi]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0x10], ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00424290
push esi
mov ecx, ebp
lea edi, [eax + 0xc]
call fcn.0041f440
mov edx, dword [edi]
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0x18], ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00424290
mov edi, dword [eax]
neg edi
sbb edi, edi
push esi
mov ecx, ebp
and edi, 3
call fcn.0041f440
push esi
mov ecx, ebp
mov dword [eax], edi
call fcn.0041f440
cmp dword [eax], 3
jne 0x43e5bf
push esi
mov ecx, ebp
call fcn.0041f440
mov edx, dword [eax + 0x10]
cmp edx, dword [ebx + 0x4c]
jg 0x43e63b
jl 0x43e5ba
mov eax, dword [eax + 0xc]
cmp eax, dword [ebx + 0x48]
ja 0x43e63b
add dword [esp + 0x10], 1
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x43e510
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x50]
imul dword [esp + 0x10]
mov ecx, dword [ebx + 0x48]
mov ebp, eax
mov esi, edx
mov eax, edi
cdq
add ebp, eax
mov eax, dword [ebx + 0x4c]
adc esi, edx
add ebp, 0x34
adc esi, 0
cmp eax, esi
jl 0x43e63b
jg 0x43e5f8
cmp ecx, ebp
jbe 0x43e631
mov eax, dword [esp + 0x74]
push 0
push esi
push ebp
push eax
call fcn.0041db50
add esp, 0x10
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0x4c], esi
lea ecx, [esp + 0x1c]
mov byte [ebx + 0x3a], 1
call fcn.0042a530
pop ebp
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp eax, esi
jg 0x43e60f
jl 0x43e63b
cmp ecx, ebp
jae 0x43e60f
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
call fcn.0043e160
add esp, 8
jmp 0x43e4b9
push esi
push edi
call fcn.0043e160
add esp, 8
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x54]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret