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

Disassembly:
push 0xffffffffffffffff
push 0x45d698
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 0x41a8b7
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.00419d90
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 0x41a903
mov dword [esp + 0x48], edx
jmp 0x41a911
neg ecx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x41a91f
mov dword [esp + 0x40], edx
jmp 0x41a92d
neg eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], eax
cmp ecx, eax
jle 0x41a9a8
test ecx, ecx
jl 0x41aa19
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.00419950
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ebx, edx
add esp, 0x34
cmp ebx, eax
jle 0x41a995
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 0x41a93e
jmp 0x41aa19
test eax, eax
jl 0x41aa19
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.00419950
mov ecx, dword [esp + 0x70]
add esp, 0x34
add ebx, ecx
test ebx, ebx
jle 0x41aa08
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 0x41a9b1
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