Function at 0x403790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40624a
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1bc], ecx
push 0x404200
mov dword [ebp - 0x168], 0
call fcn.004050ba
add esp, 4
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403836
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, str.failed_to_find_steam_registry
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402200
push 0x402420
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 eax, 1
jmp 0x4041ce
lea eax, [ebp - 0x130]
mov byte [ebp - 0x114], 0x22
push eax
lea eax, [ebp - 0x113]
mov dword [ebp - 0x130], 0x103
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14c]
test eax, eax
je 0x403881
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, str.failed_to_get_steam_path
jmp 0x403814
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1a4], 0
movups xmmword [ebp - 0x1b8], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4038b0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004030e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1a4]
mov eax, edx
mov ecx, dword [ebp - 0x1a8]
sub eax, ecx
cmp eax, 1
jb 0x40390f
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1b8]
cmova eax, dword [ebp - 0x1b8]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x1b8]
jmp 0x403930
push 1
push 0x407c64
mov byte [ebp - 0x168], 0
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x168]
push 1
call fcn.004034b0
movups xmm0, xmmword [eax]
mov esi, 8
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x138], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0xf
jbe 0x40399d
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403993
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403993
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004050cf
add esp, 8
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
nop dword [eax + eax]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.csgo.exe
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 3
call fcn.00404b30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x403a3d
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403a33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
add esp, 8
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.steam.exe
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 4
call fcn.00404b30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x403aba
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403ab0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
add esp, 8
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.steamservice.exe
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.00404b30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x403b37
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403b2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
add esp, 8
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.steamwebhelper.exe
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 6
call fcn.00404b30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x403bb4
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403baa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
add esp, 8
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push str.steam.exe
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18c], 0
movups xmmword [ebp - 0x1a0], xmm0
call fcn.004030e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a0]
or esi, 1
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], esi
call fcn.00404630
test al, al
jne 0x403cbb
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
push str.steamservice.exe
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
call fcn.004030e0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x12c]
or esi, 2
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], esi
call fcn.00404630
test al, al
jne 0x403cbb
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.steamwebhelper.exe
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x180]
or esi, 4
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], esi
call fcn.00404630
mov byte [ebp - 0x15d], 1
test al, al
je 0x403cc2
mov byte [ebp - 0x15d], 0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x164]
test al, 4
je 0x403d1c
mov ecx, dword [ebp - 0x16c]
and eax, 0xfffffffb
mov dword [ebp - 0x164], eax
cmp ecx, 0xf
jbe 0x403d1c
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
mov eax, dword [ebp - 0x164]
add esp, 8
mov dword [ebp - 4], 7
test al, 2
je 0x403d70
mov ecx, dword [ebp - 0x118]
and eax, 0xfffffffd
mov dword [ebp - 0x164], eax
cmp ecx, 0xf
jbe 0x403d70
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
mov eax, dword [ebp - 0x164]
add esp, 8
mov dword [ebp - 4], 2
test al, 1
je 0x403dbe
mov ecx, dword [ebp - 0x18c]
and eax, 0xfffffffe
mov dword [ebp - 0x164], eax
cmp ecx, 0xf
jbe 0x403dbe
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403db4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
add esp, 8
cmp byte [ebp - 0x15d], 0
jne 0x403df1
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x188], 0x64
mov dword [ebp - 0x184], 0
call fcn.00402450
mov esi, dword [ebp - 0x164]
jmp 0x4039c0
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str._console
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.004030e0
sub esp, 0xc
mov byte [ebp - 4], 0xa
mov eax, esp
mov dword [ebp - 0x184], esp
mov dword [ebp - 0x168], eax
lea edi, [ebp - 0x180]
lea ecx, [ebp - 0x168]
sub ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x403f54
cmp eax, 0xaaaaaaa
ja 0x4041e9
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x164], esi
cmp esi, 0x1000
jb 0x403eb5
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x4041ee
push eax
call fcn.00404e2b
add esp, 4
test eax, eax
je 0x40398d
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x403ec8
test esi, esi
je 0x403ec6
push esi
call fcn.00404e2b
add esp, 4
mov esi, eax
jmp 0x403ec8
xor esi, esi
mov ecx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
add eax, esi
mov dword [ebp - 0x164], ecx
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
movq qword [ebp - 0x120], xmm0
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0xc
cmp edi, eax
je 0x403f3e
nop dword [eax]
push edi
mov ecx, esi
call fcn.00403690
add esi, 0x18
lea eax, [ebp - 0x168]
add edi, 0x18
mov dword [ebp - 0x11c], esi
cmp edi, eax
jne 0x403f20
push ecx
mov edx, esi
mov ecx, esi
call fcn.00404230
mov eax, dword [ebp - 0x168]
add esp, 4
mov dword [eax + 4], esi
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x148]
mov ecx, esp
push eax
call fcn.00403690
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xa
call fcn.00404330
add esp, 0x24
mov byte [ebp - 0x15d], al
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 2
push 0x402f80
push 1
push 0x18
push eax
call fcn.004050dd
cmp byte [ebp - 0x15d], 0
jne 0x403fc9
push dword [ebp - 0x15c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x158]
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.failed_to_open_steam.exe
jmp 0x404061
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push str.steamservice.exe
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18c], 0
movups xmmword [ebp - 0x1a0], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xe
call fcn.00404630
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 0x15d], al
cmp ecx, 0xf
jbe 0x404052
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404042
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
mov al, byte [ebp - 0x15d]
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
je 0x40407d
mov edx, str.steamservice_is_running__steam_did_not_run_as_admin
call fcn.00402200
push 0x402420
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 esi, 1
jmp 0x404190
mov edx, str.Please_Open_CS:GO
call fcn.00402200
push 0x402420
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 - 0x154]
call fcn.00401280
push 0
push ecx
mov ecx, dword [ebp - 0x1bc]
mov edx, eax
call fcn.00401c40
add esp, 8
test eax, eax
je 0x4040c0
mov esi, 1
jmp 0x404190
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push str.csgo.exe
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18c], 0
movups xmmword [ebp - 0x1a0], xmm0
call fcn.004030e0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xf
call fcn.00404630
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 0x15d], al
cmp ecx, 0xf
jbe 0x404149
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404139
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bc
push ecx
push edx
call fcn.004050cf
mov al, byte [ebp - 0x15d]
add esp, 8
test al, al
jne 0x404171
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x188], 0x64
mov dword [ebp - 0x184], 0
call fcn.00402450
jmp 0x4040c0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_injection...
call fcn.00402200
push 0x402420
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_____]
xor esi, esi
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x4041cc
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4041c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4041c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004050cf
add esp, 8
mov eax, esi
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.00404e1d
mov esp, ebp
pop ebp
ret
call fcn.00402630
call fcn.004030c0
int3