Function at 0x1005d810
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x10259d1c]
xor eax, esp
mov dword [esp + 0x24], eax
mov edi, dword [0x10259f60]
cmp byte [edi + 0x1cc0], 0
je 0x1005daf2
cmp dword [edi + 0x1ce0], 0xffffffff
je 0x1005daf2
mov eax, dword [esp + 0x3c]
mov ebx, dword [edi + 0x19e4]
test eax, eax
je 0x1005d86a
lea ecx, [edi + 0x1ce4]
push ecx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
xor esi, esi
test eax, eax
jne 0x1005dadd
mov dword [esp], ebx
mov ebp, dword [esp + 0x40]
mov esi, dword [edi + 0x1d18]
mov ebx, dword [edi + 0x1d28]
cmp ebx, esi
sete al
movups xmm0, xmmword [edi + 0x1d08]
movups xmmword [esp + 0x14], xmm0
movups xmm4, xmmword [esp + 0x14]
movaps xmm1, xmm4
unpckhpd xmm1, xmm4
subps xmm1, xmm4
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm1
movss xmm1, dword [edi + 0x1d20]
ucomiss xmm1, xmm0
jbe 0x1005d8c9
mov dword [edi + 0x1d1c], ebp
mov dword [edi + 0x1d24], esi
movss dword [edi + 0x1d20], xmm0
mov byte [edi + 0x1d05], al
mov eax, dword [edi + 0x1cc4]
or eax, ebp
test eax, 0x800
jne 0x1005da82
cmp ebx, esi
jne 0x1005da82
addps xmm4, xmmword [0x101a8da0]
mov ebp, dword [esp]
ucomiss xmm4, dword [ebp + 0x1cc]
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
movaps xmm1, xmm4
unpckhpd xmm1, xmm4
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
jb 0x1005d939
ucomiss xmm0, dword [ebp + 0x1d0]
jb 0x1005d939
movss xmm3, dword [ebp + 0x1d4]
ucomiss xmm3, xmm1
jb 0x1005d939
movss xmm3, dword [ebp + 0x1d8]
mov cl, 1
ucomiss xmm3, xmm2
mov eax, edi
jae 0x1005d977
mov ecx, dword [ebp + 0x274]
sub esp, 0x14
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
mov dword [esp + 0x10], 0
movups xmmword [esp + 0x18], xmm4
call fcn.1005fd30
movups xmm4, xmmword [esp + 4]
xor ecx, ecx
mov eax, dword [0x10259f60]
mov dword [esp + 4], ecx
addps xmm4, xmmword [0x101a8db0]
movups xmmword [esp + 0x14], xmm4
mov ecx, dword [ebp + 0x274]
movss xmm3, dword [eax + 0x18ac]
movss xmm1, dword [eax + 0x18b0]
movss xmm0, dword [eax + 0x18b8]
mulss xmm0, dword [eax + 0x1500]
movss xmm2, dword [0x101a7280]
movaps xmm4, xmm2
minss xmm4, xmm3
xorps xmm5, xmm5
cmpltss xmm3, xmm5
andnps xmm3, xmm4
movss xmm4, dword [0x101a7294]
mulss xmm3, xmm4
movss xmm6, dword [0x101a72c0]
addss xmm3, xmm6
cvttss2si edx, xmm3
minss xmm2, xmm1
cmpltss xmm1, xmm5
andnps xmm1, xmm2
mulss xmm1, xmm4
addss xmm1, xmm6
cvttss2si ebp, xmm1
shl ebp, 8
movss xmm1, dword [eax + 0x18b4]
unpcklps xmm1, xmm0
xorps xmm0, xmm0
movaps xmm2, xmmword [0x101a8790]
minps xmm2, xmm1
cmpnltps xmm1, xmm0
andps xmm1, xmm2
mulps xmm1, xmmword [0x101a87a0]
or ebp, edx
addps xmm1, xmmword [0x101a8710]
cvttps2dq xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm1, 0x18
pslld xmm0, 0x10
movd eax, xmm0
or eax, ebp
pshufd xmm0, xmm1, 0x55
movd edx, xmm0
or edx, eax
lea eax, [esp + 0x14]
push 0x3f800000
push 0xf
push 0
push edx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.10061d80
cmp byte [esp + 4], 0
mov ebp, dword [esp + 0x40]
jne 0x1005da82
mov eax, dword [esp]
mov ecx, dword [eax + 0x274]
call fcn.1005fe80
mov eax, dword [edi + 0x1998]
mov dword [edi + 0x1d2c], eax
cmp ebx, esi
jne 0x1005dac4
mov eax, dword [edi + 0x1ccc]
cmp eax, 5
jae 0x1005daf2
mov ecx, dword [0x10259f60]
movzx eax, byte [ecx + eax + 0xe8]
test al, al
sete byte [edi + 0x1d06]
test ebp, 0x400
jne 0x1005dad5
xor esi, esi
test al, al
jne 0x1005dadd
jmp 0x1005dad5
mov byte [edi + 0x1d06], 0
xor esi, esi
test ebp, 0x400
je 0x1005dadd
add edi, 0x1cd0
mov esi, edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10155bf1
mov eax, esi
add esp, 0x28
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