Function at 0x140050600
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x330
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm11
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r14d, r14d
mov rbx, qword [0x1400d9e30]
lea rsi, [rbx + 8]
mov rax, qword [rbx + 0x3ec0]
movss xmm9, dword [rax + 0x20]
cmp byte [0x1400da288], r14b
jne 0x1400507fd
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.config.json
lea rcx, [rbp + 0xc0]
call fcn.14005a650
nop
cmp qword [rbp + 0x150], r14
je 0x140050797
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14005d4a0
nop
mov qword [rbp + 0xb8], r14
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x108]
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400632b0
nop
lea r8, [rbp + 0x70]
mov rcx, rax
call fcn.14005cd60
nop
lea rcx, [rbp - 0x58]
call fcn.14005c150
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140050722
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.140061d60
mov byte [0x1400da154], al
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.140061980
mov byte [0x1400da292], al
lea rcx, [rbp + 0xd0]
call fcn.14005d120
test rax, rax
jne 0x140050789
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
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 + 0x70]
lea rcx, [rbp + 0x78]
call fcn.14005e5a0
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd0]
call fcn.14005a5e0
lea rcx, [rbp + 0xd8]
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 + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov byte [0x1400da288], 1
mov rbx, qword [0x1400d9e30]
movss xmm6, dword [0x140094828]
cmp byte [0x1400d9f48], 0
je 0x140050850
movss xmm0, dword [rsi + 0x10]
addss xmm0, xmm0
addss xmm0, dword [0x1400d9fe0]
movss dword [0x1400d9fe0], xmm0
comiss xmm0, xmm6
jb 0x14005084c
mov byte [0x1400d9f48], 0
mov dword [0x1400d9e44], 2
mov dword [0x1400d9fe0], 0
jmp 0x14005126c
subss xmm6, xmm0
lea rcx, [rbx + 0x4818]
movss xmm0, dword [rbx + 0x37e0]
mov dword [rbp + 0x50], r14d
movss dword [rbp + 0x54], xmm0
lea rdx, [rbp + 0x50]
call fcn.14001c910
movss dword [rbx + 0x37e0], xmm6
mov rcx, qword [0x1400d9e30]
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 [0x1400948d0]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
movss xmm7, dword [0x1400948a4]
addss xmm0, xmm7
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov dword [rbp + 0x50], 0x42700000
mov dword [rbp + 0x54], 0x41c80000
lea rdx, [rbp + 0x50]
lea rcx, str.__Back
call fcn.14002f840
xorps xmm8, xmm8
test al, al
je 0x140050917
cmp byte [0x1400d9f48], 0
jne 0x140050917
mov byte [0x1400d9f48], 1
mov dword [0x1400d9fe0], 0
mov r15d, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov rbx, 0xffffffffffffffff
mov eax, dword [r15 + rdi]
cmp dword [0x1400da388], eax
jle 0x1400509a1
lea rcx, [0x1400da388]
call fcn.140081168
cmp dword [0x1400da388], ebx
jne 0x1400509a1
xorps xmm0, xmm0
movups xmmword [0x1400da368], xmm0
mov qword [0x1400da378], r14
mov qword [0x1400da380], r14
lea rdx, [0x1400da160]
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140050972
lea rcx, [0x1400da368]
call fcn.140037910
lea rcx, [0x140088ee0]
call fcn.1400817b4
nop
lea rcx, [0x1400da388]
call fcn.1400810fc
mov eax, dword [r15 + rdi]
cmp dword [0x1400da3b8], eax
jle 0x1400509da
lea rcx, [0x1400da3b8]
call fcn.140081168
cmp dword [0x1400da3b8], 0xffffffff
jne 0x1400509da
lea rcx, [0x1400da3c0]
call fcn.140039320
lea rcx, [0x1400da3b8]
call fcn.1400810fc
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rcx + 0x18]
mov qword [rsp + 0x30], r14
lea rsi, str.Settings
mov qword [rsp + 0x28], rsi
movss xmm11, dword [0x140094938]
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x140094930]
movss xmm2, dword [rdi + 0x14]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.14002bb30
subss xmm9, dword [rbp + 0x50]
mulss xmm9, dword [0x1400947fc]
mov r9, qword [0x1400d9e30]
mov rax, qword [r9 + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [r9 + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x1400948d4]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm9
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov rax, qword [r9 + 0x3ec0]
mov byte [rax + 0xb0], 1
mov r8, qword [r9 + 0x3ec0]
mov r10, qword [r8 + 0x290]
mov dword [rbp + 0x50], 0x3f800000
mov dword [rbp + 0x54], 0x3f800000
mov dword [rbp + 0x58], 0x3f800000
movups xmm0, xmmword [rbp + 0x50]
shufps xmm0, xmm0, 0x93
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x50], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [r9 + 0x37e0]
movss dword [rbp + 0x5c], xmm0
lea rcx, [rbp + 0x50]
call fcn.1400062d0
mov r11d, eax
mov byte [r8 + 0xb0], 1
mov rcx, qword [r9 + 0x3ec0]
movss xmm2, dword [rdi + 0x14]
test eax, 0xff000000
je 0x140050b68
ucomiss xmm2, xmm8
jp 0x140050b18
jne 0x140050b18
mov rax, qword [r10 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp + 0x50], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm8
lea rax, [0x14008bfa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
lea r9, [rcx + 0xf8]
mov rdx, r10
mov rcx, rdi
call fcn.14002bd50
mov r9, qword [0x1400d9e30]
mov rax, qword [r9 + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [r9 + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x1400948e4]
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
movss dword [rsp + 0x20], xmm6
lea r9, [0x1400da154]
lea r8, str.Automatically_add_all_DLC_as_possible_after_generating.
lea rdx, [0x140091de4]
call fcn.1400512c0
test al, al
je 0x140050be0
call fcn.14004fb90
mov rcx, qword [0x1400d9e30]
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 [0x1400948f0]
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
movss dword [rsp + 0x20], xmm6
lea r9, [0x1400da292]
lea r8, str.Automatically_generate_achievement_when_generating_APPID
lea rdx, str.Achievement
call fcn.1400512c0
test al, al
je 0x140050c5f
call fcn.14004fb90
mov rcx, qword [0x1400d9e30]
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]
movss xmm6, dword [0x1400948fc]
addss xmm1, xmm6
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 dword [rbp + 0x70], 0x104
lea rax, [rbp + 0x50]
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]
test eax, eax
jne 0x140050d5e
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SteamPath
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x50]
test eax, eax
jne 0x140050d58
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], r14
lea rax, [rbp + 0xc0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140050d43
mov r8, rbx
lea rdx, [rbp + 0xc0]
jmp 0x140050d80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], r14
xor r8d, r8d
lea rdx, [0x14008b336]
lea rcx, [rbp + 0x80]
call fcn.140037910
nop
lea rcx, [rbp + 0x80]
call fcn.1400503e0
lea rdx, str.Fix_Steamtools
lea rcx, str.Install_Steamtools
test al, al
cmovne rcx, rdx
mov rbx, qword [0x1400d9e30]
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, xmm6
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
cmp byte [0x1400da290], 0
jne 0x140050ebb
mov dword [rbp + 0x50], 0x43160000
mov dword [rbp + 0x54], 0x41f00000
lea rdx, [rbp + 0x50]
call fcn.14002f840
test al, al
je 0x140051079
mov byte [0x1400da290], 1
mov dword [0x1400da03c], 0
mov ecx, 1
call fcn.140081480
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140073a40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x140050eab
cmp dword [rbp + 0x78], 0
je 0x140050e9f
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140050e9f
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
jmp 0x140051079
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x78], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movdqa xmm6, xmmword [0x140094c00]
mov dword [rbp + 0x50], 0x2a
movups xmm0, xmmword [rbx + 0x3b48]
movups xmmword [rbp + 0x54], xmm0
lea rcx, [rbx + 0x4808]
lea rdx, [rbp + 0x50]
call fcn.14001ca00
movups xmmword [rbx + 0x3b48], xmm6
movss xmm6, dword [0x1400948dc]
mov dword [rbp + 0x50], 0x43160000
movss xmm7, dword [0x1400948ac]
mov dword [rbp + 0x54], 0x41f00000
lea rdx, [rbp + 0x50]
movss xmm0, dword [0x1400da03c]
call fcn.140030c50
mov rbx, qword [0x1400d9e30]
movsxd rax, dword [rbx + 0x4808]
cmp eax, 1
jl 0x140050f54
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], r14
lea rdi, str.Installing...
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x140094930]
movss xmm2, dword [rbx + 0x3c20]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbx + 0x3c18]
call fcn.14002bb30
movss xmm0, dword [rbp + 0x50]
addss xmm0, dword [0x140094820]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movsd xmm2, qword [rbx + 0x4768]
subss xmm6, xmm1
mulss xmm6, dword [0x1400947fc]
movsd qword [rbp + 0x70], xmm2
addss xmm2, xmm6
movss dword [rbp + 0x70], xmm2
subss xmm7, dword [rbp + 0x54]
mulss xmm7, dword [0x1400947fc]
movss xmm0, dword [rbp + 0x74]
addss xmm0, xmm7
movss dword [rbp + 0x74], 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 + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x37e0]
movss dword [rbp + 0x5c], xmm0
lea rcx, [rbp + 0x50]
call fcn.1400062d0
test eax, 0xff000000
je 0x140051080
mov r8, qword [r10 + 0x38]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp + 0x50], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm8
lea rcx, [0x140092d85]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x70]
movss xmm2, dword [r8 + 0x10]
mov rdx, r10
mov rcx, qword [r8 + 8]
call fcn.14002bd50
mov rbx, qword [0x1400d9e30]
mov rdx, qword [rbx + 0x3ec0]
cmp byte [rbx + 0x48e3], 0
je 0x1400510c5
cmp byte [rbx + 0x48e2], 0
jne 0x1400510c5
test byte [rbx + 0x4760], 4
jne 0x14005121d
mov eax, dword [rbx + 0x48a8]
cmp eax, dword [rbx + 0x475c]
jne 0x14005121d
test eax, eax
jne 0x140051196
jmp 0x14005121d
mov eax, dword [rbx + 0x4764]
test al, 1
je 0x14005121d
cmp qword [rbx + 0x3ec8], rdx
je 0x1400510e4
test al, al
jns 0x14005121d
mov eax, dword [rbx + 0x3f20]
test eax, eax
je 0x140051108
cmp eax, dword [rbx + 0x475c]
je 0x140051108
cmp byte [rbx + 0x3f2d], 0
jne 0x140051108
cmp eax, dword [rdx + 0x74]
jne 0x14005121d
mov rcx, qword [rbx + 0x48a0]
test rcx, rcx
je 0x140051171
mov rcx, qword [rcx + 0x370]
test rcx, rcx
je 0x140051171
cmp byte [rcx + 0xaf], 0
je 0x140051171
mov rax, qword [rdx + 0x370]
cmp rcx, rax
je 0x140051171
mov r8d, dword [rcx + 0xc]
bt r8d, 0x1b
jb 0x140051147
bt r8d, 0x1a
jae 0x140051171
cmp qword [rax + 0x370], rcx
je 0x140051171
cmp rax, rcx
je 0x140051171
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140051150
test dword [rbx + 0x4760], 0x100
je 0x14005121d
test byte [rbx + 0x4760], 4
jne 0x14005121d
mov eax, dword [rdx + 0x74]
cmp dword [rbx + 0x475c], eax
jne 0x140051196
cmp byte [rdx + 0xb0], 0
jne 0x14005121d
xor ecx, ecx
call fcn.140016020
mov rax, qword [0x1400d9e30]
movss xmm0, dword [rax + 0x3c20]
mulss xmm0, dword [0x1400948b4]
call fcn.140012600
lea rax, str.Installing_Steamtools...
lea rcx, str.Click_to_install_Steamtools_or_Reinstall
cmp byte [0x1400da290], 0
cmovne rcx, rax
xor edx, edx
call fcn.14002e880
mov rcx, qword [0x1400d9e30]
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 ecx, 1
call fcn.140006570
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14005126c
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400810a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
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 rbp
ret