Function at 0x402fc0
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Create thread
Get common file path
Hide graphical window
Query or enumerate registry value
Read .ini file
Read file on windows
Resume thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40cbff
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x415008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x370]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x26c], 0
mov dword [ebp - 0x210], 0xf
mov dword [ebp - 0x214], 0
mov byte [ebp - 0x224], 0
mov dword [ebp - 0x1b0], 0xf
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 0x1c4], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x1e0], 0xf
mov dword [ebp - 0x1e4], 0
mov byte [ebp - 0x1f4], 0
mov dword [ebp - 0x270], 0xf
mov dword [ebp - 0x274], 0
mov byte [ebp - 0x284], 0
mov dword [ebp - 0x288], 0xf
mov dword [ebp - 0x28c], 0
mov byte [ebp - 0x29c], 0
xor eax, eax
mov dword [ebp - 0x1f8], 0xf
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 0x20c], al
mov dword [ebp - 0x1c8], 0xf
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 0x1dc], al
mov dword [ebp - 0x2a0], 0xf
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2b4], al
mov dword [ebp - 0x2b8], 0xf
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2cc], al
mov byte [ebp - 4], 0xd
mov edi, 0x104
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 0x335], al
mov edx, 2
nop dword [eax + eax]
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00407ab7
mov esi, eax
add esp, 4
mov dword [ebp - 0x344], esi
push edi
push esi
push 0
mov byte [ebp - 4], 0xe
call ebx
cmp eax, edi
jne 0x4031da
add edi, 0x104
mov byte [ebp - 4], 0xd
mov edx, 2
test esi, esi
je 0x403190
push esi
call fcn.00407ae3
add esp, 4
jmp 0x403186
xor eax, eax
mov dword [ebp - 0x180], 7
mov dword [ebp - 0x184], 0
mov word [ebp - 0x194], ax
cmp word [esi], ax
jne 0x403200
xor ecx, ecx
jmp 0x403214
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403205
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x194]
call fcn.00401d90
lea edx, [ebp - 0x194]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14c]
call fcn.00401430
push eax
lea ecx, [ebp - 0x254]
call fcn.00405e40
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x403296
mov ecx, dword [ebp - 0x14c]
inc eax
cmp eax, 0x1000
jb 0x40328d
test cl, 0x1f
je 0x403266
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403273
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403280
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x40328b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp eax, 8
jb 0x4032c9
inc eax
push eax
push dword [ebp - 0x194]
call fcn.004012d0
push esi
mov byte [ebp - 4], 0xd
call fcn.00407ae3
add esp, 4
mov byte [ebp - 0x330], 0x5c
lea eax, [ebp - 0x330]
push 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00405f90
mov esi, eax
cmp esi, 0xffffffff
je 0x403420
push esi
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00405d30
push eax
lea ecx, [ebp - 0x23c]
call fcn.00405e40
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x403369
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x403360
test cl, 0x1f
je 0x403339
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403346
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403353
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x40335e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
inc esi
cmp dword [ebp - 0x244], esi
jb 0x403420
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00405d30
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405e40
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4033e2
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x4033d9
test cl, 0x1f
je 0x4033b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4033bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x4033cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x4033d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
push 4
push ecx
push 0x412258
lea ecx, [ebp - 0x26c]
call fcn.00405f90
cmp eax, 0xffffffff
je 0x403420
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405d30
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x403480
lea eax, [ebp - 0x39c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x360]
mov dword [ebp - 0x360], str.Unable_to_determine_current_directory
xorps xmm0, xmm0
mov byte [ebp - 0x35c], 1
push eax
movq qword [ebp - 0x39c], xmm0
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
add esp, 8
lea eax, [ebp - 0x3a0]
push 0x4137a4
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00407ab7
mov esi, eax
add esp, 4
mov dword [ebp - 0x344], esi
push esi
push edi
mov byte [ebp - 4], 0x10
call ebx
test eax, eax
jne 0x4034fd
lea eax, [ebp - 0x390]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x360]
mov dword [ebp - 0x360], str.Unable_to_get_current_directory
xorps xmm0, xmm0
mov byte [ebp - 0x35c], 1
push eax
movq qword [ebp - 0x390], xmm0
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
add esp, 8
lea eax, [ebp - 0x394]
push 0x4137a4
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
xor eax, eax
mov dword [ebp - 0x180], 7
mov dword [ebp - 0x184], 0
mov word [ebp - 0x194], ax
cmp word [esi], ax
jne 0x403523
xor ecx, ecx
jmp 0x40353f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403530
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x194]
call fcn.00401d90
lea edx, [ebp - 0x194]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x14c]
call fcn.00401430
push eax
lea ecx, [ebp - 0x224]
call fcn.00405e40
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x4035c1
mov ecx, dword [ebp - 0x14c]
inc eax
cmp eax, 0x1000
jb 0x4035b8
test cl, 0x1f
je 0x403591
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40359e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x4035ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x4035b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp eax, 8
jb 0x4035f4
inc eax
push eax
push dword [ebp - 0x194]
call fcn.004012d0
push esi
mov byte [ebp - 4], 0xd
call fcn.00407ae3
add esp, 4
mov byte [ebp - 0x330], 0
mov ebx, 1
mov dword [ebp - 0x34c], ebx
cmp ebx, dword [ebp - 0x370]
jge 0x403f8d
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x180], 7
mov dword [ebp - 0x184], 0
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x194], ax
cmp word [edx], ax
jne 0x40364e
xor ecx, ecx
jmp 0x403662
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403653
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x194]
call fcn.00401d90
lea edx, [ebp - 0x194]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1ac]
call fcn.00401430
mov eax, dword [ebp - 0x180]
cmp eax, 8
jb 0x40369c
inc eax
push eax
push dword [ebp - 0x194]
call fcn.004012d0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x19c]
test eax, eax
jne 0x4036d4
mov dword [ebp - 0x13c], eax
mov byte [ebp + eax - 0x14c], al
jmp 0x4036e2
push 0
push eax
lea ecx, [ebp - 0x14c]
call fcn.00407460
cmp dword [ebp - 0x138], 0x10
lea ebx, [ebp - 0x14c]
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x1ac]
cmovae ebx, dword [ebp - 0x14c]
lea edi, [ebp - 0x1ac]
cmp dword [ebp - 0x198], 0x10
cmovae ecx, dword [ebp - 0x1ac]
add eax, ecx
cmp dword [ebp - 0x198], 0x10
mov dword [ebp - 0x344], eax
cmovae edi, dword [ebp - 0x1ac]
nop dword [eax]
cmp edi, eax
je 0x40374d
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [ebx], al
add esp, 4
mov eax, dword [ebp - 0x344]
inc edi
inc ebx
jmp 0x403730
push 4
push ecx
push str..ini
lea ecx, [ebp - 0x14c]
call fcn.00406050
cmp eax, 0xffffffff
je 0x403994
push 1
push ecx
push 0x412250
lea ecx, [ebp - 0x1ac]
call fcn.00406050
cmp eax, 0xffffffff
lea eax, [ebp - 0x1ac]
je 0x40379c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1c4]
call fcn.00401fa0
jmp 0x4038c9
cmp dword [ebp - 0x198], 0x10
lea edx, [ebp - 0x224]
cmovae eax, dword [ebp - 0x1ac]
cmp byte [eax], 0x5c
jne 0x4037d8
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406490
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
jmp 0x403821
push 0x412254
lea ecx, [ebp - 0x17c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406540
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x17c]
call fcn.00402a90
lea ecx, [ebp - 0x1c4]
call fcn.00402bc0
test al, al
jne 0x4038c9
cmp dword [ebp - 0x198], 0x10
lea eax, [ebp - 0x1ac]
lea edx, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x1ac]
cmp byte [eax], 0x5c
jne 0x40387b
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406490
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
jmp 0x4038c4
push 0x412254
lea ecx, [ebp - 0x17c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x17
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406540
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x17c]
call fcn.00402a90
push 0x100
lea eax, [ebp - 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x134]
call fcn.00401520
cmp dword [eax + 0x14], 8
jb 0x4038fb
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x403920
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.004012d0
cmp word [ebp - 0x134], 0
je 0x40396a
nop word [eax + eax]
push str.steamclient32
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x403a54
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403950
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], ax
jne 0x403930
cmp byte [ebp - 0x330], 0
jne 0x403994
cmp dword [ebp - 0x1b0], 0x10
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1b4], 0
cmovae eax, dword [ebp - 0x1c4]
mov byte [eax], 0
push 0x4122cc
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403b36
push str._launch
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403b36
mov esi, dword [ebp - 0x370]
mov edi, dword [ebp - 0x34c]
push 0x4122dc
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x4039fc
push 0x4122e4
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
jne 0x403d47
lea ebx, [edi + 1]
cmp ebx, esi
jge 0x403d47
mov eax, dword [ebp - 0x33c]
push dword [eax + ebx*4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov byte [ebp - 4], 0x14
add esp, 4
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x348], eax
cmp ecx, 0x10
jb 0x403c9d
mov edx, dword [ebp - 0x14c]
inc ecx
cmp ecx, 0x1000
jb 0x403d41
test dl, 0x1f
je 0x403d1a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x138]
mov byte [ebp - 0x330], 1
cmp eax, 0x10
jb 0x403ab3
mov ecx, dword [ebp - 0x14c]
inc eax
cmp eax, 0x1000
jb 0x403aaa
test cl, 0x1f
je 0x403a83
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403a90
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403a9d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x403aa8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp eax, 0x10
jb 0x403f81
mov ecx, dword [ebp - 0x1ac]
inc eax
cmp eax, 0x1000
jb 0x403b21
test cl, 0x1f
je 0x403afa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403b07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403b14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x403b1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
mov ebx, dword [ebp - 0x34c]
add esp, 4
inc ebx
jmp 0x40360d
mov edi, dword [ebp - 0x34c]
mov esi, dword [ebp - 0x370]
lea ebx, [edi + 1]
cmp ebx, esi
jge 0x4039d0
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x150], 7
mov dword [ebp - 0x154], 0
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x164], ax
cmp word [edx], ax
jne 0x403b7c
xor ecx, ecx
jmp 0x403b90
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403b81
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x164]
call fcn.00401d90
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x194]
call fcn.00401430
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00405e40
mov eax, dword [ebp - 0x180]
cmp eax, 0x10
jb 0x403c12
mov ecx, dword [ebp - 0x194]
inc eax
cmp eax, 0x1000
jb 0x403c09
test cl, 0x1f
je 0x403be2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403bef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403bfc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x403c07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
cmp eax, 8
jb 0x403c45
inc eax
push eax
push dword [ebp - 0x164]
call fcn.004012d0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x403c9d
mov ecx, dword [ebp - 0x14c]
inc eax
cmp eax, 0x1000
jb 0x403c94
test cl, 0x1f
je 0x403c6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403c7a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403c87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x403c92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp eax, 0x10
jb 0x403f87
mov ecx, dword [ebp - 0x1ac]
inc eax
cmp eax, 0x1000
jb 0x403d0b
test cl, 0x1f
je 0x403ce4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403cf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x403cfe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x403d09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
inc ebx
jmp 0x40360d
mov eax, dword [edx - 4]
cmp eax, edx
jb 0x403d27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub edx, eax
cmp edx, 4
jae 0x403d34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 0x23
jbe 0x403d3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, eax
push edx
jmp 0x403c95
push 0x4122ec
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403d73
push str._personaname
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
jne 0x403e2c
lea ebx, [edi + 1]
cmp ebx, esi
jge 0x403e2c
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x150], 7
mov dword [ebp - 0x154], 0
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x164], ax
cmp word [edx], ax
jne 0x403dad
xor ecx, ecx
jmp 0x403dc1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403db2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x164]
call fcn.00401d90
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.00401430
lea ecx, [ebp - 0x29c]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
mov eax, dword [ebp - 0x150]
cmp eax, 8
jb 0x403e0c
inc eax
push eax
push dword [ebp - 0x164]
call fcn.004012d0
lea ecx, [ebp - 0x14c]
call fcn.00402a90
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xd
call fcn.00402a90
inc ebx
jmp 0x40360d
push 0x41230c
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403e54
push str._language
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
jne 0x403ec9
lea ebx, [edi + 1]
cmp ebx, esi
jge 0x403ec9
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x150], 7
mov dword [ebp - 0x154], 0
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x164], ax
cmp word [edx], ax
jne 0x403e8a
xor ecx, ecx
jmp 0x403e9f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x164]
call fcn.00401d90
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
call fcn.00401430
lea ecx, [ebp - 0x284]
jmp 0x403de6
push 0x412324
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403f60
push str._sseinject
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403f60
push 0x41233c
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403f31
push str._help
lea ecx, [ebp - 0x14c]
call fcn.00406dc0
test eax, eax
je 0x403f31
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00405b70
jmp 0x403f67
push 0
push str.steamclient32
push str.Usage:_steamclientloadr.exe__appid_123__launch_mygame.exe__language_english
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14c]
call fcn.00402a90
lea ecx, [ebp - 0x1ac]
call fcn.00402a90
jmp 0x4058f0
mov byte [ebp - 0x335], 1
lea ecx, [ebp - 0x14c]
call fcn.00402a90
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xd
call fcn.00402a90
mov ebx, dword [ebp - 0x34c]
inc ebx
jmp 0x40360d
cmp byte [ebp - 0x330], 0
jne 0x4041bf
push 0x412254
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x2c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1b
push ecx
mov edx, eax
lea ecx, [ebp - 0x14c]
call fcn.00406540
add esp, 4
push ecx
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x164]
call fcn.00406650
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
jb 0x404038
mov ecx, dword [ebp - 0x164]
inc eax
cmp eax, 0x1000
jb 0x40402f
test cl, 0x1f
jne 0x403cde
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x403cde
sub ecx, eax
cmp ecx, 4
jb 0x403cde
cmp ecx, 0x23
ja 0x403cde
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
cmp eax, 0x10
jb 0x4040a3
mov ecx, dword [ebp - 0x14c]
inc eax
cmp eax, 0x1000
jb 0x40409a
test cl, 0x1f
jne 0x403cde
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x403cde
sub ecx, eax
cmp ecx, 4
jb 0x403cde
cmp ecx, 0x23
ja 0x403cde
mov ecx, eax
push ecx
call fcn.00407817
add esp, 4
push 0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x138], 0xf
call fcn.00402b00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
lea ecx, [ebp - 0x1c4]
call fcn.00402bc0
test al, al
jne 0x4041bf
push 0x412254
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x164]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1d
push ecx
mov edx, eax
lea ecx, [ebp - 0x17c]
call fcn.00406540
add esp, 4
push ecx
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2c]
call fcn.00406650
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x17c]
call fcn.00402a90
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xd
call fcn.00402a90
lea ecx, [ebp - 0x1c4]
call fcn.00402bc0
test al, al
jne 0x4041bf
push str._steamclient32.ini
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x2c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x1c4]
call fcn.00402bc0
test al, al
jne 0x4041bf
push str._steamclient32.ini
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1c4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea eax, [ebp - 0x1c4]
push eax
call fcn.00401620
cmp dword [ebp - 0x1e4], 0
jne 0x404200
push 0x412af7
push str.Target
push str.Launcher
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push 0x412af7
push str.CommandLine
push str.Launcher
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x20c]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push 0x412af7
push str.StartIn
push str.Launcher
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push 0x412af7
push str.SteamClientPath
push str.Launcher
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push 0x412af7
push str.SteamClientPath64
push str.Launcher
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x2cc]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push ecx
push str.Persist
push str.Launcher
call fcn.004016d0
push ecx
test eax, eax
push str.AppendAppIdToProcess
push str.Launcher
setne byte [ebp - 0x351]
call fcn.004016d0
push ecx
test eax, eax
push str.ParanoidMode
push str.Launcher
setne bh
call fcn.004016d0
test eax, eax
setne byte [ebp - 0x330]
cmp byte [ebp - 0x335], 0
jne 0x404319
push ecx
push str.InjectDll
push str.Launcher
call fcn.004016d0
test eax, eax
setne byte [ebp - 0x335]
mov edi, dword [ebp - 0x348]
test edi, edi
jne 0x404335
push ecx
push str.AppId
push str.SmartSteamEmu
call fcn.004016d0
mov edi, eax
cmp dword [ebp - 0x28c], 0
jne 0x40436a
push 0x41249c
push str.PersonaName
push str.SmartSteamEmu
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x29c]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
cmp dword [ebp - 0x274], 0
jne 0x40439f
push str.English
push 0x4124b4
push str.SmartSteamEmu
lea eax, [ebp - 0x2c]
push eax
call fcn.00401830
push eax
lea ecx, [ebp - 0x284]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
cmp dword [ebp - 0x1cc], 0
je 0x4043bd
lea ecx, [ebp - 0x1dc]
call fcn.00405df0
cmp byte [eax], 0x5c
jne 0x4043bd
call fcn.00405e10
test edi, edi
jne 0x404585
push str._steam_appid.txt
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x14c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1f
call fcn.00402bc0
test al, al
jne 0x404454
push str._steam_appid.txt
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x2c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x14c]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x14c]
call fcn.00402bc0
test al, al
jne 0x404454
push str._steam_appid.txt
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x14c]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push 0x4124d4
lea ecx, [ebp - 0x14c]
call fcn.00402690
push eax
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x4044c6
push dword [ebp - 0x348]
lea eax, [ebp - 0x34]
push 1
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 0x348]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4044c6
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
jmp 0x40458b
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 4
push str.steamclient32
push 0x4124d8
push 0
call esi
cmp eax, 7
jne 0x4044b2
lea ecx, [ebp - 0x14c]
call fcn.00402a90
lea ecx, [ebp - 0x2cc]
call fcn.00402a90
lea ecx, [ebp - 0x2b4]
call fcn.00402a90
lea ecx, [ebp - 0x1dc]
call fcn.00402a90
lea ecx, [ebp - 0x20c]
call fcn.00402a90
lea ecx, [ebp - 0x29c]
call fcn.00402a90
lea ecx, [ebp - 0x284]
call fcn.00402a90
lea ecx, [ebp - 0x1f4]
call fcn.00402a90
lea ecx, [ebp - 0x36c]
call fcn.00405c50
lea ecx, [ebp - 0x1c4]
call fcn.00402a90
lea ecx, [ebp - 0x224]
call fcn.00402a90
lea ecx, [ebp - 0x26c]
call fcn.00402a90
lea ecx, [ebp - 0x23c]
call fcn.00402a90
lea ecx, [ebp - 0x254]
call fcn.00402a90
mov eax, 1
jmp 0x405981
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x1e4], 0
jne 0x4045a9
push 0
push str.steamclient32
push str.Unable_to_launch_games__no_game_.exe_specified._Specify_Target_correctly_in_emulator_configuration_file.
push 0
call esi
jmp 0x4044ec
push ecx
lea ecx, [ebp - 0x1f4]
call fcn.004027c0
cmp byte [eax], 0x5c
jne 0x4045db
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.00405d30
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push ecx
push 0x412250
lea ecx, [ebp - 0x1f4]
call fcn.00405db0
push ecx
cmp eax, 0xffffffff
lea ecx, [ebp - 0x1f4]
push 0x412254
setne bl
call fcn.00405d70
cmp dword [ebp - 0x1cc], 0
jne 0x40463a
test bl, bl
je 0x404784
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00405d30
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
test bl, bl
jne 0x404692
push 0x412254
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x17c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x24
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406540
add esp, 4
lea ecx, [ebp - 0x1f4]
push eax
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x224]
call fcn.00402e90
add esp, 4
lea eax, [ebp - 0x2cc]
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x224]
push eax
call fcn.00402e90
add esp, 4
test bh, bh
je 0x404714
push 0
push edi
lea ecx, [ebp - 0x17c]
call fcn.00407410
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x25
call fcn.00406680
add esp, 4
push eax
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x26
call fcn.00405cb0
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
mov eax, dword [ebp - 0x36c]
lea esi, [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
nop word [eax + eax]
cmp eax, dword [ebp - 0x368]
je 0x404889
cmp dword [ebp - 0x1fc], 0
je 0x40475c
lea ecx, [ebp - 0x20c]
call fcn.00405df0
cmp byte [eax], 0x20
je 0x40475c
push 0x20
call fcn.00407250
push dword [esi]
lea ecx, [ebp - 0x20c]
call fcn.00407230
push ecx
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00405b50
mov eax, dword [ebp - 0x33c]
jmp 0x404730
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00407440
push 0x412254
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x17c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x20
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406540
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00402bc0
test al, al
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00402a90
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
test bl, bl
je 0x40463e
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00407440
push 0x412254
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x17c]
call fcn.00406570
add esp, 4
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x22
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406540
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.00402bc0
test al, al
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00402a90
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
test bl, bl
je 0x40463e
push str.Unable_to_find_game_executable._Verify_your_StartIn_folder_and_Target_setup_in_configuration_file.
lea ecx, [ebp - 0x3b0]
call fcn.00407590
push 0x4137a4
lea eax, [ebp - 0x3b0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov esi, dword [ebp - 0x1fc]
test esi, esi
je 0x4048c6
lea ecx, [ebp - 0x20c]
call fcn.00405df0
cmp byte [eax], 0x20
jne 0x4048c6
lea eax, [esi - 1]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00405d30
push eax
lea ecx, [ebp - 0x20c]
call fcn.00405e40
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push str.SteamAppId
lea ecx, [ebp - 0x2c]
call fcn.004021c0
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x27
call fcn.00402d70
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push str.SteamGameId
lea ecx, [ebp - 0x17c]
call fcn.004021c0
push 0
push edi
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x28
call fcn.00402d70
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x17c]
call fcn.00402a90
push str.SteamAppVersionId
lea ecx, [ebp - 0x2c]
call fcn.004021c0
push 0
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
call fcn.00402d70
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push str.SteamUser
lea ecx, [ebp - 0x17c]
call fcn.004021c0
lea edx, [ebp - 0x29c]
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x17c]
call fcn.00402c60
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SteamAppUser
lea ecx, [ebp - 0x2c]
call fcn.004021c0
lea edx, [ebp - 0x29c]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x2c]
call fcn.00402c60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SteamPath
lea ecx, [ebp - 0x17c]
call fcn.004021c0
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x17c]
call fcn.00402c60
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.ValvePlatformMutex
lea ecx, [ebp - 0x2c]
call fcn.004021c0
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2c]
call fcn.00402c60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00402a90
push str.SSEConfigPath
lea ecx, [ebp - 0x17c]
call fcn.004021c0
lea edx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x17c]
call fcn.00402c60
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SSELaunchParam
lea ecx, [ebp - 0x2c]
call fcn.004021c0
lea edx, [ebp - 0x20c]
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x2c]
call fcn.00402c60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
cmp byte [ebp - 0x335], 0
mov ecx, 0x4127ec
mov eax, 0x4127e8
cmove eax, ecx
lea ecx, [ebp - 0x17c]
push eax
call fcn.004021c0
push str.SSEInject
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x30
call fcn.004021c0
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x2c]
call fcn.00402c60
lea ecx, [ebp - 0x2c]
call fcn.00402a90
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SSEStartIn
lea ecx, [ebp - 0x164]
call fcn.004021c0
lea edx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x164]
call fcn.00402c60
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SSEPersonaName
lea ecx, [ebp - 0x2c]
call fcn.004021c0
lea edx, [ebp - 0x29c]
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x2c]
call fcn.00402c60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00402a90
push str.SSELanguage
lea ecx, [ebp - 0x17c]
call fcn.004021c0
lea edx, [ebp - 0x284]
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x17c]
call fcn.00402c60
lea ecx, [ebp - 0x17c]
call fcn.00402a90
mov dword [ebp - 0x334], 0
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x358], 0
call fcn.004026b0
lea ecx, [ebp - 0x314]
call fcn.004026b0
lea ecx, [ebp - 0x2fc]
call fcn.004026b0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x38
push eax
push 7
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404bed
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 6
push 0
push 0
push 0
push str.SoftwareValveSteam
push 0x80000001
call edi
cmp dword [ebp - 0x334], 0
je 0x404cda
push 0x104
lea ecx, [ebp - 0x2fc]
call fcn.00407110
lea eax, [ebp - 0x340]
mov dword [ebp - 0x340], 0x104
push eax
push ecx
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x344], 1
call fcn.00402310
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x344]
push eax
push 0
push str.Language
push dword [ebp - 0x334]
call esi
mov eax, dword [ebp - 0x340]
lea ecx, [ebp - 0x2fc]
shr eax, 1
push eax
call fcn.00407110
cmp dword [ebp - 0x274], 0
je 0x404cc6
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x164]
call fcn.00401520
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x164]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 1
push 0
push str.Language
push dword [ebp - 0x334]
call ebx
lea ecx, [ebp - 0x164]
call fcn.00401330
push dword [ebp - 0x334]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ce6
push dword [ebp - 0x334]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ce6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x334]
push eax
push 7
push 0
push str.SoftwareValveSteamActiveProcess
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404d29
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 6
push 0
push 0
push 0
push str.SoftwareValveSteamActiveProcess
push 0x80000001
call edi
cmp dword [ebp - 0x334], 0
je 0x4051c3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x358]
mov dword [ebp - 0x340], 4
push eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 4
push eax
push 0
push 0x412874
push dword [ebp - 0x334]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x104
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x340], 0x104
mov dword [ebp - 0x33c], 1
call fcn.00407110
lea eax, [ebp - 0x340]
push eax
push ecx
lea ecx, [ebp - 0x32c]
call fcn.00402310
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push 0x412878
push dword [ebp - 0x334]
call esi
mov eax, dword [ebp - 0x340]
lea ecx, [ebp - 0x32c]
shr eax, 1
push eax
call fcn.00407110
push 0x104
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x340], 0x104
mov dword [ebp - 0x33c], 1
call fcn.00407110
lea eax, [ebp - 0x340]
push eax
push ecx
lea ecx, [ebp - 0x314]
call fcn.00402310
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push str.SteamClientDll64
push dword [ebp - 0x334]
call esi
mov eax, dword [ebp - 0x340]
lea ecx, [ebp - 0x314]
shr eax, 1
push eax
call fcn.00407110
cmp byte [ebp - 0x330], 0
je 0x404f06
push dword [ebp - 0x358]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404f06
push 0x800
call fcn.00407ab7
add esp, 4
mov esi, eax
mov dword [ebp - 0x348], esi
push 0x400
push esi
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x404ef4
mov ecx, esi
call fcn.00407710
test eax, eax
je 0x404ef4
push 4
push str.SmartSteamEmu___Paranoid_mode
push str.Steam_process_detected__nDo_you_want_to_continue_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x404ef4
lea ecx, [ebp - 0x348]
call fcn.00405b40
lea ecx, [ebp - 0x350]
call fcn.00401370
lea ecx, [ebp - 0x2fc]
call fcn.00401330
lea ecx, [ebp - 0x314]
call fcn.00401330
lea ecx, [ebp - 0x32c]
call fcn.00401330
jmp 0x4044ec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x348]
call fcn.00405b40
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x2c]
call fcn.00401520
lea edx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x17c]
call fcn.00401520
push 4
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 0x3a
push eax
push 4
push 0
push 0x412874
push dword [ebp - 0x334]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
push eax
push 1
push 0
push 0x412878
push dword [ebp - 0x334]
call ebx
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x17c]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
push eax
push 1
push 0
push str.SteamClientDll64
push dword [ebp - 0x334]
call ebx
push dword [ebp - 0x334]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x350]
call fcn.004013a0
test al, al
je 0x4050b3
mov esi, dword [ebp - 0x34c]
test esi, esi
je 0x4051ae
mov eax, dword [esi]
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x358], eax
mov edi, dword [esi + 4]
add esi, 8
push esi
call fcn.004021c0
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x194]
call fcn.00401520
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00401b40
lea ecx, [ebp - 0x194]
call fcn.00401330
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x3a
call fcn.00402a90
add esi, edi
lea ecx, [ebp - 0x14c]
mov edi, dword [esi]
add esi, 4
push esi
call fcn.004021c0
lea edx, [ebp - 0x14c]
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x194]
call fcn.00401520
push eax
lea ecx, [ebp - 0x32c]
call fcn.00401b40
lea ecx, [ebp - 0x194]
call fcn.00401330
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x3a
call fcn.00402a90
lea eax, [edi + 4]
add eax, esi
lea ecx, [ebp - 0x164]
push eax
call fcn.004021c0
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x14c]
call fcn.00401520
push eax
lea ecx, [ebp - 0x314]
call fcn.00401b40
lea ecx, [ebp - 0x14c]
call fcn.00401330
lea ecx, [ebp - 0x164]
jmp 0x4051a9
lea ecx, [ebp - 0x350]
call fcn.004013e0
test al, al
je 0x4051ae
mov edi, dword [ebp - 0x34c]
test edi, edi
je 0x4051ae
lea edx, [ebp - 0x2fc]
lea ecx, [ebp - 0x194]
call fcn.00401430
lea edx, [ebp - 0x32c]
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x164]
call fcn.00401430
lea edx, [ebp - 0x314]
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x14c]
call fcn.00401430
mov eax, dword [ebp - 0x358]
lea ecx, [ebp - 0x194]
mov esi, dword [ebp - 0x184]
mov dword [edi], eax
mov dword [edi + 4], esi
add edi, 8
push esi
call fcn.00402690
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x164]
add edi, esi
add esp, 0xc
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x154]
call fcn.00402690
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x154]
lea ecx, [ebp - 0x14c]
mov eax, dword [ebp - 0x13c]
add esp, 0xc
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x13c]
call fcn.00402690
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x14c]
call fcn.00402a90
lea ecx, [ebp - 0x164]
call fcn.00402a90
lea ecx, [ebp - 0x194]
call fcn.00402a90
lea ecx, [ebp - 0x17c]
call fcn.00401330
lea ecx, [ebp - 0x2c]
call fcn.00401330
jmp 0x4051e0
push 4
push str.steamclient32
push str.Unable_to_modify_steam_registry_information._Game_may_not_start_with_the_emulator._n_nDo_you_want_to_continue_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x404ec3
push 0
push 0
push 0
push 0x405a90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x344], eax
call fcn.00401040
push 0x44
lea eax, [ebp - 0x434]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2e4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x384], xmm0
call fcn.004026b0
lea edx, [ebp - 0x20c]
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x194]
call fcn.00401520
mov esi, eax
lea edx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x14c]
call fcn.00401520
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x43
call fcn.004066b0
add esp, 4
push 0x412a3c
mov edx, eax
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x17c]
call fcn.004062b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x2c]
call fcn.00406370
add esp, 4
lea ecx, [ebp - 0x2e4]
push eax
call fcn.00401b40
lea ecx, [ebp - 0x2c]
call fcn.00401330
lea ecx, [ebp - 0x17c]
call fcn.00401330
lea ecx, [ebp - 0x164]
call fcn.00401330
lea ecx, [ebp - 0x14c]
call fcn.00401330
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x41
call fcn.00401330
cmp byte [ebp - 0x335], 0
lea ecx, [ebp - 0x2c]
jne 0x405417
lea edx, [ebp - 0x1dc]
call fcn.00401520
lea ecx, [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x434]
push ecx
mov ecx, eax
call fcn.00401ef0
push eax
push 0
push 4
push 1
push 0
push 0
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00402310
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
push eax
push 0
call edi
test eax, eax
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00401330
test bl, bl
je 0x4055e4
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x2c]
call fcn.00401520
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00401b40
lea ecx, [ebp - 0x2c]
call fcn.00401330
cmp dword [ebp - 0x2d4], 0
je 0x40537e
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00402310
mov esi, eax
jmp 0x405380
xor esi, esi
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x17c]
call fcn.00401520
mov ebx, eax
lea edx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x2c]
call fcn.00401520
mov edx, eax
mov ecx, ebx
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00401ef0
push eax
push 0
push 4
push 1
push 0
push 0
push esi
mov ecx, edx
call fcn.00401ef0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00401330
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x41
call fcn.00401330
test bl, bl
je 0x4055e4
push str.Unable_to_launch_game._Make_sure_the_Target_and_StartIn_folder_point_to_correct_path_and_folder.
lea ecx, [ebp - 0x3bc]
call fcn.00407590
push 0x4137a4
lea eax, [ebp - 0x3bc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.004026b0
lea edx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x17c]
call fcn.00401520
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b40
lea ecx, [ebp - 0x17c]
call fcn.00401330
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x164]
call fcn.00401520
mov edx, eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x48
call fcn.00401ef0
push eax
lea eax, [ebp - 0x384]
mov ecx, edx
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00401ef0
push eax
push 0
push 4
push 1
push 0
push 0
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00402310
push eax
push 0
call fcn.004084b0
add esp, 0x3c
mov byte [ebp - 4], 0x47
test eax, eax
lea ecx, [ebp - 0x164]
setne bl
call fcn.00401330
test bl, bl
je 0x4055d8
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x17c]
call fcn.00401520
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00401b40
lea ecx, [ebp - 0x17c]
call fcn.00401330
cmp dword [ebp - 0x2d4], 0
je 0x405501
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00402310
mov esi, eax
jmp 0x405503
xor esi, esi
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x14c]
call fcn.00401520
mov ebx, eax
lea edx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x164]
call fcn.00401520
mov edi, eax
lea edx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x17c]
call fcn.00401520
mov edx, eax
push 0
push 0
push 0
push 0
mov ecx, ebx
mov byte [ebp - 4], 0x4b
call fcn.00401ef0
push eax
lea eax, [ebp - 0x384]
mov ecx, edi
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00401ef0
push eax
push 0
push 4
push 1
push 0
push 0
push esi
mov ecx, edx
call fcn.00401ef0
push eax
call fcn.004084b0
add esp, 0x3c
lea ecx, [ebp - 0x17c]
test eax, eax
setne bl
call fcn.00401330
lea ecx, [ebp - 0x164]
call fcn.00401330
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x47
call fcn.00401330
test bl, bl
je 0x4055d8
push str.Unable_to_launch_game._Make_sure_the_Target_and_StartIn_folder_point_to_correct_path_and_folder.
lea ecx, [ebp - 0x3c8]
call fcn.00407590
push 0x4137a4
lea eax, [ebp - 0x3c8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x41
call fcn.00401330
sub esp, 0x18
mov ecx, esp
push 0x412ab0
call fcn.00401e90
push ecx
call fcn.00401270
push dword [ebp - 0x380]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x384]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x351], 0
je 0x405735
lea ecx, [ebp - 0x3f0]
call fcn.00401290
push 0
push 0x405a20
push 0
push 0x81
push dword [ebp - 0x35c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x35c], ebx
push eax
push ebx
call esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x188]
push 0
push eax
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
sub eax, dword [ebp - 0x180]
add eax, dword [ebp - 0x188]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x184]
add eax, dword [ebp - 0x18c]
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x405735
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
cmp eax, 0xffffffff
je 0x405735
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x35c]
call esi
test eax, eax
jne 0x405721
lea eax, [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x30]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x405700
push dword [ebp - 0x380]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x384]
call ebx
mov ebx, dword [ebp - 0x344]
lea eax, [ebp - 0x374]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push eax
push ebx
mov byte [0x42a05c], 1
call esi
test eax, eax
je 0x405790
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x374], 0x103
jne 0x405790
push 1
call edi
lea eax, [ebp - 0x374]
push eax
push ebx
call esi
test eax, eax
jne 0x405772
lea ecx, [ebp - 0x350]
call fcn.00401370
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x334]
push eax
push 6
push 0
push str.SoftwareValveSteam
push 0x80000001
call edi
test eax, eax
jne 0x405802
mov edx, dword [ebp - 0x334]
test edx, edx
je 0x405802
mov eax, dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2fc]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 1
push 0
push str.Language
push edx
call ebx
push dword [ebp - 0x334]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x40580e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x334]
push eax
push 6
push 0
push str.SoftwareValveSteamActiveProcess
push 0x80000001
call edi
test eax, eax
jne 0x4058ae
mov eax, dword [ebp - 0x334]
test eax, eax
je 0x4058ae
push 4
lea ecx, [ebp - 0x358]
push ecx
push 4
push 0
push 0x412874
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x31c]
lea ecx, [ebp - 0x32c]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
push eax
push 1
push 0
push 0x412878
push dword [ebp - 0x334]
call ebx
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x314]
lea eax, [eax*2 + 2]
push eax
call fcn.00401ef0
push eax
push 1
push 0
push str.SteamClientDll64
push dword [ebp - 0x334]
call ebx
push dword [ebp - 0x334]
call esi
lea ecx, [ebp - 0x2e4]
call fcn.00401330
lea ecx, [ebp - 0x3f0]
call fcn.00401090
lea ecx, [ebp - 0x350]
call fcn.00401370
lea ecx, [ebp - 0x2fc]
call fcn.00401330
lea ecx, [ebp - 0x314]
call fcn.00401330
lea ecx, [ebp - 0x32c]
call fcn.00401330
lea ecx, [ebp - 0x2cc]
call fcn.00402a90
lea ecx, [ebp - 0x2b4]
call fcn.00402a90
lea ecx, [ebp - 0x1dc]
call fcn.00402a90
lea ecx, [ebp - 0x20c]
call fcn.00402a90
lea ecx, [ebp - 0x29c]
call fcn.00402a90
lea ecx, [ebp - 0x284]
call fcn.00402a90
lea ecx, [ebp - 0x1f4]
call fcn.00402a90
lea ecx, [ebp - 0x36c]
call fcn.00405c50
lea ecx, [ebp - 0x1c4]
call fcn.00402a90
lea ecx, [ebp - 0x224]
call fcn.00402a90
lea ecx, [ebp - 0x26c]
call fcn.00402a90
lea ecx, [ebp - 0x23c]
call fcn.00402a90
lea ecx, [ebp - 0x254]
call fcn.00402a90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00407806
mov esp, ebp
pop ebp
ret 0x10