Function at 0x4028dd
Capabilities:
Execute command

Disassembly:
push 0x158
mov eax, 0x462451
call fcn.00461ef6
push str.SOFTWAREValveSteam
lea ecx, [ebp - 0x88]
xor ebx, ebx
call fcn.004039b5
push str.SteamPath
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], ebx
call fcn.004039b5
push str.AutoLoginUser
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.004039b5
push str.SteamExe
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004039b5
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401b1c
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x130]
call fcn.00401b1c
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x30], ebx
je 0x402e1c
call fcn.00401965
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4029bb
mov ecx, esi
call fcn.00401f49
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, str._config_save_loginusers.vdf
lea edx, [ebp - 0x40]
push ebx
lea ecx, [ebp - 0x70]
call fcn.00404287
pop ecx
cmp dword [eax + 0x14], 0xf
jbe 0x4029d5
mov eax, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00403e44
lea ecx, [ebp - 0x70]
mov edi, 0x4041e0
test esi, esi
jne 0x402a50
push ebx
lea edx, [ebp - 0x40]
call fcn.00404287
pop ecx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.0040147d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00403e44
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_the_key__leave_empty_to_restore_to
push edi
call fcn.0040402f
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.004041ca
mov edx, 0x472528
mov ecx, eax
call fcn.0040402f
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_____]
jmp 0x402ab1
lea eax, [ebp - 0x40]
mov edx, str.mkdir__
push eax
call fcn.00404235
pop ecx
push 0xd
push str.config_save_
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00403e44
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004024e1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_the_key__leave_empty_to_logout_:
call fcn.0040402f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x58]
call fcn.0040420f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00403e44
cmp dword [ebp - 0x48], 0
jne 0x402b5d
push ebx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00404287
pop ecx
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0040147d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00403e44
lea ecx, [ebp - 0x40]
call fcn.00402703
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x88]
call fcn.004021bd
pop ecx
pop ecx
test al, al
je 0x402b4f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Restored_session_for
push edi
call fcn.0040402f
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.004041ca
mov edx, str.._You_can_now_start_steam_normally.
mov ecx, eax
call fcn.0040402f
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_____]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea ecx, [ebp - 0x28]
jmp 0x402e12
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Found_Steam_executable_path:
push edi
call fcn.0040402f
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.004041ca
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_____]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004039ee
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00401e0b
push edi
test al, al
je 0x402df4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Folder_created_successfully.
call fcn.0040402f
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_____]
push str.https:__loyaltyshop.cc_connect_
lea ecx, [ebp - 0x28]
call fcn.004039b5
push str..zip
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.00404287
push eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.004022a5
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.00403e44
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00403e44
push edi
test bl, bl
je 0x402ded
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Download_completed_successfully.
call fcn.0040402f
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_____]
push str._config_
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x100]
call fcn.00404287
mov esi, eax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x164]
mov dword [esp], str._zips_
call fcn.00404287
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x14c]
call fcn.0040397c
push 4
push str..zip
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x15
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x28]
call fcn.0040397c
mov edx, esi
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
call fcn.00401710
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00403e44
lea ecx, [ebp - 0x14c]
call fcn.00403e44
lea ecx, [ebp - 0x164]
call fcn.00403e44
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
call fcn.00403e44
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Decompressed_the_archived
push edi
test bl, bl
jne 0x402cef
mov edx, str.Could_not_decompress_the_archive
call fcn.0040402f
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_____]
push str._config_
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x100]
call fcn.00404287
pop ecx
push 0xe
push str.loginusers.vdf
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00403ec8
push eax
lea ecx, [ebp - 0x14c]
call fcn.0040397c
lea edx, [ebp - 0x14c]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x70]
call fcn.0040147d
lea ecx, [ebp - 0x14c]
call fcn.00403e44
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x1b
call fcn.00403e44
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x88]
call fcn.004021bd
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edi
test al, al
je 0x402dd1
mov edx, str.___AutoLogin_set.
call fcn.0040402f
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_____]
push str._steam.exe
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x164]
call fcn.00404287
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00402441
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1b
mov bl, al
call fcn.00403e44
test bl, bl
je 0x402de3
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Starting_steam...
push edi
jmp 0x402dd6
mov edx, str.Failed_to_write_registry_value.
call fcn.0040402f
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_____]
lea ecx, [ebp - 0x70]
call fcn.00403e44
jmp 0x402e0c
mov edx, str.Download_failed.
jmp 0x402df9
mov edx, str.Failed_to_create_folder.
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.0040402f
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_____]
lea ecx, [ebp - 0xb8]
call fcn.00403e44
mov esi, dword [ebp - 0x44]
jmp 0x402e39
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_read_Steam_registry_value.
push 0x4041e0
call fcn.0040402f
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_____]
cmp esi, 0xf
jbe 0x402e49
mov ecx, dword [ebp - 0x58]
lea edx, [esi + 1]
call fcn.004046b4
lea ecx, [ebp - 0x130]
call fcn.00403e44
lea ecx, [ebp - 0x40]
call fcn.00403e44
lea ecx, [ebp - 0xd0]
call fcn.00403e44
lea ecx, [ebp - 0xa0]
call fcn.00403e44
lea ecx, [ebp - 0xe8]
call fcn.00403e44
lea ecx, [ebp - 0x88]
call fcn.00403e44
xor eax, eax
inc eax
call fcn.00461eb4
ret