Function at 0x45b520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9b50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x848
mov eax, dword [0x4e0138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x84a], cl
lea eax, [ebp - 0x824]
mov dword [ebp - 0x850], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps2620
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x849], 0
mov esi, 0x4e0f08
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x45b780
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 4
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push 0
push str.Installed
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b76b
cmp dword [ebp - 0x820], 1
jne 0x45b76b
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x828]
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b76b
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x4f75a0
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b763
mov ecx, 0x4f75a0
mov dword [ebp - 0x830], eax
xorps xmm0, xmm0
mov dword [ebp - 0x82c], eax
movups xmmword [ebp - 0x840], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b676
sub ecx, edx
push ecx
push 0x4f75a0
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea ecx, [ebp - 0x840]
call fcn.0045b280
cmp dword [ebp - 0x82c], 0x10
lea ecx, [ebp - 0x840]
cmovae ecx, dword [ebp - 0x840]
call fcn.0045ffd0
test al, al
je 0x45b729
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_2620
push 0x8000
push 0x52f830
call fcn.00408d90
push 0x52f830
push str.2Successfully_built_your_3Call_of_Duty__Steam__2games_launch_command:_5_s_n
lea eax, [ebp - 0x418]
mov byte [ebp - 0x849], 1
push 0x400
push eax
call fcn.00408d90
add esp, 0x20
lea edx, [ebp - 0x418]
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
call fcn.004600e0
add esp, 0xc
mov dword [str.SOFTWAREActivisionCall_of_Duty], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45b763
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b759
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c0a4
push ecx
push edx
call fcn.004885c3
add esp, 8
push dword [ebp - 0x828]
call edi
push dword [ebp - 0x824]
call edi
cmp byte [ebp - 0x849], 0
jne 0x45bd34
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps2620
push closesocket
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b980
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push 0
push str.Installed
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b968
cmp dword [ebp - 0x820], 1
jne 0x45b968
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x828]
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b968
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x4f75a0
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b960
mov ecx, 0x4f75a0
mov dword [ebp - 0x830], eax
xorps xmm0, xmm0
mov dword [ebp - 0x82c], eax
movups xmmword [ebp - 0x840], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b873
sub ecx, edx
push ecx
push 0x4f75a0
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea ecx, [ebp - 0x840]
call fcn.0045b280
cmp dword [ebp - 0x82c], 0x10
lea ecx, [ebp - 0x840]
cmovae ecx, dword [ebp - 0x840]
call fcn.0045ffd0
test al, al
je 0x45b926
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_2620
push 0x8000
push 0x52f830
call fcn.00408d90
push 0x52f830
push str.2Successfully_built_your_3Call_of_Duty__Steam__2games_launch_command:_5_s_n
lea eax, [ebp - 0x418]
mov byte [ebp - 0x849], 1
push 0x400
push eax
call fcn.00408d90
add esp, 0x20
lea edx, [ebp - 0x418]
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
call fcn.004600e0
add esp, 0xc
mov dword [str.SOFTWAREActivisionCall_of_Duty], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45b960
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b956
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c0a9
push ecx
push edx
call fcn.004885c3
add esp, 8
push dword [ebp - 0x828]
call edi
push dword [ebp - 0x824]
call edi
cmp byte [ebp - 0x849], 0
jne 0x45bd34
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x45babe
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x81c], 0x8000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45ba77
lea eax, [ebp - 0x81c]
push eax
push 0x4f75a0
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45ba6f
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x4f75a0], al
je 0x45ba3c
inc eax
cmp byte [eax + 0x4f75a0], 0
jne 0x45ba05
test eax, eax
je 0x45ba3c
add eax, 0xffffffff
je 0x45ba3c
nop dword [eax + eax]
mov cl, byte [eax + 0x4f75a0]
cmp cl, 0x5c
je 0x45ba30
cmp cl, 0x2f
jne 0x45ba3c
mov byte [eax + 0x4f75a0], 0
sub eax, 1
jne 0x45ba20
push 0x4f75a0
push str._scodmp.exe
push 0x8000
push 0x52f830
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x52f830
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45ba7f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45b980
push 0x52f830
push str.2Successfully_built_your_3Call_of_Duty_2games_launch_command:_5_s_n
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00408d90
add esp, 0x10
lea edx, [ebp - 0x818]
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
call fcn.004600e0
mov dword [esi], 0
jmp 0x45bd31
mov esi, 0x4e0f08
mov eax, dword [esi]
test eax, eax
je 0x45bbc6
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push ecx
push 1
push 0
push eax
push closesocket
mov dword [ebp - 0x81c], 0x8000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45bbbe
lea eax, [ebp - 0x81c]
push eax
push 0x4f75a0
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45bbb6
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x4f75a0], al
je 0x45bb7f
nop dword [eax + eax]
inc eax
cmp byte [eax + 0x4f75a0], 0
jne 0x45bb50
test eax, eax
je 0x45bb7f
add eax, 0xffffffff
je 0x45bb7f
mov cl, byte [eax + 0x4f75a0]
cmp cl, 0x5c
je 0x45bb73
cmp cl, 0x2f
jne 0x45bb7f
mov byte [eax + 0x4f75a0], 0
sub eax, 1
jne 0x45bb63
push 0x4f75a0
push str._scodmp.exe
push 0x8000
push 0x52f830
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x52f830
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45ba7f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45bac3
cmp byte [ebp - 0x84a], 0
je 0x45bd34
sub esp, 8
mov ecx, 0x4f75a0
call fcn.00435ca0
push str.Please__select_your_Call_of_Duty_games_installation_folder_and_click_OK.
push 0x400
push 0x54d848
call fcn.00408d90
add esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 0x848]
xorps xmm0, xmm0
mov dword [ebp - 0x840], 0
push eax
movlpd qword [ebp - 0x848], xmm0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x83c], 0x54d848
mov dword [ebp - 0x838], 0x51
mov dword [ebp - 0x834], 0x45b450
mov dword [ebp - 0x830], 0x4f75a0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
test esi, esi
je 0x45bc9a
push 0x54dc48
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x828]
mov dword [ebp - 0x828], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x45bca1
mov ecx, dword [ebp - 0x828]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x828]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x45bca1
mov byte [0x54dc48], 0
push 0x4c663e
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x54dc48
call esi
test eax, eax
je 0x45bcec
push 0x4c970c
push 0x54dc48
call esi
test eax, eax
je 0x45bcec
push 0x54dc48
push str._scodmp.exe
push 0x8000
push 0x52f830
call fcn.00408d90
add esp, 0x10
jmp 0x45bd34
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
mov edx, str.1_n__Error__You_havent_selected_a_valid_folder_for_your_game_installation.
call fcn.004600e0
add esp, 0xc
mov edx, str.3_n__You_have_to_select_your_games_installation_directory_and_click_the_OK_button.
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
call fcn.004600e0
add esp, 0xc
mov edx, str.2_n__Restart_the_program_and_try_again._n
push 1
push 1
push ecx
mov ecx, dword [0x4e3440]
call fcn.004600e0
add esp, 0xc
push 1
mov dword [ebp - 4], 1
call fcn.0048615f
xor edx, edx
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov esi, eax
cmp byte [0x52f830], dl
je 0x45bd79
nop dword [eax + eax]
inc edx
cmp edx, 0x8000
je 0x45bd74
cmp byte [edx + 0x52f830], 0
jne 0x45bd60
jmp 0x45bd79
mov edx, 0x8000
xor eax, eax
nop dword [eax + eax]
inc eax
cmp eax, 0x10
je 0x45bd91
cmp byte [eax + str._applaunch_2620], 0
jne 0x45bd80
jmp 0x45bd96
mov eax, 0x10
test edx, edx
je 0x45bdc3
test eax, eax
je 0x45bdc3
cmp eax, edx
ja 0x45bdc3
push eax
push str._applaunch_2620
push 0
mov ecx, 0x52f830
call fcn.004217d0
add esp, 0xc
cmp eax, 0xffffffff
sete byte [ebp - 0x849]
jmp 0x45bdca
mov byte [ebp - 0x849], 1
test esi, esi
je 0x45bde5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45bde5
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x849], 0
je 0x45bea7
mov ecx, 0x52f830
mov dword [ebp - 0x830], 0
xorps xmm0, xmm0
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x840], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45be18
sub ecx, edx
push ecx
push 0x52f830
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea ecx, [ebp - 0x840]
call fcn.0045b280
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
lea edx, [ebp - 0x828]
mov ecx, 0x52f830
cmovae eax, dword [ebp - 0x840]
sub esp, 8
mov dword [ebp - 0x828], eax
call fcn.00474570
mov ecx, dword [ebp - 0x82c]
add esp, 8
cmp ecx, 0x10
jb 0x45bea7
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45be9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c0ae
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, 0x52f830
call fcn.0045ffd0
test al, al
jne 0x45bf54
push 1
mov dword [ebp - 4], 2
call fcn.0048615f
xor edx, edx
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov esi, eax
cmp byte [0x52f830], dl
je 0x45bef9
nop dword [eax]
inc edx
cmp edx, 0x8000
je 0x45bef4
cmp byte [edx + 0x52f830], 0
jne 0x45bee0
jmp 0x45bef9
mov edx, 0x8000
xor eax, eax
nop dword [eax + eax]
inc eax
cmp eax, 0x10
je 0x45bf11
cmp byte [eax + str._applaunch_2620], 0
jne 0x45bf00
jmp 0x45bf16
mov eax, 0x10
test edx, edx
je 0x45bf46
test eax, eax
je 0x45bf46
cmp eax, edx
ja 0x45bf46
push eax
push str._applaunch_2620
push 0
mov ecx, 0x52f830
mov dword [ebp - 0x850], 1
call fcn.004217d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45bf5a
mov byte [ebp - 0x849], 1
mov eax, 1
jmp 0x45bf67
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x850]
mov byte [ebp - 0x849], 0
test al, 1
je 0x45bf84
test esi, esi
je 0x45bf84
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45bf84
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x849], 0
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x840], xmm0
je 0x45c00e
push 0
push 0x4c663e
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e69dc
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45c081
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45c002
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c0b3
push ecx
push edx
call fcn.004885c3
add esp, 8
jmp 0x45c081
mov ecx, 0x52f830
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c016
sub ecx, edx
push ecx
push 0x52f830
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e69dc
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45c077
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45c06d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c0b3
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, str.config_tinyrcon.json
call fcn.0043c730
mov eax, 0x52f830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049a67c
call fcn.0049a67c
call fcn.0049a67c
call fcn.0049a67c
int3