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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
fld dword [edi]
mov esi, ecx
fmul dword [0x446660]
call fcn.004354a8
fld dword [edi + 4]
fmul dword [0x446660]
mov dword [esp + 0x74], eax
call fcn.004354a8
fld dword [edi + 0x10]
fmul dword [0x446660]
mov dword [esp + 0x78], eax
call fcn.004354a8
fld dword [edi + 0x14]
fmul dword [0x446660]
mov dword [esp + 0x7c], eax
call fcn.004354a8
mov ebp, dword [esp + 0x88]
mov ecx, ebp
mov dword [esp + 0x80], eax
call fcn.004316d0
mov ecx, ebp
call fcn.00431070
movzx ebx, ax
mov ecx, ebp
mov dword [esp + 0x64], ebx
call fcn.00431090
movzx ecx, ax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x70], eax
mov eax, ebx
imul eax, eax, 0xffff
mov dword [esp + 0x4c], eax
mov eax, ecx
imul eax, ecx
mov dword [esp + 0x68], ecx
mov ecx, ebx
imul ecx, ebx
add eax, ecx
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fsqrt
call fcn.004354a8
mov edx, dword [esi + 0x3c]
mov ecx, ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], edx
call fcn.00431030
fld dword [edi + 0x30]
mov ebp, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
sub ecx, eax
mov dword [esp + 0x30], ebp
sub ebp, eax
sub eax, ebx
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
shr ebp, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
call fcn.004354a8
mov ebx, eax
mov eax, dword [esp + 0x40]
sub ebx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
fld dword [edi + 0x34]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
call fcn.004354a8
mov ecx, dword [esp + 0x40]
mov edi, dword [esi + 0x78]
sub eax, ecx
cmp ebx, edi
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ecx
jge 0x41f730
mov edx, dword [esp + 0x5c]
neg edx
cmp ebx, edx
mov dword [esp + 0x18], edx
jle 0x41f730
cmp eax, ecx
jge 0x41f730
cmp eax, edx
jle 0x41f730
xor ecx, ecx
test ebx, ebx
setl cl
dec ecx
and ecx, ebx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
test ebx, ebx
mov dword [esp + 0x38], ecx
jge 0x41f4bf
mov ecx, ebx
neg ecx
mov dword [esp + 0x10], ecx
jmp 0x41f4c7
mov dword [esp + 0x10], 0
test eax, eax
jge 0x41f4d5
mov ecx, eax
neg ecx
mov dword [esp + 0x14], ecx
jmp 0x41f4dd
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x5c]
add ecx, ebx
cmp ecx, edi
jl 0x41f4ed
mov ecx, edi
sub ecx, ebx
jmp 0x41f4f1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x5c]
lea ebx, [eax + edi]
mov edi, dword [esp + 0x40]
cmp ebx, edi
jl 0x41f506
sub edi, eax
mov eax, edi
jmp 0x41f50a
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
add edi, ebp
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
add edi, ebx
sub eax, edi
add eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x30]
imul eax, edi
mov edi, dword [esp + 0x2c]
add ecx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x88]
add eax, ebp
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
imul ecx, dword [esp + 0x3c]
add ecx, edi
mov edi, dword [esi + 0x84]
lea ecx, [edi + ecx*4]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov ebp, eax
mov dword [esp + 0x14], edi
jle 0x41f5ae
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov ecx, dword [esp + 0x40]
shl ecx, 2
mov ebx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
lea ebp, [ebp + eax*4]
dec dword [esp + 0x10]
jne 0x41f580
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x40]
mov eax, dword [esp + 0x5c]
shr ecx, 1
sub ecx, eax
cmp edx, eax
jge 0x41f6e2
imul ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov edi, edx
imul edi, dword [esp + 0x80]
mov ecx, edx
imul ecx, dword [esp + 0x7c]
mov ebp, eax
sub ebp, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebp
jmp 0x41f5f0
mov ebp, dword [esi + 0x3c]
shr ebp, 1
sub ebp, eax
cmp edx, eax
mov dword [esp + 0x1c], ebp
jge 0x41f6aa
sar edi, 0x10
mov dword [esp + 0x48], edi
mov edi, edx
imul edi, dword [esp + 0x78]
mov ebx, edx
imul ebx, dword [esp + 0x74]
sar ecx, 0x10
sub eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
mov ecx, ebx
sar ecx, 0x10
add ecx, edx
mov edx, dword [esp + 0x48]
add ecx, eax
mov eax, edi
sar eax, 0x10
add eax, edx
add eax, dword [esp + 0x70]
test ecx, ecx
jl 0x41f67e
cmp ecx, dword [esp + 0x64]
jge 0x41f67e
test eax, eax
jl 0x41f67e
cmp eax, dword [esp + 0x68]
jge 0x41f67e
imul eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x88]
sar eax, 0x10
add eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, ebp
mov ebp, dword [esp + 0x50]
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x20]
inc ebp
add edi, ecx
dec eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jne 0x41f625
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
add ebp, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
add ecx, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x34]
dec ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
jne 0x41f5f0
mov edi, dword [esp + 0x14]
fld qword [esi + 0x48]
fmul qword [0x446658]
call fcn.004354a8
mov edx, dword [esp + 0x38]
sub edi, eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x58]
mov dword [0x456d74], edx
mov edx, dword [esp + 0x44]
mov dword [0x456d70], edi
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esp + 0x60]
push ebx
push edx
push eax
push ecx
call dword [esi + 0x1814]
mov ecx, dword [esp + 0xa0]
add esp, 0x18
call fcn.004306f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8