Function at 0x41a6b0
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.00416070
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.00416070
mov ecx, esi
mov ebp, eax
call fcn.00416070
mov ecx, esi
mov ebx, eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00416070
mov ecx, esi
mov edi, eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00416070
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00416070
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ebp]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], edx
add edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], esi
add esi, ecx
cmp eax, 0x100
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
ja 0x41a7b3
mov ecx, dword [esp + 0x38]
cmp dword [eax*8 + 0x81558c], ecx
jbe 0x41a7b3
mov eax, dword [eax*8 + 0x815588]
mov esi, dword [eax + ecx*4]
test esi, esi
mov dword [esp + 0x44], esi
jne 0x41a7c0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x2c]
cmp eax, 0x100
ja 0x41a7ea
mov ecx, dword [esp + 0x24]
cmp dword [eax*8 + 0x81558c], ecx
jbe 0x41a7ea
mov edx, dword [eax*8 + 0x815588]
mov ebx, dword [edx + ecx*4]
test ebx, ebx
mov dword [esp + 0x40], ebx
jne 0x41a7f7
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
fld dword [esi + 0x24]
call fcn.004082c0
fld dword [esi + 0x28]
mov ebp, eax
call fcn.004082c0
push eax
push ebp
push 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0041bd10
add esp, 0x14
test eax, eax
jne 0x41a82b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
shl edi, 8
sub ebp, edx
add edi, eax
mov eax, dword [esi]
mov dword [esp + 0x24], edx
mov edx, dword [ebx]
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
je 0x41a87b
mov ecx, 0x2000
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
call fcn.0043d2a0
add esp, 0x10
test eax, eax
jne 0x41a8a0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov ebx, dword [ebx]
cmp dword [esi], ebx
je 0x41a8cc
push 0x10
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
call fcn.0043d2a0
add esp, 0x10
test eax, eax
jne 0x41a8de
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x41a8e2
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, edx
imul ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
neg ebx
shl ebx, 2
sub ebx, ecx
add ebx, eax
mov eax, dword [esp + 0x68]
mov ecx, edx
imul ecx, dword [esp + 0x6c]
neg eax
shl eax, 2
sub eax, ecx
add eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
test byte [esp + 0x18], 1
mov esi, edx
mov dword [esp + 0x3c], ebx
jne 0x41aa2f
test ebp, ebp
jle 0x41aba5
mov eax, dword [esp + 0x28]
mov ebp, edi
mov dword [esp + 0x3c], edx
imul edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebp
imul ebp, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
xor ecx, ecx
mov cl, ah
add eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx*4 + 0x4fcc74]
imul eax, dword [esp + 0x34]
sar eax, 0x10
jns 0x41a9c9
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
sub esi, eax
add ecx, eax
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
lea edi, [edx + edi*4]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x10]
lea esi, [ebp + eax*4]
mov eax, dword [esp + 0x18]
add esi, edi
mov edi, dword [esp + 0x20]
neg ecx
add eax, edi
shl ecx, 2
lea edi, [edx + eax*4]
mov eax, ecx
shr ecx, 2
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41aa0f
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
sub esi, eax
mov dword [esp + 0x18], esi
add esi, edi
mov edi, dword [esp + 0x7c]
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
lea edi, [edx + edi*4]
add edi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
lea esi, [ebp + esi*4]
add esi, edi
mov edi, dword [esp + 0x20]
add eax, edi
lea edi, [edx + eax*4]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add ebp, esi
add edx, ecx
dec eax
mov dword [esp + 0x28], eax
jne 0x41a94d
jmp 0x41aba5
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x41aba5
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], eax
jmp 0x41aa63
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
xor eax, eax
mov al, ch
add ecx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [eax*4 + 0x4fcc74]
imul eax, dword [esp + 0x34]
sar eax, 0x10
jns 0x41ab0b
mov edx, dword [esp + 0x10]
lea ecx, [eax + ebp]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, esi
imul ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x14]
neg eax
add edx, eax
imul edx, edi
add edx, ebp
add edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x18]
add ecx, ebx
test ebp, ebp
jle 0x41aad8
mov dword [esp + 0x20], ebp
mov ebp, dword [edx]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x20]
add edx, edi
add ecx, esi
dec ebp
mov dword [esp + 0x20], ebp
jne 0x41aac1
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add ecx, ebp
mov ebp, dword [esp + 0x10]
imul ecx, esi
mov edx, edi
imul edx, dword [esp + 0x14]
add ecx, ebp
add edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x7c]
add ecx, ebx
add edx, ebp
test eax, eax
jle 0x41ab7d
mov ebp, dword [edx]
mov dword [ecx], ebp
add edx, edi
add ecx, esi
dec eax
jne 0x41aafe
jmp 0x41ab7d
mov edx, dword [esp + 0x10]
mov ecx, esi
imul ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x14]
sub ebp, eax
add edx, ebp
imul edx, edi
add ecx, ebx
add edx, dword [esp + 0x1c]
add edx, dword [esp + 0x7c]
test eax, eax
jle 0x41ab48
mov dword [esp + 0x20], eax
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x20]
add edx, edi
add ecx, esi
dec ebx
mov dword [esp + 0x20], ebx
jne 0x41ab35
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
add eax, ecx
imul eax, esi
mov ecx, edi
imul ecx, dword [esp + 0x14]
add eax, edx
add ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
add eax, ebx
add ecx, edx
test ebp, ebp
jle 0x41ab7d
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, edi
add eax, esi
dec ebp
jne 0x41ab72
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
jne 0x41aa5f
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [esi], eax
je 0x41abcd
push eax
call fcn.0043d300
add esp, 4
test eax, eax
jne 0x41abcd
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret
mov ecx, dword [esi]
push ecx
call fcn.0043d300
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