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

Disassembly:
push 0xffffffffffffffff
push 0x45d6b8
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 0x41c117
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.0041b630
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 0x41c163
mov dword [esp + 0x48], edx
jmp 0x41c171
neg ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x41c17f
mov dword [esp + 0x40], edx
jmp 0x41c18d
neg eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], eax
cmp ecx, eax
jle 0x41c208
test ecx, ecx
jl 0x41c279
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.0041b1f0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ebx, edx
add esp, 0x34
cmp ebx, eax
jle 0x41c1f5
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 0x41c19e
jmp 0x41c279
test eax, eax
jl 0x41c279
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.0041b1f0
mov ecx, dword [esp + 0x70]
add esp, 0x34
add ebx, ecx
test ebx, ebx
jle 0x41c268
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 0x41c211
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