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

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x48]
push esi
lea eax, [ebx + ebx]
cmp ebp, eax
mov eax, 0xaaaaaaab
push edi
jl 0x10043f27
lea ecx, [ebp - 1]
mul ecx
mov esi, edx
shr esi, 2
jmp 0x10043f30
lea ecx, [ebx - 1]
mul ecx
mov esi, edx
shr esi, 1
lea edi, [esi + 1]
lea eax, [edi + edi*4]
sub ebp, eax
lea edx, [edi + edi*4]
lea eax, [edi + edi]
shl edx, 2
sub ebx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi*2]
push eax
push 2
push ebp
push edi
push dword [esp + 0x5c]
shl ecx, 2
add edx, eax
mov dword [esp + 0x48], ecx
add ecx, eax
push 5
mov dword [esp + 0x2c], edx
add edx, 8
push ecx
push edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ecx
call fcn.10048520
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
push 2
mov dword [esp + 0x44], eax
lea eax, [ecx + edi*4]
push edi
lea ecx, [edi*4]
mov dword [esp + 0x44], eax
push eax
add ecx, ebp
push ebp
mov dword [esp + 0x6c], ecx
call section..text
mov ecx, dword [esp + 0x78]
mov dword [ebp + edi*4], eax
add ecx, 0xc
mov eax, dword [esp + 0x84]
add ebp, 0xc
push 4
push ebx
lea edx, [eax + edi*8]
lea eax, [edi + edi*2]
mov dword [esp + 0x60], edx
shl eax, 3
add ebp, eax
mov dword [esp + 0x64], eax
lea eax, [edi + edi*2]
add eax, eax
mov dword [esp + 0x70], eax
add eax, ebx
push edx
push ebp
lea eax, [ecx + eax*4]
mov dword [esp + 0x70], eax
call section..text
mov ecx, dword [esp + 0x70]
add esp, 0x40
mov dword [ecx], eax
lea eax, [edi*8]
mov ecx, dword [esp + 0x48]
sub eax, edi
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x10044021
push edi
push dword [esp + 0x58]
push ebp
push ebp
call fcn.10001200
mov edx, dword [esp + 0x28]
add esp, 0x10
add dword [edx + 0xc], eax
jmp 0x1004403b
lea eax, [ebx + 1]
push eax
push ebp
push edi
push dword [esp + 0x60]
push ebp
call fcn.100425f0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x48]
lea edx, [edi + 1]
push edx
mov eax, edi
shl eax, 4
push ecx
add eax, 4
add eax, ecx
push ebp
push eax
mov dword [esp + 0x20], eax
call fcn.10044360
xor dword [esp + 0x30], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x24]
push dword [esp + 0x70]
push dword [esp + 0x64]
call fcn.10042010
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x7c]
add eax, 4
add ecx, eax
lea eax, [edi + 1]
push eax
mov eax, dword [esp + 0x38]
push ebp
add eax, 8
mov dword [esp + 0x5c], ecx
push eax
push ecx
call fcn.10042010
push 4
push 2
push edi
push dword [esp + 0x5c]
lea eax, [edi*2 + 1]
push dword [esp + 0x88]
push eax
push dword [esp + 0x7c]
call fcn.10048400
mov eax, dword [esp + 0x60]
add esp, 0x4c
add eax, 8
push dword [esp + 0x48]
push dword [esp + 0x54]
push edi
push dword [esp + 0x58]
push 5
push dword [esp + 0x6c]
push eax
call fcn.10047a70
mov ecx, dword [esp + 0x48]
push ebx
push dword [esp + 0x48]
mov dword [esp + 0x48], eax
add ecx, 8
mov eax, dword [esp + 0x80]
push edi
push dword [esp + 0x7c]
add eax, ecx
push eax
mov dword [esp + 0x50], eax
call fcn.100425f0
push edi
push dword [esp + 0x50]
mov dword [esp + 0x64], eax
push dword [esp + 0x58]
push ebp
call fcn.10001200
mov ecx, dword [esp + 0x58]
add esp, 0x40
mov edx, dword [esp + 0x2c]
add eax, edx
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x10044162
test esi, esi
js 0x10044162
mov ecx, dword [esp + 0x54]
lea eax, [esi + edi]
mov edx, dword [esp + 0x5c]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x38]
add eax, esi
add edx, 8
lea eax, [edx + eax*4]
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x10044244
sub eax, 4
sub ecx, 4
sub esi, 1
jns 0x10044147
push edi
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.100012b0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
sub ecx, eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov dword [eax + 4], ecx
lea eax, [edi + 1]
push eax
push dword [esp + 0x14]
push dword [esp + 0x60]
push esi
call fcn.10042010
lea eax, [edi + 1]
push eax
mov eax, dword [esp + 0x28]
push ebp
add eax, 8
push eax
push dword [esp + 0x78]
call fcn.10042010
push 0
push 0
push edi
push dword [esp + 0x50]
lea eax, [edi*2 + 1]
push esi
push eax
push dword [esp + 0x94]
call fcn.10048400
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x90]
add eax, 8
push esi
push edi
push dword [esp + 0x94]
push 5
push dword [esp + 0xa8]
push eax
call fcn.10047c50
add esp, 0x58
mov dword [esp + 0x50], eax
push 1
push edi
push dword [esp + 0x24]
push dword [esp + 0x54]
call section..text
mov ecx, dword [esp + 0x4c]
push 2
push ebx
push dword [esp + 0x40]
mov dword [ecx], eax
push ebp
call section..text
mov ecx, dword [esp + 0x50]
add esp, 0x20
mov dword [ecx], eax
cmp edi, ebx
jne 0x1004426e
push edi
push dword [esp + 0x58]
push ebp
push ebp
call fcn.10001200
mov ecx, dword [esp + 0x28]
add esp, 0x10
add dword [ecx + 0xc], eax
jmp 0x10044288
cmp edx, dword [esp + 0x38]
ja 0x10044162
push edi
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x1c]
call fcn.100012b0
not dword [esp + 0x34]
add esp, 0x10
xor ecx, ecx
jmp 0x1004417d
lea eax, [ebx + 1]
push eax
push ebp
push edi
push dword [esp + 0x60]
push ebp
call fcn.100425f0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword [ecx + 0xc], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x1c]
call fcn.10044360
xor dword [esp + 0x60], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x24]
push dword [esp + 0x70]
push dword [esp + 0x64]
call fcn.10042010
lea eax, [edi + 1]
push eax
mov eax, dword [esp + 0x38]
push ebp
add eax, 8
push eax
push dword [esp + 0x84]
call fcn.10042010
mov ebp, dword [esp + 0x78]
lea eax, [edi*2 + 1]
push 2
push 1
push edi
push dword [esp + 0x8c]
push ebp
push eax
push dword [esp + 0xa0]
call fcn.10048400
add esp, 0x4c
push edi
push dword [esp + 0x58]
push dword [esp + 0x54]
push ebp
call fcn.10042010
mov ecx, dword [esp + 0x50]
mov eax, ebx
add ecx, dword [esp + 0x5c]
cmp esi, ebx
cmovle eax, esi
push eax
mov eax, dword [esp + 0x3c]
cmovle eax, ecx
cmovle ecx, dword [esp + 0x3c]
push eax
mov eax, esi
cmovle eax, ebx
push eax
push ecx
push dword [esp + 0x38]
call fcn.100413c0
push dword [esp + 0x44]
lea eax, [ebx + esi]
push eax
push dword [esp + 0x88]
push dword [esp + 0x64]
push edi
push ebp
call fcn.10047ee0
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret