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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push esi
push edi
mov edi, dword [0x101c18e4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x1bac]
mov byte [eax + 0xac], 1
mov esi, dword [edi + 0x1bac]
mov dword [esp + 0x28], esi
cmp byte [esi + 0xaf], 0
jne 0x1005adc6
movss xmm7, dword [0x101b8584]
xorps xmm4, xmm4
mov byte [esi + 0xac], 1
movss xmm0, dword [edi + 0x1560]
mov eax, dword [edi + 0x1bac]
addss xmm0, xmm0
movss xmm5, dword [eax + 0x1c]
mov eax, dword [edx]
subss xmm5, xmm0
mov eax, dword [eax*4 + 0x1018aaa0]
movss dword [esp + 0x24], xmm5
test eax, eax
jne 0x1005a485
xorps xmm6, xmm6
jmp 0x1005a4d7
movss xmm2, dword [edi + 0x1940]
movaps xmm3, xmm7
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 0x193c]
lea eax, [esp + 0x1c]
mov dword [esp], 0xbf800000
push eax
call fcn.10066520
movss xmm0, dword [esp + 0xc]
xorps xmm4, xmm4
addss xmm0, dword [0x101b8350]
movss xmm5, dword [esp + 0x24]
movss xmm7, dword [0x101b8584]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm1, dword [0x101b85d4]
movaps xmm0, xmm5
subss xmm0, dword [0x101b8464]
call fcn.10059800
mov eax, dword [edi + 0x1bac]
xor edx, edx
subss xmm5, dword [0x101b83b0]
mov byte [eax + 0xac], 1
mov ecx, dword [edi + 0x1bac]
cvttss2si eax, xmm6
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm5, xmm0
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm5, xmm0
movss xmm0, dword [ecx + 0x108]
maxss xmm0, xmm5
movss dword [ecx + 0xf0], xmm5
movss dword [ecx + 0x108], xmm0
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
call fcn.1004d340
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp dword [edi + 0x1be0], esi
jne 0x1005a576
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x1005a585
mov byte [edi + 0x1c20], 1
mov ecx, dword [esp + 0x20]
movss xmm5, dword [edi + 0x1940]
mov eax, dword [ecx]
mov eax, dword [eax*4 + 0x1018aaa0]
test eax, eax
je 0x1005a5e0
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 0x193c]
lea eax, [esp + 0x1c]
mov dword [esp], 0xbf800000
movaps xmm3, xmm7
push eax
movaps xmm2, xmm5
call fcn.10066520
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x101b8350]
movss xmm5, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xc]
movss xmm3, dword [eax + 0xf0]
movss xmm2, dword [eax + 0xf4]
movaps xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0x2c], xmm3
movaps xmm1, xmm2
movss dword [esp + 0x30], xmm2
addss xmm1, xmm5
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x48], xmm1
subss xmm1, xmm2
movss dword [esp + 0x44], xmm0
subss xmm0, xmm3
movss dword [esp + 0x10], xmm1
movss xmm1, dword [edi + 0x1564]
movss dword [esp + 0xc], xmm0
call fcn.10059500
push ecx
lea eax, [esp + 0x30]
mov edx, esi
push eax
lea ecx, [esp + 0x44]
call fcn.10059630
add esp, 8
test al, al
je 0x1005adc6
mov edx, dword [0x101c18e4]
cmp byte [edx + 0x1d97], 0
mov ecx, dword [edx + 0x1bac]
je 0x1005a6cd
cmp byte [edx + 0x1d96], 0
jne 0x1005a6cd
test byte [edx + 0x1c4c], 4
jne 0x1005a761
mov eax, dword [edx + 0x1d48]
cmp eax, dword [edx + 0x1c48]
jne 0x1005a6be
test eax, eax
je 0x1005a6be
mov al, 1
jmp 0x1005a6c0
xor al, al
test al, al
je 0x1005a763
jmp 0x1005a754
mov eax, dword [edx + 0x1c50]
test al, 1
je 0x1005a761
cmp dword [edx + 0x1bb0], ecx
je 0x1005a6e7
test al, al
jns 0x1005a761
mov eax, dword [edx + 0x1be0]
test eax, eax
je 0x1005a707
cmp eax, dword [edx + 0x1c48]
je 0x1005a707
cmp byte [edx + 0x1bed], 0
jne 0x1005a707
cmp eax, dword [ecx + 0x70]
jne 0x1005a761
mov eax, dword [edx + 0x1d44]
test eax, eax
je 0x1005a735
mov eax, dword [eax + 0x32c]
test eax, eax
je 0x1005a735
cmp byte [eax + 0xab], 0
je 0x1005a735
cmp eax, dword [ecx + 0x32c]
je 0x1005a735
test dword [eax + 0x10], 0xc000000
jne 0x1005a761
test byte [edx + 0x1c4c], 4
jne 0x1005a761
mov eax, dword [edx + 0x1c48]
cmp eax, dword [ecx + 0x70]
jne 0x1005a752
cmp byte [ecx + 0xac], 0
jne 0x1005a761
mov al, 1
cmp byte [edi + 0x3d8], 0
je 0x1005a763
mov cl, 1
jmp 0x1005a765
xor al, al
xor cl, cl
test al, al
je 0x1005a777
cmp byte [edi + 0x3d9], 0
mov byte [esp + 0x17], 1
jne 0x1005a77c
mov byte [esp + 0x17], 0
test cl, cl
je 0x1005a7cd
cmp dword [edi + 0x1be0], esi
je 0x1005a7b9
push 0x200
lea eax, [edi + 0x100]
mov dword [edi + 0xec], 0
push 0
push eax
mov byte [edi + 0xf0], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [eax], 0
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.1004fa60
mov ecx, edx
call fcn.10058d00
jmp 0x1005a7e6
test al, al
jne 0x1005a7ec
cmp byte [edi + 0x3d8], al
je 0x1005a7ec
cmp dword [edi + 0x1be0], esi
jne 0x1005a7ec
call fcn.1004fb30
mov edx, dword [0x101c18e4]
mov eax, dword [esp + 0x20]
mov byte [esp + 0xb], 0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x1be0], esi
jne 0x1005a8cb
xor esi, esi
nop dword [eax]
cmp byte [esi + edi + 0xec], 0
je 0x1005a860
cmp esi, 4
ja case.default.0x1005a81f
jmp dword [esi*4 + 0x1005add0]
mov dword [esp + 0x18], 1
jmp case.default.0x1005a81f
mov dword [esp + 0x18], 2
jmp case.default.0x1005a81f
mov dword [esp + 0x18], 4
jmp case.default.0x1005a81f
mov dword [esp + 0x18], 5
jmp case.default.0x1005a81f
mov dword [esp + 0x18], 6
mov byte [esp + 0xb], 1
call fcn.1004fb30
inc esi
cmp esi, 5
jl 0x1005a810
cmp byte [esp + 0xb], 0
jne 0x1005a893
mov esi, 8
cmp byte [edi + esi + 0x100], 0
je 0x1005a88a
mov dword [esp + 0x18], esi
mov byte [esp + 0xb], 1
call fcn.1004fb30
inc esi
cmp esi, 0xa5
jle 0x1005a872
mov eax, dword [0x101c18e4]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1005a8bc
call fcn.100538e0
test al, al
je 0x1005a8bc
mov eax, dword [esp + 0x20]
mov dword [eax], 0
call fcn.1004fb30
jmp 0x1005ac4f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x1005ac4f
cmp dword [ebp + 8], 0
je 0x1005ac53
mov eax, dword [edx + 0x1d2c]
cmp dword [edx + 0x1d20], eax
jle 0x1005a8f5
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1d28]
cmp dword [eax + ecx*4], esi
jne 0x1005a8f5
mov al, 1
jmp 0x1005a8f7
xor al, al
cmp byte [esp + 0x17], 0
je 0x1005a910
test al, al
jne 0x1005a918
xor edx, edx
mov ecx, esi
call fcn.1005ae30
jmp 0x1005ac53
test al, al
je 0x1005ac53
or dword [edx + 0x1c74], 2
lea eax, [esp + 0x60]
mov dword [edx + 0x1c94], 0x42820000
mov dword [edx + 0x1c98], 0x42700000
mov dword [edx + 0x1c7c], 1
push dword [edi + 0x1d2c]
push str.Combo__02d
push 0x10
push eax
call fcn.1004d2e0
push 0
xor edx, edx
lea ecx, [esp + 0x74]
call fcn.1004d340
add esp, 0x14
mov ecx, eax
call fcn.10053e10
mov dword [esp + 0xc], eax
test eax, eax
je 0x1005aaaf
cmp byte [eax + 0xab], 0
je 0x1005aaaf
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.10054920
mov esi, dword [0x101c18e4]
movss xmm7, dword [0x101b88a0]
mov eax, dword [esi + 0x1d40]
movss xmm4, dword [esi + 0x15d8]
movss xmm3, dword [esi + 0x15d4]
mov eax, dword [eax]
movss xmm1, dword [eax + 0x10]
movss xmm5, dword [eax + 4]
movaps xmm0, xmm1
addss xmm0, dword [eax + 8]
movaps xmm6, xmm5
addss xmm6, dword [eax + 0xc]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm4
addss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x1005a9e6
xorps xmm4, xmm7
jmp 0x1005a9e9
xorps xmm4, xmm4
movaps xmm1, xmm6
movaps xmm0, xmm3
subss xmm1, xmm5
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x1005aa01
xorps xmm3, xmm7
jmp 0x1005aa04
xorps xmm3, xmm3
movss xmm0, dword [eax + 8]
subss xmm5, xmm3
push 1
subss xmm0, xmm4
addss xmm4, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x54], xmm5
push eax
mov eax, dword [esp + 0x18]
addss xmm3, xmm6
movss dword [esp + 0x5c], xmm0
lea edx, [esp + 0x24]
movss xmm0, dword [esp + 0x38]
lea ecx, [esp + 0x18]
add eax, 0xc8
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0x64], xmm3
push eax
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x30], xmm0
call fcn.1005b210
mov eax, dword [esp + 0x20]
add esp, 0x14
mov ecx, dword [esp + 0x10]
or dword [esi + 0x1c74], 1
mov dword [esi + 0x1c84], eax
mov dword [esi + 0x1c88], ecx
mov dword [esi + 0x1c8c], 0
mov dword [esi + 0x1c90], 0
mov dword [esi + 0x1c78], 1
movss xmm0, dword [edi + 0x1570]
lea edx, [esp + 0xc]
mov ecx, 0xd
movss dword [esp + 0xc], xmm0
mov dword [esp + 0x10], 0
call fcn.1004e1f0
mov esi, dword [0x101c18e4]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 2
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1cd8]
movups xmmword [esp + 0x54], xmm0
call fcn.1005fca0
mov dword [esi + 0x160c], 0x3d20a0a1
lea ecx, [esp + 0x60]
mov dword [esi + 0x1610], 0x3d20a0a1
xor edx, edx
mov dword [esi + 0x1614], 0x3d20a0a1
push 0x4000143
mov dword [esi + 0x1618], 0x3f800000
call fcn.10056490
mov esi, dword [0x101c18e4]
add esp, 4
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
mov ecx, 1
movups xmmword [esi + eax*8 + 0x15ec], xmm0
dec dword [esi + 0x1cd8]
call fcn.1004e270
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0
mov ecx, str.always_on
mov dword [esp + 0x14], 0
cmp dword [esi], 0
mov dword [esp + 0x18], 0
sete dl
call fcn.100782d0
add esp, 8
test al, al
je 0x1005aba7
mov dword [esi], 0
cmp dword [esi], 1
lea eax, [esp + 0xc]
push eax
sete dl
mov dword [esp + 0x10], 0
push 0
mov ecx, str.on_hotkey
mov dword [esp + 0x18], 0
call fcn.100782d0
add esp, 8
test al, al
je 0x1005abdb
mov dword [esi], 1
cmp dword [esi], 2
lea eax, [esp + 0xc]
push eax
sete dl
mov dword [esp + 0x10], 0
push 0
mov ecx, str.toggle
mov dword [esp + 0x18], 0
call fcn.100782d0
add esp, 8
test al, al
je 0x1005ac0f
mov dword [esi], 2
mov esi, dword [0x101c18e4]
mov eax, dword [esi + 0x1bac]
cmp dword [esi + 0x1d44], eax
jne 0x1005ac33
mov dword [esi + 0x1e44], eax
mov dword [esi + 0x1e48], 2
test dword [eax + 0x10], 0x1000000
je 0x1005ac43
mov byte [esi + 0x1b56], 1
call fcn.10058ad0
mov byte [esi + 0x1b56], 0
mov esi, dword [esp + 0x24]
mov eax, dword [str._..._]
mov dword [esp + 0x70], eax
mov ax, word [0x101af5b4]
push 0x3a
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1005ac93
cmp dword [edi + 0x1be0], esi
je 0x1005ac9b
push dword [eax*4 + 0x1018aaa0]
jmp 0x1005aca0
cmp dword [edi + 0x1be0], esi
jne 0x1005acb0
push str._..._
lea eax, [esp + 0x74]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [0x101f7cec]
call fcn.10058f10
mov edx, dword [esp + 0x28]
movss xmm2, dword [edi + 0x1528]
cmp dword [edi + 0x1be0], esi
jne 0x1005acdc
movss xmm1, dword [0x101b82ec]
movaps xmm0, xmm1
jmp 0x1005ace7
movss xmm0, dword [0x101b82ec]
movaps xmm1, xmm0
movss xmm5, dword [0x101b8358]
movss xmm3, dword [0x101b8520]
minss xmm1, xmm5
movss xmm4, dword [0x101b8310]
minss xmm0, xmm5
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, xmm4
addss xmm0, xmm4
cvttss2si ecx, xmm1
cvttss2si eax, xmm0
shl ecx, 8
xorps xmm0, xmm0
or ecx, eax
shl ecx, 8
comiss xmm0, xmm2
ja 0x1005ad36
minss xmm2, xmm5
movaps xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si esi, xmm0
shl esi, 0x18
or esi, ecx
or esi, 0x5a
test esi, 0xff000000
je 0x1005adb7
lea ecx, [esp + 0x70]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ad60
sub ecx, edi
lea eax, [esp + 0x70]
add ecx, eax
cmp eax, ecx
je 0x1005adb7
push dword [esp + 0x30]
mov eax, dword [edx + 0x294]
push dword [esp + 0x30]
push 0
mov edx, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [edx + 0xc]
push ecx
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [edx + 8]
push esi
push eax
movups xmmword [esp + 0x84], xmm0
call fcn.10066840
call fcn.10059030
mov al, byte [esp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret