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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4125f7
sub esp, 0xbc
mov ebx, dword [esp + 0xc0]
movsd xmm0, qword [ebx + 0x60]
movsd qword [esp + 0x1c], xmm0
cvtsi2sd xmm0, dword [0x4d0fb4]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
divsd xmm0, qword [0x48ea38]
movsd qword [esp + 0x34], xmm0
mov eax, dword [0x4d3eb4]
mov dword [esp + 0x74], eax
mov eax, dword [0x4d3eb8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], 0
jl 0x4125c9
fild qword [esp + 0x6c]
fstp qword [esp + 0x7c]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [0x4d3ec4]
mov dword [esp + 0x74], eax
mov eax, dword [0x4d3ec8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jl 0x41259b
fild qword [esp + 0x5c]
fstp qword [esp + 0x64]
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
divsd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
movsd xmm0, qword [esp + 0x7c]
subsd xmm0, qword [0x48ea18]
movsd qword [esp + 0x8c], xmm0
call fcn.00422c50
movsd xmm6, qword [esp + 0x1c]
movsd xmm5, qword [esp + 0x8c]
movsd xmm4, qword [esp + 0x34]
mov edi, dword [esp + 0xc0]
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
sub ebp, dword [esp + 0x54]
sbb edx, dword [esp + 0x58]
mov ecx, edx
movsd xmm3, qword [0x48ea00]
cmp edx, 0
jl 0x412084
jg 0x411fdb
cmp ebp, 0
jbe 0x412084
movsd qword [esp + 0x7c], xmm3
mov eax, dword [edi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x58], eax
fild qword [esp + 0x54]
fstp qword [esp + 0x64]
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
mov eax, dword [0x4d0fc4]
cdq
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, ebp
mov edx, ecx
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ebp, ecx
or ebp, ebx
jne 0x412586
mul esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fstp qword [esp + 0x4c]
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x64]
divsd xmm1, xmm0
movsd qword [esp + 0x64], xmm1
movsd xmm3, qword [esp + 0x64]
addsd xmm3, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm3
movsd xmm1, qword [esp + 0x7c]
divsd xmm1, qword [0x48ea00]
movsd qword [esp + 0x7c], xmm1
movsd xmm1, qword [edi + 0x60]
movapd xmm2, xmm5
subsd xmm2, xmm1
movsd qword [esp + 0x64], xmm2
movsd xmm1, qword [esp + 0x64]
movsd xmm0, qword [esp + 0x7c]
mulsd xmm0, xmm1
movsd xmm1, qword [edi + 0x60]
movapd xmm2, xmm4
subsd xmm2, xmm1
movapd xmm1, xmm2
subsd xmm1, xmm0
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x64], xmm1
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [0x48ea08]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
addsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [edi + 0x60], xmm0
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm0, xmm1
ja 0x41256d
movsd xmm0, qword [edi + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x64], xmm4
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [0x48ea10]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm1, xmm0
ja 0x412543
mov ebx, dword [0x4d1130]
cmp ebx, 0
jle 0x41250e
mov edx, dword [0x4d3ec4]
mov ecx, dword [0x4d3ec8]
mov eax, dword [0x4d2948]
mov dword [esp + 0xb4], eax
mov eax, dword [0x4d294c]
mov dword [esp + 0xb8], eax
mov eax, dword [0x4d3eb4]
mov dword [esp + 0xac], eax
mov eax, dword [0x4d3eb8]
mov dword [esp + 0xb0], eax
movapd xmm1, xmm4
mov dword [esp + 0x9c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x78], 0
jl 0x412515
fild qword [esp + 0x74]
fstp qword [esp + 0x7c]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x64], xmm1
movsd xmm0, qword [esp + 0x64]
addsd xmm0, qword [0x48ea18]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x7c]
mulsd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
fld qword [esp + 0x7c]
fnstcw word [esp + 0xa]
mov word [esp + 8], 0xf7f
fldcw word [esp + 8]
fistp qword [esp + 0x84]
fldcw word [esp + 0xa]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa8], eax
movsd xmm2, qword [0x48ea00]
mov eax, dword [edi]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x98], eax
movsd qword [esp + 0x4c], xmm4
movsd xmm0, qword [esp + 0x4c]
subsd xmm0, xmm6
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x2c], xmm5
movsd qword [esp + 0x64], xmm5
movsd xmm0, qword [esp + 0x64]
subsd xmm0, xmm6
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x14], xmm3
movapd xmm0, xmm3
divsd xmm0, xmm2
movsd qword [esp + 0xc], xmm2
movsd qword [esp + 0x3c], xmm0
call fcn.004259c0
mov ebx, 0x4858e0
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.004263d0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.00426040
mov ebx, 0x484480
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484453
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00426040
mov ebx, 0x484476
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484458
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00426040
mov ebx, 0x48447b
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x48445d
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.004261e0
mov ebx, 0x48449e
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
movsd xmm0, qword [esp + 0x14]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x4844a3
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484467
mov dword [esp], ebx
mov dword [esp + 4], 5
call fcn.004263d0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.004261e0
mov ebx, 0x4846a3
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.004263d0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484954
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.004263d0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484869
mov dword [esp], ebx
mov dword [esp + 4], 9
call fcn.004263d0
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.00425cc0
mov ebx, 0x484313
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
call fcn.00425a40
add esp, 0xbc
ret
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
fild qword [esp + 0x74]
fld st(0)
faddp st(1)
fstp qword [esp + 0x7c]
jmp 0x4121ed
movsd qword [esp + 0x7c], xmm4
movsd xmm0, qword [esp + 0x7c]
mulsd xmm0, qword [0x48ea10]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x412171
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [edi + 0x60], xmm0
jmp 0x412171
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x412046
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
fild qword [esp + 0x5c]
fld st(0)
faddp st(1)
fstp qword [esp + 0x64]
jmp 0x411f2a
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
shrd eax, edx, 1
xor ecx, ecx
setae cl
or eax, ecx
shr edx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
fild qword [esp + 0x6c]
fld st(0)
faddp st(1)
fstp qword [esp + 0x7c]
jmp 0x411ee7
call fcn.004489b0
jmp fcn.00411e50