Function at 0x1400505c0
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 [0x14009d0c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r14d, r14d
mov rbx, qword [0x1400cfdf0]
lea rsi, [rbx + 8]
mov rax, qword [rbx + 0x3ec0]
movss xmm9, dword [rax + 0x20]
cmp byte [0x1400d0228], r14b
jne 0x1400507bd
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.config.json
lea rcx, [rbp + 0xc0]
call fcn.140054ef0
nop
cmp qword [rbp + 0x150], r14
je 0x140050757
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140057900
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.14005d110
nop
lea r8, [rbp + 0x70]
mov rcx, rax
call fcn.140057250
nop
lea rcx, [rbp - 0x58]
call fcn.140056640
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400506e2
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.14005c100
mov byte [0x1400d00f4], al
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.14005bd20
mov byte [0x1400d0232], al
lea rcx, [rbp + 0xd0]
call fcn.140057610
test rax, rax
jne 0x140050749
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.140058a80
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.140054e80
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 [0x1400d0228], 1
mov rbx, qword [0x1400cfdf0]
movss xmm6, dword [0x14008c0e8]
cmp byte [0x1400cfee8], 0
je 0x140050810
movss xmm0, dword [rsi + 0x10]
addss xmm0, xmm0
addss xmm0, dword [0x1400cff80]
movss dword [0x1400cff80], xmm0
comiss xmm0, xmm6
jb 0x14005080c
mov byte [0x1400cfee8], 0
mov dword [0x1400cfe04], 2
mov dword [0x1400cff80], 0
jmp 0x14005122c
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.14001c8c0
movss dword [rbx + 0x37e0], xmm6
mov rcx, qword [0x1400cfdf0]
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 [0x14008c190]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
movss xmm7, dword [0x14008c164]
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.14002f7f0
xorps xmm8, xmm8
test al, al
je 0x1400508d7
cmp byte [0x1400cfee8], 0
jne 0x1400508d7
mov byte [0x1400cfee8], 1
mov dword [0x1400cff80], 0
mov r15d, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov rbx, 0xffffffffffffffff
mov eax, dword [r15 + rdi]
cmp dword [0x1400d0328], eax
jle 0x140050961
lea rcx, [0x1400d0328]
call fcn.14007ab38
cmp dword [0x1400d0328], ebx
jne 0x140050961
xorps xmm0, xmm0
movups xmmword [0x1400d0308], xmm0
mov qword [0x1400d0318], r14
mov qword [0x1400d0320], r14
lea rdx, [0x1400d0100]
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140050932
lea rcx, [0x1400d0308]
call fcn.1400378c0
lea rcx, [0x140081df0]
call fcn.14007b184
nop
lea rcx, [0x1400d0328]
call fcn.14007aacc
mov eax, dword [r15 + rdi]
cmp dword [0x1400d0358], eax
jle 0x14005099a
lea rcx, [0x1400d0358]
call fcn.14007ab38
cmp dword [0x1400d0358], 0xffffffff
jne 0x14005099a
lea rcx, [0x1400d0360]
call fcn.1400392d0
lea rcx, [0x1400d0358]
call fcn.14007aacc
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 [0x14008c1f4]
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x14008c1ec]
movss xmm2, dword [rdi + 0x14]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.14002bae0
subss xmm9, dword [rbp + 0x50]
mulss xmm9, dword [0x14008c0bc]
mov r9, qword [0x1400cfdf0]
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 [0x14008c194]
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.140006280
mov r11d, eax
mov byte [r8 + 0xb0], 1
mov rcx, qword [r9 + 0x3ec0]
movss xmm2, dword [rdi + 0x14]
test eax, 0xff000000
je 0x140050b28
ucomiss xmm2, xmm8
jp 0x140050ad8
jne 0x140050ad8
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, [0x140083ef0]
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.14002bd00
mov r9, qword [0x1400cfdf0]
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 [0x14008c1a4]
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, [0x1400d00f4]
lea r8, str.Automatically_add_all_DLC_as_possible_after_generating.
lea rdx, [0x140089d14]
call fcn.140051280
test al, al
je 0x140050ba0
call fcn.14004fb50
mov rcx, qword [0x1400cfdf0]
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 [0x14008c1ac]
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, [0x1400d0232]
lea r8, str.Automatically_generate_achievement_when_generating_APPID
lea rdx, str.Achievement
call fcn.140051280
test al, al
je 0x140050c1f
call fcn.14004fb50
mov rcx, qword [0x1400cfdf0]
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 [0x14008c1b8]
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 0x140050d1e
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 0x140050d18
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 0x140050d03
mov r8, rbx
lea rdx, [rbp + 0xc0]
jmp 0x140050d40
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, [0x140083286]
lea rcx, [rbp + 0x80]
call fcn.1400378c0
nop
lea rcx, [rbp + 0x80]
call fcn.1400503a0
lea rdx, str.Fix_Steamtools
lea rcx, str.Install_Steamtools
test al, al
cmovne rcx, rdx
mov rbx, qword [0x1400cfdf0]
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 [0x1400d0230], 0
jne 0x140050e7b
mov dword [rbp + 0x50], 0x43160000
mov dword [rbp + 0x54], 0x41f00000
lea rdx, [rbp + 0x50]
call fcn.14002f7f0
test al, al
je 0x140051039
mov byte [0x1400d0230], 1
mov dword [0x1400cffdc], 0
mov ecx, 1
call fcn.14007ae50
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14006d4a0]
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 0x140050e6b
cmp dword [rbp + 0x78], 0
je 0x140050e5f
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 0x140050e5f
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
jmp 0x140051039
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 [0x14008c4c0]
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.14001c9b0
movups xmmword [rbx + 0x3b48], xmm6
movss xmm6, dword [0x14008c19c]
mov dword [rbp + 0x50], 0x43160000
movss xmm7, dword [0x14008c16c]
mov dword [rbp + 0x54], 0x41f00000
lea rdx, [rbp + 0x50]
movss xmm0, dword [0x1400cffdc]
call fcn.140030c00
mov rbx, qword [0x1400cfdf0]
movsxd rax, dword [rbx + 0x4808]
cmp eax, 1
jl 0x140050f14
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 [0x14008c1ec]
movss xmm2, dword [rbx + 0x3c20]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbx + 0x3c18]
call fcn.14002bae0
movss xmm0, dword [rbp + 0x50]
addss xmm0, dword [0x14008c0e0]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movsd xmm2, qword [rbx + 0x4768]
subss xmm6, xmm1
mulss xmm6, dword [0x14008c0bc]
movsd qword [rbp + 0x70], xmm2
addss xmm2, xmm6
movss dword [rbp + 0x70], xmm2
subss xmm7, dword [rbp + 0x54]
mulss xmm7, dword [0x14008c0bc]
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.140006280
test eax, 0xff000000
je 0x140051040
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, [0x14008ac75]
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.14002bd00
mov rbx, qword [0x1400cfdf0]
mov rdx, qword [rbx + 0x3ec0]
cmp byte [rbx + 0x48e3], 0
je 0x140051085
cmp byte [rbx + 0x48e2], 0
jne 0x140051085
test byte [rbx + 0x4760], 4
jne 0x1400511dd
mov eax, dword [rbx + 0x48a8]
cmp eax, dword [rbx + 0x475c]
jne 0x1400511dd
test eax, eax
jne 0x140051156
jmp 0x1400511dd
mov eax, dword [rbx + 0x4764]
test al, 1
je 0x1400511dd
cmp qword [rbx + 0x3ec8], rdx
je 0x1400510a4
test al, al
jns 0x1400511dd
mov eax, dword [rbx + 0x3f20]
test eax, eax
je 0x1400510c8
cmp eax, dword [rbx + 0x475c]
je 0x1400510c8
cmp byte [rbx + 0x3f2d], 0
jne 0x1400510c8
cmp eax, dword [rdx + 0x74]
jne 0x1400511dd
mov rcx, qword [rbx + 0x48a0]
test rcx, rcx
je 0x140051131
mov rcx, qword [rcx + 0x370]
test rcx, rcx
je 0x140051131
cmp byte [rcx + 0xaf], 0
je 0x140051131
mov rax, qword [rdx + 0x370]
cmp rcx, rax
je 0x140051131
mov r8d, dword [rcx + 0xc]
bt r8d, 0x1b
jb 0x140051107
bt r8d, 0x1a
jae 0x140051131
cmp qword [rax + 0x370], rcx
je 0x140051131
cmp rax, rcx
je 0x140051131
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140051110
test dword [rbx + 0x4760], 0x100
je 0x1400511dd
test byte [rbx + 0x4760], 4
jne 0x1400511dd
mov eax, dword [rdx + 0x74]
cmp dword [rbx + 0x475c], eax
jne 0x140051156
cmp byte [rdx + 0xb0], 0
jne 0x1400511dd
xor ecx, ecx
call fcn.140015fd0
mov rax, qword [0x1400cfdf0]
movss xmm0, dword [rax + 0x3c20]
mulss xmm0, dword [0x14008c174]
call fcn.1400125b0
lea rax, str.Installing_Steamtools...
lea rcx, str.Click_to_install_Steamtools_or_Reinstall
cmp byte [0x1400d0230], 0
cmovne rcx, rax
xor edx, edx
call fcn.14002e830
mov rcx, qword [0x1400cfdf0]
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.140011f40
mov ecx, 1
call fcn.140006520
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14005122c
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14007aa70
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