Function at 0x4023c0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40478e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x407008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Updating_game..
push 0x401d30
call fcn.00401b10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp + 8]
lea esi, [ebp - 0x13]
test ecx, ecx
jns 0x402453
neg ecx
mov dword [ebp + 8], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, eax
mov dword [ebp + 8], eax
add cl, 0x30
mov dword [ebp + 8], edx
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x402420
dec esi
mov byte [esi], 0x2d
jmp 0x402480
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, eax
mov dword [ebp + 8], eax
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x402453
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.004034e0
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x48]
sub eax, ecx
cmp eax, 0x20
jb 0x4028d7
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
push 0x20
push str.steamcmd.exe_force_install_dir
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xa4]
call fcn.00401fe0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x90]
mov eax, edx
mov ecx, dword [ebp - 0x94]
sub eax, ecx
push 0x1e
push str._login_anonymous_app_update
cmp eax, 0x1e
jb 0x40251b
cmp edx, 0x10
lea esi, [ebp - 0xa4]
lea eax, [ecx + 0x1e]
cmovae esi, dword [ebp - 0xa4]
add esi, ecx
mov dword [ebp - 0x94], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x1e], 0
lea eax, [ebp - 0xa4]
jmp 0x40252f
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x5c]
push 0x1e
call fcn.00401e10
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x60]
cmovae edx, edi
mov esi, dword [ebp - 0x64]
sub eax, esi
mov ecx, dword [ebp - 0x48]
push ecx
push edx
cmp ecx, eax
ja 0x4025b0
cmp dword [ebp - 0x60], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov byte [esi + eax], 0
lea eax, [ebp - 0x74]
jmp 0x4025c3
mov byte [ebp - 0x5c], 0
push dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00401e10
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78]
mov eax, edx
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
push 6
push str._quit
cmp eax, 6
jb 0x402647
cmp edx, 0x10
lea esi, [ebp - 0x8c]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0x8c]
add esi, ecx
mov dword [ebp - 0x7c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
lea eax, [ebp - 0x8c]
jmp 0x40265b
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x5c]
push 6
call fcn.00401e10
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x4026cd
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4026c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402758
push ecx
push edx
call fcn.00403a77
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x402716
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40270c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402758
push ecx
push edx
call fcn.00403a77
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x402768
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40275e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40275e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403a77
add esp, 8
mov ecx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp eax, 0xb
jb 0x4028dc
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push 0xb
push str.Executing:
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xbc]
call fcn.00401fe0
mov byte [ebp - 4], 8
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmovae edx, dword [ebp - 0xbc]
push 0x401d30
push dword [ebp - 0xac]
call fcn.00403600
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x40282e
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402824
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403a77
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0x10
jb 0x402873
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402869
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028aa
push ecx
push edx
call fcn.00403a77
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x4028ba
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4028b0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4028b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00403a77
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004037e8
mov esp, ebp
pop ebp
ret 4
call fcn.00401170
call fcn.00401170
int3