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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, dword [0x10132b9c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
mov eax, dword [edi + 0x1bac]
mov byte [eax + 0xac], 1
mov esi, dword [edi + 0x1bac]
mov dword [esp + 0x38], esi
cmp byte [esi + 0xaf], 0
jne 0x1004646a
movss xmm7, dword [0x1012c9d0]
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 + 0x1011bbb8]
movss dword [esp + 0xc], xmm5
test eax, eax
jne 0x100459b5
xorps xmm6, xmm6
jmp 0x10045a07
movss xmm2, dword [edi + 0x1940]
movaps xmm3, xmm7
push 0
push 0
push eax
push ecx
mov ecx, dword [edi + 0x193c]
lea eax, [esp + 0x30]
mov dword [esp], 0xbf800000
push eax
call fcn.100524f0
movss xmm0, dword [esp + 0x20]
xorps xmm4, xmm4
addss xmm0, dword [0x1012c83c]
movss xmm5, dword [esp + 0xc]
movss xmm7, dword [0x1012c9d0]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm1, dword [0x1012c9fc]
movaps xmm0, xmm5
subss xmm0, dword [0x1012c920]
call fcn.10044d40
mov eax, dword [edi + 0x1bac]
xor edx, edx
subss xmm5, dword [0x1012c890]
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 + 0x2c]
call fcn.10037830
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp dword [edi + 0x1be0], esi
jne 0x10045aa6
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x10045ab5
mov byte [edi + 0x1c20], 1
mov ecx, dword [esp + 0x18]
movss xmm5, dword [edi + 0x1940]
mov eax, dword [ecx]
mov eax, dword [eax*4 + 0x1011bbb8]
test eax, eax
je 0x10045b10
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.100524f0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x1012c83c]
movss xmm5, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
movss xmm3, dword [eax + 0xf0]
movss xmm2, dword [eax + 0xf4]
movaps xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0x3c], xmm3
movaps xmm1, xmm2
movss dword [esp + 0x40], xmm2
addss xmm1, xmm5
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x34], xmm1
subss xmm1, xmm2
movss dword [esp + 0x30], xmm0
subss xmm0, xmm3
movss dword [esp + 0x10], xmm1
movss xmm1, dword [edi + 0x1564]
movss dword [esp + 0xc], xmm0
call fcn.10044a40
push ecx
lea eax, [esp + 0x40]
mov edx, esi
push eax
lea ecx, [esp + 0x30]
call fcn.10044b70
add esp, 8
test al, al
je 0x1004646a
mov esi, dword [0x10132b9c]
mov dword [esp + 0xc], esi
cmp byte [esi + 0x1d97], 0
mov ecx, dword [esi + 0x1bac]
je 0x10045c01
cmp byte [esi + 0x1d96], 0
jne 0x10045c01
test byte [esi + 0x1c4c], 4
jne 0x10045c95
mov eax, dword [esi + 0x1d48]
cmp eax, dword [esi + 0x1c48]
jne 0x10045bf2
test eax, eax
je 0x10045bf2
mov al, 1
jmp 0x10045bf4
xor al, al
test al, al
je 0x10045c97
jmp 0x10045c88
mov eax, dword [esi + 0x1c50]
test al, 1
je 0x10045c95
cmp dword [esi + 0x1bb0], ecx
je 0x10045c1b
test al, al
jns 0x10045c95
mov eax, dword [esi + 0x1be0]
test eax, eax
je 0x10045c3b
cmp eax, dword [esi + 0x1c48]
je 0x10045c3b
cmp byte [esi + 0x1bed], 0
jne 0x10045c3b
cmp eax, dword [ecx + 0x70]
jne 0x10045c95
mov eax, dword [esi + 0x1d44]
test eax, eax
je 0x10045c69
mov eax, dword [eax + 0x32c]
test eax, eax
je 0x10045c69
cmp byte [eax + 0xab], 0
je 0x10045c69
cmp eax, dword [ecx + 0x32c]
je 0x10045c69
test dword [eax + 0x10], 0xc000000
jne 0x10045c95
test byte [esi + 0x1c4c], 4
jne 0x10045c95
mov eax, dword [esi + 0x1c48]
cmp eax, dword [ecx + 0x70]
jne 0x10045c86
cmp byte [ecx + 0xac], 0
jne 0x10045c95
mov al, 1
cmp byte [edi + 0x3d8], 0
je 0x10045c97
mov cl, 1
jmp 0x10045c99
xor al, al
xor cl, cl
test al, al
je 0x10045cab
cmp byte [edi + 0x3d9], 0
mov byte [esp + 0x17], 1
jne 0x10045cb0
mov byte [esp + 0x17], 0
test cl, cl
je 0x10045d0f
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x1be0], esi
je 0x10045cf1
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 + 0x24]
add esp, 0xc
mov dword [eax], 0
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.1003a290
mov ecx, edx
call fcn.10044290
mov esi, dword [0x10132b9c]
mov dword [esp + 0xc], esi
jmp 0x10045d2c
test al, al
jne 0x10045d2c
cmp byte [edi + 0x3d8], al
je 0x10045d2c
mov edx, dword [esp + 0x1c]
cmp dword [edi + 0x1be0], edx
jne 0x10045d2c
call fcn.1003a360
mov eax, dword [esp + 0x18]
mov byte [esp + 0xb], 0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
cmp dword [edi + 0x1be0], eax
jne 0x10045e85
xor eax, eax
mov dword [esp + 0x28], eax
cmp byte [edi + eax + 0xec], 0
je 0x10045da5
cmp eax, 4
ja case.default.0x10045d60
jmp dword [eax*4 + 0x10046474]
mov dword [esp + 0x20], 1
jmp case.default.0x10045d60
mov dword [esp + 0x20], 2
jmp case.default.0x10045d60
mov dword [esp + 0x20], 4
jmp case.default.0x10045d60
mov dword [esp + 0x20], 5
jmp case.default.0x10045d60
mov dword [esp + 0x20], 6
mov byte [esp + 0xb], 1
call fcn.1003a360
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 5
jl 0x10045d51
cmp byte [esp + 0xb], 0
jne 0x10045de5
mov esi, 8
nop dword [eax + eax]
cmp byte [edi + esi + 0x100], 0
je 0x10045dd8
mov dword [esp + 0x20], esi
mov byte [esp + 0xb], 1
call fcn.1003a360
inc esi
cmp esi, 0xa5
jle 0x10045dc0
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x10045e76
movss xmm1, dword [esi + eax*4 + 0x46c]
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10045e62
movss xmm3, dword [esi + 0x8c]
comiss xmm1, xmm3
jbe 0x10045e76
movss xmm4, dword [esi + 0x90]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x10045e2b
xor eax, eax
jmp 0x10045e5e
comiss xmm2, xmm4
jb 0x10045e3a
xor eax, eax
comiss xmm3, xmm0
seta al
jmp 0x10045e5e
comiss xmm3, xmm0
jbe 0x10045e44
or ecx, 0xffffffff
jmp 0x10045e50
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si ecx, xmm0
subss xmm1, xmm3
divss xmm1, xmm4
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x10045e76
mov eax, dword [esp + 0x18]
mov dword [eax], 0
call fcn.1003a360
jmp 0x10046240
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x10046240
cmp dword [ebp + 8], 0
je 0x10046240
mov eax, dword [esi + 0x1d2c]
cmp dword [esi + 0x1d20], eax
jle 0x10045eb3
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1d28]
cmp dword [eax + ecx*4], edx
jne 0x10045eb3
mov al, 1
jmp 0x10045eb5
xor al, al
cmp byte [esp + 0x17], 0
je 0x10045ed0
test al, al
jne 0x10045ed8
mov ecx, dword [esp + 0x1c]
xor edx, edx
call fcn.100464d0
jmp 0x1004623a
test al, al
je 0x10046240
or dword [esi + 0x1c74], 2
lea eax, [esp + 0x60]
mov dword [esi + 0x1c94], 0x42820000
mov dword [esi + 0x1c98], 0x42700000
mov dword [esi + 0x1c7c], 1
push dword [edi + 0x1d2c]
push str.Combo__02d
push 0x10
push eax
call fcn.100377d0
add esp, 0x10
lea ecx, [esp + 0x60]
call fcn.1003e520
mov dword [esp + 0xc], eax
test eax, eax
je 0x1004605e
cmp byte [eax + 0xab], 0
je 0x1004605e
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.1003f070
mov esi, dword [0x10132b9c]
mov eax, dword [esi + 0x1d40]
movss xmm4, dword [esi + 0x15d8]
movss xmm3, dword [esi + 0x15d4]
movaps xmm0, xmm4
addss xmm0, xmm4
mov eax, dword [eax]
movss xmm1, dword [eax + 0x10]
comiss xmm1, xmm0
movss xmm6, dword [eax + 4]
movaps xmm7, xmm1
addss xmm7, dword [eax + 8]
movaps xmm5, xmm6
addss xmm5, dword [eax + 0xc]
jbe 0x10045f91
xorps xmm4, xmmword [0x1012cb90]
jmp 0x10045f94
xorps xmm4, xmm4
movaps xmm1, xmm5
movaps xmm0, xmm3
subss xmm1, xmm6
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x10045fb0
xorps xmm3, xmmword [0x1012cb90]
jmp 0x10045fb3
xorps xmm3, xmm3
movss xmm0, dword [eax + 8]
subss xmm6, xmm3
push 1
subss xmm0, xmm4
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x54], xmm6
push eax
mov eax, dword [esp + 0x18]
addss xmm5, xmm3
movss dword [esp + 0x5c], xmm0
addss xmm7, xmm4
movss xmm0, dword [esp + 0x48]
lea edx, [esp + 0x34]
add eax, 0xc8
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x54]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x64], xmm5
push eax
movss dword [esp + 0x6c], xmm7
movss dword [esp + 0x40], xmm0
call fcn.10046960
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
jmp 0x10046064
mov esi, dword [0x10132b9c]
movss xmm0, dword [edi + 0x1570]
lea eax, [esp + 0x28]
movss xmm1, dword [esi + 0x1570]
lea ecx, [esi + 0x1ce4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x1574]
push eax
mov dword [esp + 0x2c], 0xd
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm0
call fcn.1004b890
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x4c]
movss dword [esi + 0x1570], xmm0
mov dword [esi + 0x1574], 0
mov esi, dword [0x10132b9c]
push eax
mov dword [esp + 0x50], 2
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1cd8]
movups xmmword [esp + 0x54], xmm0
call fcn.1004b950
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.100414b0
mov esi, dword [0x10132b9c]
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.10038570
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.10065ef0
add esp, 8
test al, al
je 0x10046192
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.10065ef0
add esp, 8
test al, al
je 0x100461c6
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.10065ef0
add esp, 8
test al, al
je 0x100461fa
mov dword [esi], 2
mov esi, dword [0x10132b9c]
mov eax, dword [esi + 0x1bac]
cmp dword [esi + 0x1d44], eax
jne 0x1004621e
mov dword [esi + 0x1e44], eax
mov dword [esi + 0x1e48], 2
test dword [eax + 0x10], 0x1000000
je 0x1004622e
mov byte [esi + 0x1b56], 1
call fcn.10044060
mov byte [esi + 0x1b56], 0
mov esi, dword [0x10132b9c]
mov eax, dword [str._..._]
mov dword [esp + 0x70], eax
mov ax, word [0x1011b598]
push 0x3a
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x10046284
cmp dword [edi + 0x1be0], eax
je 0x1004628c
push dword [ecx*4 + 0x1011bbb8]
jmp 0x10046291
cmp dword [edi + 0x1be0], eax
jne 0x100462a7
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]
mov esi, dword [0x10132b9c]
add esp, 0xc
mov ecx, dword [0x1013343c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x100462da
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x100462d6
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
call fcn.100444a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x1cf0]
call fcn.1004b7e0
mov eax, dword [esi + 0x1bac]
mov ecx, dword [eax + 0x294]
mov eax, dword [esp + 0x20]
lea esi, [ecx + 0x48]
mov edx, dword [esi]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x1004633c
lea ecx, [edx + 1]
test eax, eax
je 0x1004632a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1004632f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1004ba10
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x28]
inc dword [esi]
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x70], eax
call fcn.1004d950
mov eax, dword [esp + 0x38]
movss xmm2, dword [edi + 0x1528]
mov eax, dword [eax + 0x294]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
cmp dword [edi + 0x1be0], eax
jne 0x10046389
movss xmm1, dword [0x1012c7e8]
movaps xmm0, xmm1
jmp 0x10046394
movss xmm0, dword [0x1012c7e8]
movaps xmm1, xmm0
movss xmm5, dword [0x1012c844]
movss xmm3, dword [0x1012c990]
minss xmm1, xmm5
movss xmm4, dword [0x1012c800]
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 0x100463e3
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 0x1004645b
lea ecx, [esp + 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046406
sub ecx, edx
lea eax, [esp + 0x70]
add ecx, eax
cmp eax, ecx
je 0x1004645b
push dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push dword [esp + 0x40]
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.10052810
call fcn.100445f0
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