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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f37f6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00537880
fst qword [esp + 0x4c]
movq xmm0, qword [edi + 0x100]
fldz
movq xmm1, qword [edi + 0xd0]
movq xmm2, qword [edi + 0xd8]
movq xmm3, qword [edi + 0xe0]
movq xmm4, qword [edi + 0xe8]
movq xmm5, qword [edi + 0xf0]
movq xmm6, qword [edi + 0xf8]
movq qword [esp + 0xec], xmm0
movq xmm0, qword [edi + 0x108]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [edi + 0x110]
fcompi st(1)
fstp st(0)
lea ebx, [edi + 0xb8]
movsd qword [esp + 0x8c], xmm1
movsd qword [esp + 0x94], xmm2
movsd qword [esp + 0x9c], xmm3
movsd qword [esp + 0x74], xmm4
movsd qword [esp + 0x7c], xmm5
movsd qword [esp + 0x84], xmm6
movq qword [esp + 0xfc], xmm0
jbe 0x503659
movsd xmm0, qword [0x5fc740]
movsd xmm7, qword [esp + 0x4c]
xorpd xmm1, xmm0
movsd qword [esp + 0x8c], xmm1
movsd xmm1, qword [esp + 0xec]
xorpd xmm1, xmm0
movsd qword [esp + 0xec], xmm1
movsd xmm1, qword [esp + 0xf4]
xorpd xmm1, xmm0
movsd qword [esp + 0xf4], xmm1
movsd xmm1, qword [esp + 0xfc]
xorpd xmm7, xmm0
xorpd xmm2, xmm0
xorpd xmm3, xmm0
xorpd xmm4, xmm0
xorpd xmm5, xmm0
xorpd xmm6, xmm0
xorpd xmm1, xmm0
movsd qword [esp + 0x4c], xmm7
movsd qword [esp + 0x94], xmm2
movsd qword [esp + 0x9c], xmm3
movsd qword [esp + 0x74], xmm4
movsd qword [esp + 0x7c], xmm5
movsd qword [esp + 0x84], xmm6
movsd qword [esp + 0xfc], xmm1
mov al, byte [edi + 0x38]
test al, al
je 0x503730
push 1
push 3
push 9
mov ecx, esi
call fcn.004fbb00
cmp byte [esi + 4], 0
jne 0x503691
xor al, al
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x8c]
mulsd xmm1, xmm0
movsd qword [esp + 0x8c], xmm1
movsd xmm1, qword [esp + 0x94]
mulsd xmm1, xmm0
movsd qword [esp + 0x94], xmm1
movsd xmm1, qword [esp + 0x9c]
mulsd xmm1, xmm0
movsd qword [esp + 0x9c], xmm1
movsd xmm1, qword [esp + 0x74]
mulsd xmm1, xmm0
movsd qword [esp + 0x74], xmm1
movsd xmm1, qword [esp + 0x7c]
lea eax, [esp + 0x74]
mulsd xmm1, xmm0
push eax
lea ecx, [esp + 0x90]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0x88]
push ecx
mulsd xmm1, xmm0
push ebx
mov ecx, esi
mov byte [esi + 0x38], 1
movsd qword [esp + 0x90], xmm1
call fcn.00503130
jmp 0x50412a
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x180]
call fcn.004e3930
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x178]
call fcn.004e3c60
fld qword [edi + 0x10]
fld qword [edi + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
fstp qword [esp + 0x1c]
sub esp, 8
lea ecx, [esp + 0xac]
fstp qword [esp]
push ecx
mov ecx, edi
call edx
fld qword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
sub esp, 8
lea ecx, [esp + 0xc4]
fstp qword [esp]
push ecx
mov ecx, edi
call edx
xorps xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0xa4]
subsd xmm0, qword [ebx]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0xac]
subsd xmm0, qword [ebx + 8]
lea eax, [esp + 0x1bc]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0xb4]
subsd xmm0, qword [ebx + 0x10]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x3c]
movsd qword [esp + 0x4c], xmm0
call fcn.004a8910
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x58]
call fcn.004a84e0
movsd xmm0, qword [esp + 0xbc]
subsd xmm0, qword [ebx]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0xc4]
subsd xmm0, qword [ebx + 8]
lea eax, [esp + 0x1bc]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0xcc]
subsd xmm0, qword [ebx + 0x10]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x3c]
movsd qword [esp + 0x4c], xmm0
call fcn.004a8910
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x68]
call fcn.004a84e0
fld qword [0x5ff770]
sub esp, 8
lea ecx, [esp + 0x6c]
fstp qword [esp]
call fcn.004a8a50
fstp qword [esp + 0x1c]
fld qword [0x5ff770]
sub esp, 8
lea ecx, [esp + 0x5c]
fstp qword [esp]
call fcn.004a8a50
fsubr qword [esp + 0x1c]
fst qword [esp + 0x1c]
fldz
fcompi st(1)
fstp st(0)
jbe 0x5038da
movsd xmm1, qword [0x616648]
addsd xmm1, qword [esp + 0x1c]
movsd qword [esp + 0x1c], xmm1
jmp 0x5038e0
movsd xmm1, qword [esp + 0x1c]
movsd xmm0, qword [0x5ff700]
movsd xmm2, qword [0x5fcc48]
movapd xmm3, xmm0
mulsd xmm3, qword [0x5fcc60]
divsd xmm3, xmm2
comisd xmm3, xmm1
mov ecx, esi
jbe 0x503a9f
push 9
push 3
push 3
call fcn.004fbb00
mov eax, dword [esi + 0xb4]
xorps xmm0, xmm0
movsd qword [eax + 0x10], xmm0
mov ecx, dword [esi + 0xb4]
movsd qword [ecx + 8], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx], xmm0
mov eax, dword [esi + 0xb4]
movsd xmm0, qword [0x5fb270]
movsd qword [eax + 0x28], xmm0
mov ecx, dword [esi + 0xb4]
movsd qword [ecx + 0x20], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 0x18], xmm0
mov eax, dword [esi + 0xa8]
movsd qword [eax + 0x10], xmm0
mov ecx, dword [esi + 0xa8]
movsd qword [ecx], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xa4]
mov byte [esi + 0x38], 0
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xac]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [eax + 0x10], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xbc]
add eax, 0x30
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xcc]
lea edx, [esp + 0x64]
movq qword [eax + 0x10], xmm0
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004cb500
movsd xmm0, qword [esp + 0x40]
add esp, 0xc
movsd qword [esp + 0x1c], xmm0
movsd xmm0, qword [esp + 0x3c]
lea edx, [esp + 0x174]
push edx
lea eax, [esp + 0xd8]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x24]
movsd qword [esp + 0x34], xmm0
call fcn.004a8910
fld qword [esp + 0x4c]
movsd xmm0, qword [ebx]
mov eax, dword [esi + 0x9c]
movsd xmm1, qword [esp + 0xdc]
addsd xmm1, qword [ebx + 8]
movsd xmm2, qword [esp + 0xe4]
addsd xmm2, qword [ebx + 0x10]
addsd xmm0, qword [esp + 0xd4]
add eax, 0x18
sub esp, 8
movq qword [eax], xmm0
fstp qword [esp]
movq qword [eax + 8], xmm1
lea ecx, [esp + 0x6c]
push ecx
movq qword [eax + 0x10], xmm2
mov ebx, dword [esi + 0xa8]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x44]
push eax
add ebx, 8
call fcn.004cb590
fstp qword [ebx]
add esp, 0x14
jmp 0x504123
mulsd xmm0, qword [0x5fd500]
divsd xmm0, xmm2
comisd xmm0, xmm1
push 1
push 3
jbe 0x503d8c
push 5
call fcn.004fbb00
cmp byte [esi + 4], 0
je 0x503677
mov ecx, dword [esi + 0xb4]
xorps xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 8], xmm0
mov eax, dword [esi + 0xb4]
movsd qword [eax], xmm0
mov ecx, dword [esi + 0xb4]
movsd xmm0, qword [0x5fb9c8]
movsd qword [ecx + 0x20], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 0x18], xmm0
mov eax, dword [esi + 0xb4]
movsd xmm0, qword [0x5fb270]
movsd qword [eax + 0x38], xmm0
mov ecx, dword [esi + 0xb4]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 0x28], xmm0
mov eax, dword [esi + 0xa8]
movsd qword [eax + 0x20], xmm0
mov ecx, dword [esi + 0xa8]
movsd qword [ecx + 0x10], xmm0
mov edx, dword [esi + 0xa8]
movsd qword [edx], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xa4]
mov byte [esi + 0x38], 0
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xac]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [eax + 0x10], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xbc]
add eax, 0x60
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xcc]
push 5
lea ecx, [esp + 0x38]
movq qword [eax + 0x10], xmm0
call fcn.00412cb0
lea ecx, [esp + 0x154]
mov dword [esp + 0x240], 0
call fcn.004ac260
movsd xmm0, qword [esp + 0x1c]
mulsd xmm0, qword [0x5fb9c8]
sub esp, 8
lea ecx, [esp + 0x15c]
movsd qword [esp], xmm0
call fcn.004ac2f0
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004a77a0
mov edi, dword [esp + 0x34]
movq xmm0, qword [esp + 0x1c]
add edi, 0x20
push edi
lea edx, [esp + 0x58]
movq qword [edi], xmm0
movq xmm0, qword [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
movq qword [edi + 8], xmm0
call fcn.004cb500
mov ecx, dword [esp + 0x40]
movq xmm0, qword [eax]
add ecx, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
lea ecx, [esp + 0x70]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
call fcn.004cb500
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x4c]
movq qword [ecx + 0x30], xmm0
movq xmm0, qword [eax + 8]
lea eax, [ecx + 0x10]
movq qword [ecx + 0x38], xmm0
add esp, 0x18
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], eax
jmp 0x503c97
mov eax, dword [esp + 0x18]
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax]
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x108]
movsd qword [esp + 0xe0], xmm0
xorps xmm0, xmm0
push ecx
lea ecx, [esp + 0xdc]
movsd qword [esp + 0xdc], xmm1
movsd qword [esp + 0xec], xmm0
call fcn.004a8910
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [ebx]
movsd xmm1, qword [esp + 0x10c]
movsd xmm2, qword [esp + 0x114]
addsd xmm0, qword [esp + 0x104]
addsd xmm1, qword [ebx + 8]
addsd xmm2, qword [ebx + 0x10]
add dword [esp + 0x18], 0x10
add eax, ecx
add ecx, 0x18
cmp ecx, 0x60
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
movq qword [eax + 0x10], xmm2
mov dword [esp + 0x1c], ecx
jl 0x503c93
fld qword [esp + 0x4c]
mov eax, dword [esp + 0x34]
mov ebx, dword [esi + 0xa8]
sub esp, 8
fstp qword [esp]
push edi
lea edx, [esp + 0x60]
push edx
add eax, 0x10
push eax
add ebx, 8
call fcn.004cb590
fstp qword [ebx]
fld qword [esp + 0x60]
mov ebx, dword [esi + 0xa8]
add esp, 0xc
fstp qword [esp]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x30
push edi
push eax
add ebx, 0x18
call fcn.004cb590
fstp qword [ebx]
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x504117
push 7
call fcn.004fbb00
cmp byte [esi + 4], 0
je 0x503677
mov edx, dword [esi + 0xb4]
xorps xmm0, xmm0
movsd qword [edx + 0x10], xmm0
mov eax, dword [esi + 0xb4]
movsd qword [eax + 8], xmm0
mov ecx, dword [esi + 0xb4]
movsd qword [ecx], xmm0
mov edx, dword [esi + 0xb4]
movsd xmm0, qword [0x5fc980]
movsd qword [edx + 0x20], xmm0
mov eax, dword [esi + 0xb4]
movsd qword [eax + 0x18], xmm0
mov ecx, dword [esi + 0xb4]
movsd xmm0, qword [0x5fdb88]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 0x28], xmm0
mov eax, dword [esi + 0xb4]
movsd xmm0, qword [0x5fb270]
movsd qword [eax + 0x48], xmm0
mov ecx, dword [esi + 0xb4]
movsd qword [ecx + 0x40], xmm0
mov edx, dword [esi + 0xb4]
movsd qword [edx + 0x38], xmm0
mov eax, dword [esi + 0xa8]
movsd qword [eax + 0x30], xmm0
mov ecx, dword [esi + 0xa8]
movsd qword [ecx + 0x20], xmm0
mov edx, dword [esi + 0xa8]
movsd qword [edx + 0x10], xmm0
mov eax, dword [esi + 0xa8]
movsd qword [eax], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xa4]
mov byte [esi + 0x38], 0
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xac]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [eax + 0x10], xmm0
mov eax, dword [esi + 0x9c]
movq xmm0, qword [esp + 0xbc]
add eax, 0x90
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xcc]
push 7
lea ecx, [esp + 0x38]
movq qword [eax + 0x10], xmm0
call fcn.00412cb0
lea ecx, [esp + 0x134]
mov dword [esp + 0x240], 1
call fcn.004ac260
movsd xmm0, qword [esp + 0x1c]
divsd xmm0, qword [0x5fcc48]
sub esp, 8
lea ecx, [esp + 0x13c]
movsd qword [esp], xmm0
call fcn.004ac2f0
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x5c]
call fcn.004a77a0
mov edi, dword [esp + 0x34]
movq xmm0, qword [esp + 0x1c]
lea eax, [esp + 0x134]
add edi, 0x20
push eax
lea ecx, [esp + 0x20]
movq qword [edi], xmm0
movq xmm0, qword [esp + 0x28]
push ecx
mov ecx, edi
movq qword [edi + 8], xmm0
call fcn.004a77a0
mov eax, dword [esp + 0x34]
add eax, 0x40
movq xmm0, qword [esp + 0x1c]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x24]
push edi
lea edx, [esp + 0x58]
movq qword [eax + 8], xmm0
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004cb500
mov ecx, dword [esp + 0x40]
movq xmm0, qword [eax]
movq qword [ecx + 0x10], xmm0
movq xmm0, qword [eax + 8]
lea eax, [ecx + 0x40]
push eax
movq qword [ecx + 0x18], xmm0
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.004cb500
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x4c]
movq qword [ecx + 0x30], xmm0
movq xmm0, qword [eax + 8]
lea edx, [esp + 0x7c]
push edx
lea eax, [ecx + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
movq qword [ecx + 0x38], xmm0
call fcn.004cb500
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x58]
movq qword [ecx + 0x50], xmm0
movq xmm0, qword [eax + 8]
lea eax, [ecx + 0x10]
movq qword [ecx + 0x58], xmm0
add esp, 0x24
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x18], eax
jmp 0x503ff4
mov eax, dword [esp + 0x18]
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax]
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0x120]
movsd qword [esp + 0x110], xmm0
xorps xmm0, xmm0
push edx
lea ecx, [esp + 0x10c]
movsd qword [esp + 0x10c], xmm1
movsd qword [esp + 0x11c], xmm0
call fcn.004a8910
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [ebx]
movsd xmm1, qword [esp + 0x124]
movsd xmm2, qword [esp + 0x12c]
addsd xmm0, qword [esp + 0x11c]
addsd xmm1, qword [ebx + 8]
addsd xmm2, qword [ebx + 0x10]
add dword [esp + 0x18], 0x10
add eax, ecx
add ecx, 0x18
cmp ecx, 0x90
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
movq qword [eax + 0x10], xmm2
mov dword [esp + 0x1c], ecx
jl 0x503ff0
fld qword [esp + 0x4c]
mov ebx, dword [esi + 0xa8]
sub esp, 8
fstp qword [esp]
push edi
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x10
push eax
add ebx, 8
call fcn.004cb590
fstp qword [ebx]
mov eax, dword [esp + 0x48]
fld qword [esp + 0x60]
mov ebx, dword [esi + 0xa8]
fstp qword [esp + 0xc]
add esp, 0xc
lea ecx, [eax + 0x40]
push ecx
add eax, 0x30
push edi
push eax
add ebx, 0x18
call fcn.004cb590
fstp qword [ebx]
fld qword [esp + 0x60]
mov eax, dword [esp + 0x48]
mov edi, dword [esi + 0xa8]
fstp qword [esp + 0xc]
add esp, 0xc
lea ecx, [esp + 0x6c]
add eax, 0x40
push ecx
push eax
mov eax, dword [esp + 0x44]
add eax, 0x50
push eax
add edi, 0x28
call fcn.004cb590
fstp qword [edi]
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.MSVCR90.dll_free]
mov edi, dword [ebp + 8]
add esp, 0x18
mov ecx, esi
call fcn.004ff230
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov al, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4