Function at 0x140050d60
Capabilities:
Create process on windows
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm11
mov rax, qword [0x1400aa0c0]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r12d, r12d
mov rsi, qword [0x1400dce30]
mov rax, qword [rsi + 0x3ec0]
movss xmm7, dword [rax + 0x20]
cmp byte [0x1400dd2b0], r12b
jne 0x140050f6e
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.config.json
lea rcx, [rbp + 0x110]
call fcn.14005de80
nop
cmp qword [rbp + 0x1a0], r12
je 0x140050f0a
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.140060fd0
nop
mov qword [rbp - 0x70], r12
lea rax, [rbp + 0x110]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x158]
mov qword [rbp + 0x98], rax
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x60]
call fcn.140066fd0
nop
lea r8, [rbp + 0xa0]
mov rcx, rax
call fcn.140060890
nop
lea rcx, [rbp - 0x18]
call fcn.14005fc80
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140050e89
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.140065700
mov byte [0x1400dd174], al
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.140065320
mov byte [0x1400dd2ba], al
lea rcx, [rbp + 0x120]
call fcn.140060c50
test rax, rax
jne 0x140050ef6
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x110]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
movzx edx, byte [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.1400620d0
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14005de10
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
call fcn.1400501d0
mov byte [0x1400dd2b0], 1
mov dword [rbp + 0xa0], 0x104
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdi, 0xffffffffffffffff
test eax, eax
jne 0x14005102e
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SteamPath
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x90]
test eax, eax
jne 0x140051028
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
lea rax, [rbp + 0x110]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140051015
lea rdx, [rbp + 0x110]
jmp 0x140051050
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
xor r8d, r8d
lea rdx, [0x14008e376]
lea rcx, [rbp + 0xf0]
call fcn.140037960
nop
lea rcx, [rbp + 0xf0]
call fcn.140050920
movzx r14d, al
lea rcx, [rbp + 0xf0]
call fcn.140050b40
movzx r15d, al
movss xmm6, dword [0x140097d38]
cmp byte [0x1400dcf3c], 0
je 0x1400510d0
movss xmm0, dword [rsi + 0x18]
addss xmm0, xmm0
addss xmm0, dword [0x1400dcf58]
movss dword [0x1400dcf58], xmm0
comiss xmm0, xmm6
jb 0x1400510cc
mov byte [0x1400dcf3c], 0
mov dword [0x1400dce44], 2
mov dword [0x1400dcf58], 0
jmp 0x140052163
subss xmm6, xmm0
mov rbx, qword [0x1400dce30]
lea rcx, [rbx + 0x4818]
movss xmm0, dword [rbx + 0x37e0]
mov dword [rbp + 0x90], r12d
movss dword [rbp + 0x94], xmm0
lea rdx, [rbp + 0x90]
call fcn.14001c910
movss dword [rbx + 0x37e0], xmm6
mov rcx, qword [0x1400dce30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097de8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
movss xmm8, dword [0x140097db4]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov dword [rbp + 0x90], 0x42700000
mov dword [rbp + 0x94], 0x41c80000
lea rdx, [rbp + 0x90]
lea rcx, str.__Back
call fcn.14002f840
xorps xmm9, xmm9
test al, al
je 0x1400511b2
cmp byte [0x1400dcf3c], 0
jne 0x1400511b2
mov byte [0x1400dcf3c], 1
mov dword [0x1400dcf58], 0
mov r13d, 4
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rbx + r13]
cmp dword [0x1400dd388], eax
jle 0x14005123f
lea rcx, [0x1400dd388]
call fcn.140084ae8
cmp dword [0x1400dd388], 0xffffffff
jne 0x14005123f
xorps xmm0, xmm0
movups xmmword [0x1400dd368], xmm0
mov qword [0x1400dd378], r12
mov qword [0x1400dd380], r12
lea rdx, [0x1400dd180]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140051210
lea rcx, [0x1400dd368]
call fcn.140037960
lea rcx, [0x14008c4e0]
call fcn.140085134
nop
lea rcx, [0x1400dd388]
call fcn.140084a7c
mov eax, dword [rbx + r13]
cmp dword [0x1400dd3bc], eax
jle 0x140051278
lea rcx, [0x1400dd3bc]
call fcn.140084ae8
cmp dword [0x1400dd3bc], 0xffffffff
jne 0x140051278
lea rcx, [0x1400dd3e0]
call fcn.140039370
lea rcx, [0x1400dd3bc]
call fcn.140084a7c
mov rax, qword [rsi + 0x58]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x18]
mov qword [rsp + 0x30], r12
lea r13, str.Settings
mov qword [rsp + 0x28], r13
movss xmm11, dword [0x140097e64]
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x140097e5c]
movss xmm2, dword [rsi + 0x14]
lea rdx, [rbp + 0x90]
mov rcx, rsi
call fcn.14002bb30
subss xmm7, dword [rbp + 0x90]
mulss xmm7, dword [0x140097d0c]
mov rbx, qword [0x1400dce30]
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097dec]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm7
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov r8, qword [rbx + 0x3ec0]
mov r10, qword [r8 + 0x290]
mov dword [rbp + 0x90], 0x3f800000
mov dword [rbp + 0x94], 0x3f800000
mov dword [rbp + 0x98], 0x3f800000
movups xmm0, xmmword [rbp + 0x90]
shufps xmm0, xmm0, 0x93
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0x90], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbx + 0x37e0]
movss dword [rbp + 0x9c], xmm0
lea rcx, [rbp + 0x90]
call fcn.1400062d0
mov ecx, eax
mov byte [r8 + 0xb0], 1
mov r9, qword [rbx + 0x3ec0]
add r9, 0xf8
movss xmm2, dword [rsi + 0x14]
test eax, 0xff000000
je 0x140051424
ucomiss xmm2, xmm9
jp 0x1400513d6
jne 0x1400513d6
mov rax, qword [r10 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp + 0xb0], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
lea rax, [0x14008efe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rdx, r10
mov rcx, rsi
call fcn.14002bd50
mov rbx, qword [0x1400dce30]
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e00]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
test r14b, r14b
jne 0x140051509
mov ecx, dword [rbx + 0x4740]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x1400514ac
movss xmm0, dword [rbx + 0x37e0]
movss dword [rbx + 0x5b44], xmm0
mulss xmm0, dword [rbx + 0x37e4]
movss dword [rbx + 0x37e0], xmm0
or ecx, 4
mov dword [rbx + 0x4740], ecx
lea rsi, [rbx + 0x4848]
mov ecx, dword [rsi + 4]
mov r8d, dword [rsi]
cmp r8d, ecx
jne 0x1400514f0
inc r8d
test ecx, ecx
je 0x1400514d9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400514de
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rsi
call fcn.14001d440
movsxd rdx, dword [rsi]
mov rcx, qword [rsi + 8]
mov eax, dword [rbx + 0x4740]
mov dword [rcx + rdx*4], eax
inc dword [rsi]
inc word [rbx + 0x5b48]
movss dword [rsp + 0x20], xmm6
lea r9, [0x1400dd04c]
lea r8, str.Shortcut_for_Steamtools_to_Activate_or_Deactivate_Unlock_Mode
lea rdx, str.Unlock_Mode
call fcn.140052210
test al, al
je 0x1400516a8
movzx esi, byte [0x1400dd04c]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
mov r8d, 0x19
lea rdx, str.SOFTWAREValveSteamtools
lea rcx, [rbp + 0xd0]
call fcn.140067ac0
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140051645
lea rax, str.true
lea rbx, str.false
test sil, sil
cmovne rbx, rax
mov rax, rdi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x1400515c2
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ActivateUnlockMode
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop word [rax + rax]
lea rdi, [rdi + 1]
cmp word [rbx + rdi*2], 0
jne 0x140051600
lea eax, [rdi*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.AlwaysStayUnlocked
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x14005168e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051689
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008514c
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r12w
mov rdx, qword [0x1400dce30]
test r14b, r14b
jne 0x1400516fd
dec word [rdx + 0x5b48]
mov eax, dword [rdx + 0x4740]
shr eax, 2
test al, 1
movsxd rcx, dword [rdx + 0x4848]
lea eax, [rcx - 1]
mov dword [rdx + 0x4848], eax
mov rax, qword [rdx + 0x4850]
mov r8d, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4740], r8d
je 0x1400516fd
test r8b, 4
jne 0x1400516fd
mov eax, dword [rdx + 0x5b44]
mov dword [rdx + 0x37e0], eax
mov rax, qword [rdx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rdx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e10]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
movss dword [rsp + 0x20], xmm6
lea r9, [0x1400dd174]
lea r8, str.Automatically_add_all_DLC_as_possible_after_generating.
lea rdx, [0x140094e34]
call fcn.140052210
test al, al
je 0x140051776
call fcn.14004fd90
mov rcx, qword [0x1400dce30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e1c]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
movss dword [rsp + 0x20], xmm6
lea r9, [0x1400dd2ba]
lea r8, str.Automatically_generate_achievement_when_generating_APPID
lea rdx, str.Achievement
call fcn.140052210
test al, al
je 0x1400517f6
call fcn.14004fd90
mov rbx, qword [0x1400dce30]
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e2c]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
lea rax, str.Fix_Steamtools
lea rcx, str.Install_Steamtools
test r14b, r14b
cmovne rcx, rax
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e2c]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
cmp byte [0x1400dd2b8], 0
jne 0x140051992
mov dword [rbp + 0x90], 0x43160000
mov dword [rbp + 0x94], 0x41f00000
lea rdx, [rbp + 0x90]
call fcn.14002f840
test al, al
je 0x140051b90
mov byte [0x1400dd2b8], 1
mov dword [0x1400dd050], 0
mov ecx, 1
call fcn.140084e00
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0xa8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140077350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0xa0], rax
test rax, rax
je 0x14005197f
cmp dword [rbp + 0xa8], 0
je 0x140051973
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140051973
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
jmp 0x140051b90
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xa8], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movdqa xmm6, xmmword [0x140098130]
mov dword [rbp + 0xb0], 0x2a
movups xmm0, xmmword [rbx + 0x3b48]
movups xmmword [rbp + 0xb4], xmm0
lea rcx, [rbx + 0x4808]
lea rdx, [rbp + 0xb0]
call fcn.14001ca00
movups xmmword [rbx + 0x3b48], xmm6
movss xmm6, dword [0x140097df8]
mov dword [rbp + 0x90], 0x43160000
movss xmm7, dword [0x140097dbc]
mov dword [rbp + 0x94], 0x41f00000
lea r8, [0x14008e376]
lea rdx, [rbp + 0x90]
movss xmm0, dword [0x1400dd050]
call fcn.140030c50
mov rbx, qword [0x1400dce30]
movsxd rax, dword [rbx + 0x4808]
cmp eax, 1
jl 0x140051a44
lea rdx, [rax + rax*4]
mov rcx, qword [rbx + 0x4810]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [rbx + rax*8 + 0x38a8], xmm0
dec dword [rbx + 0x4808]
mov qword [rsp + 0x30], r12
lea rdi, str.Installing...
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x140097e5c]
movss xmm2, dword [rbx + 0x3c20]
lea rdx, [rbp + 0x90]
mov rcx, qword [rbx + 0x3c18]
call fcn.14002bb30
movss xmm0, dword [rbp + 0x90]
addss xmm0, dword [0x140097d30]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movsd xmm2, qword [rbx + 0x4768]
subss xmm6, xmm1
mulss xmm6, dword [0x140097d0c]
movsd qword [rbp + 0xa0], xmm2
addss xmm2, xmm6
movss dword [rbp + 0xa0], xmm2
subss xmm7, dword [rbp + 0x94]
mulss xmm7, dword [0x140097d0c]
movss xmm0, dword [rbp + 0xa4]
addss xmm0, xmm7
movss dword [rbp + 0xa4], xmm0
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
mov r10, qword [rax + 0x290]
movups xmm0, xmmword [rbx + 0x38c8]
movups xmmword [rbp + 0x90], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x37e0]
movss dword [rbp + 0x9c], xmm0
lea rcx, [rbp + 0x90]
call fcn.1400062d0
test eax, 0xff000000
je 0x140051b97
mov r8, qword [r10 + 0x38]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp + 0xb0], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
lea rcx, [0x140095fdd]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xa0]
movss xmm2, dword [r8 + 0x10]
mov rdx, r10
mov rcx, qword [r8 + 8]
call fcn.14002bd50
mov rbx, qword [0x1400dce30]
mov rdx, qword [rbx + 0x3ec0]
cmp byte [rbx + 0x48e3], 0
je 0x140051bdc
cmp byte [rbx + 0x48e2], 0
jne 0x140051bdc
test byte [rbx + 0x4760], 4
jne 0x140051d3b
mov eax, dword [rbx + 0x48a8]
cmp eax, dword [rbx + 0x475c]
jne 0x140051d3b
test eax, eax
jne 0x140051cad
jmp 0x140051d3b
mov eax, dword [rbx + 0x4764]
test al, 1
je 0x140051d3b
cmp qword [rbx + 0x3ec8], rdx
je 0x140051bfb
test al, al
jns 0x140051d3b
mov eax, dword [rbx + 0x3f20]
test eax, eax
je 0x140051c1f
cmp eax, dword [rbx + 0x475c]
je 0x140051c1f
cmp byte [rbx + 0x3f2d], 0
jne 0x140051c1f
cmp eax, dword [rdx + 0x74]
jne 0x140051d3b
mov rcx, qword [rbx + 0x48a0]
test rcx, rcx
je 0x140051c88
mov rcx, qword [rcx + 0x370]
test rcx, rcx
je 0x140051c88
cmp byte [rcx + 0xaf], 0
je 0x140051c88
mov rax, qword [rdx + 0x370]
cmp rcx, rax
je 0x140051c88
mov r8d, dword [rcx + 0xc]
bt r8d, 0x1b
jb 0x140051c5e
bt r8d, 0x1a
jae 0x140051c88
cmp qword [rax + 0x370], rcx
je 0x140051c88
cmp rax, rcx
je 0x140051c88
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140051c67
test dword [rbx + 0x4760], 0x100
je 0x140051d3b
test byte [rbx + 0x4760], 4
jne 0x140051d3b
mov eax, dword [rdx + 0x74]
cmp dword [rbx + 0x475c], eax
jne 0x140051cad
cmp byte [rdx + 0xb0], 0
jne 0x140051d3b
xor ecx, ecx
call fcn.140016020
mov rax, qword [0x1400dce30]
movss xmm0, dword [rax + 0x3c20]
mulss xmm0, dword [0x140097dc4]
call fcn.140012600
lea rax, str.Installing_Steamtools...
lea rcx, str.Click_to_install_Steamtools_or_Reinstall
cmp byte [0x1400dd2b8], 0
cmovne rcx, rax
xor edx, edx
call fcn.14002e880
mov rcx, qword [0x1400dce30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov r8, qword [rcx + 0x3ec0]
movsxd rdx, dword [r8 + 0x1d0]
mov rax, qword [r8 + 0x1d8]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1b8], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1d0], eax
call fcn.140011f90
mov rbx, qword [0x1400dce30]
mov rax, qword [rbx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rbx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140097e34]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
test r14b, r14b
je 0x140051d99
test r15b, r15b
je 0x140051d99
xor cl, cl
jmp 0x140051d9b
mov cl, 1
call fcn.140012550
mov dword [rbp + 0x90], 0x43160000
mov dword [rbp + 0x94], 0x41f00000
lea rdx, [rbp + 0x90]
lea rcx, str.Open_Steamtools
call fcn.14002f840
test al, al
je 0x140051fe1
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x100]
sub rax, rcx
cmp rax, 0x1b
jb 0x1400521f0
lea r9, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0xf
cmova r9, qword [rbp + 0xf0]
mov qword [rsp + 0x30], 0x1b
lea rax, str.config_stUISteamtools.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xf0]
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp + 0xd0]
call fcn.14006de60
nop
lea rax, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rax, qword [rbp + 0xd0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x98], rax
call fcn.140085eb0
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0xb0], xmm0
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140039450
nop
mov r8d, 3
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0xa0]
call fcn.14003b3d0
movsd xmm0, qword [rax]
movsd qword [rbp + 0x90], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xb0], ecx
lea rax, str.HK_t_
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
mov eax, dword [rbp + 0x90]
test eax, eax
je 0x140051f24
cmp eax, 1
setne bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140051f35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051f30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor bl, bl
test ecx, ecx
jne 0x1400521f6
jmp 0x140051ee4
call fcn.14008514c
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
test bl, bl
je 0x140051f84
lea r8, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova r8, qword [rbp + 0xd0]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140051fc8
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051fc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051fc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008514c
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rdx, qword [0x1400dce30]
mov r8, qword [rdx + 0x3ec0]
cmp byte [rdx + 0x48e3], 0
je 0x14005202d
cmp byte [rdx + 0x48e2], 0
jne 0x14005202d
test byte [rdx + 0x4760], 4
jne 0x14005210f
mov eax, dword [rdx + 0x48a8]
cmp eax, dword [rdx + 0x475c]
jne 0x14005210f
test eax, eax
jne 0x1400520fc
jmp 0x14005210f
mov eax, dword [rdx + 0x4764]
test al, 1
je 0x14005210f
cmp qword [rdx + 0x3ec8], r8
je 0x14005204c
test al, al
jns 0x14005210f
mov eax, dword [rdx + 0x3f20]
test eax, eax
je 0x140052071
cmp eax, dword [rdx + 0x475c]
je 0x140052071
cmp byte [rdx + 0x3f2d], 0
jne 0x140052071
cmp eax, dword [r8 + 0x74]
jne 0x14005210f
mov rcx, qword [rdx + 0x48a0]
test rcx, rcx
je 0x1400520dd
mov rcx, qword [rcx + 0x370]
test rcx, rcx
je 0x1400520dd
cmp byte [rcx + 0xaf], 0
je 0x1400520dd
mov rax, qword [r8 + 0x370]
cmp rcx, rax
je 0x1400520dd
mov r9d, dword [rcx + 0xc]
bt r9d, 0x1b
jb 0x1400520b0
bt r9d, 0x1a
jae 0x1400520dd
cmp qword [rax + 0x370], rcx
je 0x1400520dd
nop dword [rax]
cmp rax, rcx
je 0x1400520dd
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1400520c0
test dword [rdx + 0x4760], 0x100
je 0x14005210f
test byte [rdx + 0x4760], 4
jne 0x14005210f
mov eax, dword [r8 + 0x74]
cmp dword [rdx + 0x475c], eax
jne 0x1400520fc
cmp byte [r8 + 0xb0], 0
jne 0x14005210f
lea rcx, str.Click_to_open_Steamtools_overlay
call fcn.1400161e0
mov rdx, qword [0x1400dce30]
dec word [rdx + 0x5b48]
mov eax, dword [rdx + 0x4740]
shr eax, 2
test al, 1
movsxd rcx, dword [rdx + 0x4848]
lea eax, [rcx - 1]
mov dword [rdx + 0x4848], eax
mov rax, qword [rdx + 0x4850]
mov r8d, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4740], r8d
je 0x140052158
test r8b, 4
jne 0x140052158
mov eax, dword [rdx + 0x5b44]
mov dword [rdx + 0x37e0], eax
mov ecx, 1
call fcn.140006570
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1400521a7
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008514c
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140084a20
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140035cb0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0xb0]
lea rcx, str.exists
call fcn.14003a930
int3