Function at 0x10058dc0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x10258d1c]
xor eax, esp
mov dword [esp + 0x38], eax
mov esi, dword [0x10258f60]
mov edi, dword [esi + 0x19e4]
test byte [edi + 0xb], 1
je 0x10059061
movsd xmm0, qword [0x101a7d30]
movsd qword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
push 0
push eax
call fcn.1004bd00
add esp, 8
cmp word [edi + 0x84], 2
jl 0x10058e26
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10155ad1
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10057bf0
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov ecx, dword [edi + 0x9c]
movd xmm2, edx
test cl, 1
je 0x10058e58
movss xmm0, dword [0x101a78f4]
maxss xmm0, xmm2
movss dword [esp + 0x30], xmm0
movaps xmm2, xmm0
movd xmm0, eax
test cl, 2
je 0x10058e76
movss xmm1, dword [0x101a78f4]
maxss xmm1, xmm0
movss dword [esp + 0x34], xmm1
movaps xmm0, xmm1
unpcklps xmm2, xmm0
movups xmmword [esp], xmm2
call fcn.10057bf0
mov eax, dword [esi + 0x19e4]
mov ebp, dword [eax + 0xc8]
mov ebx, dword [eax + 0xcc]
movsd xmm0, qword [eax + 0xc8]
movups xmm1, xmmword [esp]
addps xmm0, xmm1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
movups xmmword [esp], xmm0
movlps qword [esp + 0x28], xmm0
lea eax, [esp + 0x30]
push 0
push eax
call fcn.1004bd00
add esp, 8
cmp dword [edi + 0x13c], 0
jne 0x10058ed5
cmp byte [edi + 0x145], 0
je 0x10058f40
test byte [edi + 0xa], 0x80
jne 0x10058f40
push 0
push dword [edi + 0x54]
lea ebx, [esp + 0x28]
push ebx
call fcn.1004bfb0
add esp, 0xc
push 1
push dword [edi + 0x54]
push ebx
call fcn.1004a800
add esp, 0xc
cmp dword [edi + 0x13c], 0
jne 0x1005904e
cmp edi, dword [esi + 0x1af4]
jne 0x1005904e
mov eax, dword [esi + 0x1af8]
movups xmm0, xmmword [esp + 0x20]
addps xmm0, xmmword [0x101a7d40]
movups xmmword [esp + 0x10], xmm0
lea ecx, [esp + 0x10]
push 2
push eax
push ecx
call fcn.1004a800
add esp, 0xc
jmp 0x1005904e
movd xmm1, ebx
movd xmm3, ebp
mov edx, dword [0x10258f60]
mov eax, dword [edx + 0x19e4]
mov dword [eax + 0x10c], 0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x114], xmm0
mov dword [eax + 0x110], 0
mov ecx, dword [edx + 0x19e4]
movss xmm2, dword [ecx + 0x1d0]
movups xmm6, xmmword [esp]
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
ucomiss xmm0, xmm2
jbe 0x10058fb9
movss xmm4, dword [ecx + 0x1d8]
ucomiss xmm4, xmm1
jbe 0x10058fb9
movss xmm4, dword [ecx + 0x1cc]
ucomiss xmm6, xmm4
jbe 0x10058fb9
movss xmm5, dword [ecx + 0x1d4]
ucomiss xmm5, xmm3
ja 0x10058fce
cmp byte [edx + 0x2cbc], 0
je 0x1005904e
movss xmm4, dword [ecx + 0x1cc]
movaps xmm5, xmm4
cmpless xmm5, xmm3
andps xmm3, xmm5
andnps xmm5, xmm4
orps xmm5, xmm3
movss xmm3, dword [edx + 0x1558]
subss xmm5, xmm3
movss xmm4, dword [edx + 0xe0]
ucomiss xmm4, xmm5
jb 0x1005904e
movaps xmm5, xmm2
cmpless xmm5, xmm1
andps xmm1, xmm5
andnps xmm5, xmm2
orps xmm5, xmm1
movss xmm1, dword [edx + 0x155c]
subss xmm5, xmm1
movss xmm2, dword [edx + 0xe4]
ucomiss xmm2, xmm5
jb 0x1005904e
minss xmm6, dword [ecx + 0x1d4]
addss xmm3, xmm6
ucomiss xmm3, xmm4
jbe 0x1005904e
minss xmm0, dword [ecx + 0x1d8]
addss xmm0, xmm1
ucomiss xmm0, xmm2
jbe 0x1005904e
mov dword [eax + 0x110], 1
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10155ad1
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3