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

Disassembly:
push 0xffffffffffffffff
push 0x45d678
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.00416b60
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebx
cmp ebp, ebx
jg 0x418f67
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.00418460
add esp, 0x30
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00416b70
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.00416b90
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 0x418fb3
mov dword [esp + 0x48], edx
jmp 0x418fc1
neg ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x418fcf
mov dword [esp + 0x40], edx
jmp 0x418fdd
neg eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], eax
cmp ecx, eax
jle 0x419058
test ecx, ecx
jl 0x4190c9
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.00418000
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ebx, edx
add esp, 0x34
cmp ebx, eax
jle 0x419045
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 0x418fee
jmp 0x4190c9
test eax, eax
jl 0x4190c9
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.00418000
mov ecx, dword [esp + 0x70]
add esp, 0x34
add ebx, ecx
test ebx, ebx
jle 0x4190b8
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 0x419061
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00416b70
mov ecx, dword [esp + 0x1c]
pop esi
pop edi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret