Function at 0x10059b40
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov eax, dword [0x10259d1c]
xor eax, esp
mov dword [esp + 0x38], eax
mov ebp, dword [0x10259f60]
movsd xmm0, qword [ebp + 0x1598]
movsd xmm1, qword [ebp + 0x10]
movaps xmm2, xmm0
addps xmm2, xmm0
cmpltps xmm2, xmm1
xorps xmm0, xmmword [0x101a87e0]
andps xmm0, xmm2
pshufd xmm2, xmm0, 0x44
xorps xmm3, xmm3
subps xmm3, xmm2
addps xmm0, xmm1
shufps xmm3, xmm0, 0x4e
movups xmmword [esp + 0x28], xmm3
mov eax, dword [ebx + 8]
test eax, 0x10000000
jne 0x10059c50
test eax, 0x4000000
jne 0x10059d22
test eax, 0x2000000
je 0x10059e00
movss xmm0, dword [ebp + 0x15a0]
movups xmmword [esp], xmm0
lea edi, [esp + 0x10]
mov ecx, edi
call fcn.1005bda0
cmp byte [ebp + 0x1b56], 0
je 0x10059dd7
movsd xmm1, qword [esp + 0x10]
movups xmm2, xmmword [esp]
mulss xmm2, dword [0x101a8d70]
shufps xmm2, xmm2, 0
addps xmm2, xmm1
movaps xmm0, xmmword [0x101a8d80]
movups xmmword [esp], xmm1
addps xmm0, xmm1
movlhps xmm0, xmm2
movups xmmword [esp + 0x18], xmm0
lea eax, [ebx + 0xa0]
lea ecx, [ebx + 0x14]
lea edx, [esp + 0x18]
lea ebp, [esp + 0x28]
push 0
push edx
push ebp
push eax
push ecx
push edi
push esi
call fcn.1005c630
add esp, 0x1c
cmp dword [ebx + 0xa0], 0xffffffff
jne 0x10059dc2
movups xmm0, xmmword [esp]
addps xmm0, xmmword [0x101a8ce0]
movlps qword [esi], xmm0
jmp 0x10059dc2
cmp dword [ebp + 0x19e4], ebx
jne 0x10059e00
mov eax, dword [ebp + 0x19c8]
mov ecx, dword [ebp + 0x19d0]
mov eax, dword [ecx + eax*4 - 8]
cmp byte [eax + 0x146], 0
je 0x10059d53
mov ecx, dword [eax + 8]
xorps xmm2, xmm2
xorps xmm0, xmm0
test cl, 1
jne 0x10059ca7
movss xmm1, dword [ebp + 0x1904]
mulss xmm1, dword [eax + 0x26c]
movss xmm0, dword [ebp + 0x153c]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [eax + 0x10]
test ecx, 0x400
je 0x10059cdc
movss xmm3, dword [ebp + 0x1904]
mulss xmm3, dword [eax + 0x26c]
addss xmm3, dword [eax + 0x14c]
movss xmm2, dword [ebp + 0x153c]
addss xmm2, xmm2
addss xmm2, xmm3
addss xmm0, xmm1
xorps xmm3, xmm3
test cl, 1
jne 0x10059d08
movss xmm4, dword [ebp + 0x1904]
mulss xmm4, dword [eax + 0x26c]
movss xmm3, dword [ebp + 0x153c]
addss xmm3, xmm3
addss xmm3, xmm4
addss xmm0, xmm2
addss xmm1, xmm3
movss xmm2, dword [0x101a89dc]
movss xmm3, dword [0x101a8d50]
jmp 0x10059d86
movsd xmm0, qword [ebx + 0xc]
movlhps xmm0, xmm0
addps xmm0, xmmword [0x101a89c0]
lea eax, [ebx + 0xc]
movups xmmword [esp + 0x18], xmm0
lea ecx, [ebx + 0xa0]
add ebx, 0x14
lea edx, [esp + 0x18]
lea edi, [esp + 0x28]
push 0
push edx
push edi
push ecx
push ebx
push eax
jmp 0x10059db9
movss xmm3, dword [ebp + 0x1550]
movss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0x14]
addss xmm2, xmm0
subss xmm2, xmm3
subss xmm2, dword [eax + 0x70]
addss xmm3, xmm0
movss xmm0, dword [0x101a89dc]
movss xmm1, dword [0x101a8d50]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm0
lea eax, [ebx + 0xa0]
lea ecx, [ebx + 0x14]
add ebx, 0xc
lea edx, [esp + 0x18]
lea edi, [esp + 0x28]
push 0
push edx
push edi
push eax
push ecx
push ebx
push esi
call fcn.1005c630
add esp, 0x1c
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10155bf1
mov eax, esi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [ebp + 0x1b57], 0
je 0x10059be0
test byte [ebp + 8], 4
jne 0x10059be0
movsd xmm1, qword [esp + 0x10]
movaps xmm2, xmmword [0x101a8d60]
jmp 0x10059bf6
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3