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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov ecx, esi
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004164d0
mov ecx, esi
mov edi, eax
call fcn.004164d0
mov ecx, esi
mov ebx, eax
call fcn.004164d0
mov ecx, esi
mov ebp, eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.004164d0
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.004164d0
mov ecx, dword [esp + 0x58]
add ecx, ebp
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
add eax, ecx
add ecx, ebx
mov dword [esp + 0x74], ecx
add ebp, edi
mov ecx, esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
call fcn.004164d0
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, 0x400
mov dword [esp + 0x20], edi
ja 0x41aa32
mov ecx, dword [esp + 0x14]
cmp dword [eax*8 + 0x8c4734], ecx
jbe 0x41aa32
mov edx, dword [eax*8 + 0x8c4730]
mov esi, dword [edx + ecx*4]
test esi, esi
mov dword [esp + 0x1c], esi
jne 0x41aa3f
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x18]
cmp eax, 0x400
ja 0x41aa69
mov ecx, dword [esp + 0x7c]
cmp dword [eax*8 + 0x8c4734], ecx
jbe 0x41aa69
mov eax, dword [eax*8 + 0x8c4730]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x41aa76
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
fld dword [esi + 0x24]
call fcn.00408160
fld dword [esi + 0x28]
mov ebx, eax
call fcn.00408160
push eax
push ebx
push 0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0041c3a0
add esp, 0x14
test eax, eax
jne 0x41aaaa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
sub eax, edx
lea ebp, [eax + ebx]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x5c]
sub ecx, esi
add ebp, ecx
test edi, edi
mov dword [esp + 0x64], ebp
jg 0x41ab12
mov edi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x80]
push ebx
push edi
mov edi, dword [esp + 0x24]
push edi
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push esi
push edx
push eax
push ecx
call fcn.00419b80
add esp, 0x28
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 2
pop ebx
add esp, 0x68
ret
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [ebx]
xor ecx, ecx
cmp eax, edx
je 0x41ab2a
mov ecx, 0x2000
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.0043e110
add esp, 0x10
test eax, eax
jne 0x41ab4f
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [ebx]
cmp dword [ebp], eax
je 0x41ab7c
push 0x10
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0043e110
add esp, 0x10
test eax, eax
jne 0x41ab8e
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x41ab92
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x68]
mov edx, eax
imul edx, dword [esp + 0x6c]
neg ecx
shl ecx, 2
sub ecx, edx
mov edx, dword [esp + 0x54]
add ecx, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
imul eax, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x58]
neg ecx
shl ecx, 2
sub ecx, eax
add ecx, edx
mov eax, edi
cdq
sub eax, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x64]
mov edx, eax
sar edx, 1
cmp esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x10], esi
jge 0x41ad00
mov eax, dword [esp + 0x60]
jmp 0x41ac01
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
add esi, edi
cmp esi, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], esi
jl 0x41ac17
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x7c], ecx
jl 0x41ac24
lea esi, [ecx - 1]
mov dword [esp + 0x7c], esi
mov ebx, dword [esp + 0x58]
mov esi, ebx
cmp esi, eax
jge 0x41ace2
mov ecx, dword [esp + 0x7c]
imul ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
jmp 0x41ac49
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
lea ecx, [ecx + edx*4]
mov ebp, dword [ecx + esi]
add edx, edi
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x41ac64
lea edx, [eax - 1]
mov dword [esp + 0x18], edx
lea ecx, [ebx + edi]
cmp ecx, eax
mov dword [esp + 0x40], ecx
jle 0x41ac73
mov edi, eax
sub edi, ebx
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
jge 0x41acca
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
mov edx, esi
sub edx, ecx
mov ecx, dword [esp + 0x58]
add edx, eax
imul edx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push ebp
add ecx, edx
lea edx, [ecx + eax*4]
push edi
push edx
call dword [0xd08bf0]
mov eax, dword [esp + 0x20]
add esp, 0xc
inc esi
cmp esi, eax
jl 0x41ac7f
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
jmp 0x41acce
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jl 0x41ac41
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x44]
add ebx, edi
cmp edx, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x10], edx
jl 0x41abfd
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
cmp dword [ebp], eax
je 0x41ad21
push eax
call fcn.0043e170
add esp, 4
test eax, eax
jne 0x41ad21
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [ebp]
push eax
call fcn.0043e170
add esp, 4
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 2
pop ebx
add esp, 0x68
ret