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

Disassembly:
push 0xffffffffffffffff
push 0x4a25f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
lea ecx, [esp + 8]
xor ebx, ebx
call fcn.00427780
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebx
cmp ebp, ebx
jg 0x42d6a7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call fcn.0042cbc0
add esp, 0x30
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00427790
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0x18
ret
lea eax, [ebp + 1]
push edi
mov ecx, eax
push esi
imul ecx, eax
shl ecx, 1
push ecx
lea ecx, [esp + 0x14]
call fcn.004277b0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub eax, esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, ebp
sub ecx, edi
cdq
sub eax, edx
mov dword [esp + 0x3c], ecx
sar eax, 1
sub edi, eax
sub esi, eax
test ecx, ecx
mov edx, 1
jl 0x42d6f3
mov dword [esp + 0x48], edx
jmp 0x42d701
neg ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x42d70f
mov dword [esp + 0x40], edx
jmp 0x42d71d
neg eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], eax
cmp ecx, eax
jle 0x42d798
test ecx, ecx
jl 0x42d809
inc ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
lea eax, [ebp + esi]
push edx
mov edx, dword [esp + 0x48]
lea ecx, [ebp + edi]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push esi
push edi
lea eax, [esp + 0x30]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.0042c780
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ebx, edx
add esp, 0x34
cmp ebx, eax
jle 0x42d785
sub ebx, eax
mov eax, dword [esp + 0x40]
add esi, eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add edi, ecx
dec eax
mov dword [esp + 0x4c], eax
jne 0x42d72e
jmp 0x42d809
test eax, eax
jl 0x42d809
inc eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
lea edx, [ebp + esi]
push ecx
mov ecx, dword [esp + 0x48]
lea eax, [ebp + edi]
push edx
push eax
mov eax, dword [esp + 0x4c]
push esi
push edi
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.0042c780
mov ecx, dword [esp + 0x70]
add esp, 0x34
add ebx, ecx
test ebx, ebx
jle 0x42d7f8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
sub ebx, ecx
add edi, eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
add esi, ecx
dec eax
mov dword [esp + 0x4c], eax
jne 0x42d7a1
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00427790
mov ecx, dword [esp + 0x1c]
pop esi
pop edi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret