Function at 0x45d2e0
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.SOFTWAREValveSteamApps7940
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x849], 0
mov esi, 0x4e0d04
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 0x45d540
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 0x45d52b
cmp dword [ebp - 0x820], 1
jne 0x45d52b
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 0x45d52b
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x51f7b0
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d523
mov ecx, 0x51f7b0
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 0x45d436
sub ecx, edx
push ecx
push 0x51f7b0
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 0x45d4e9
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_7940
push 0x8000
push 0x5076a0
call fcn.00408d90
push 0x5076a0
push str.2Successfully_built_your_3Call_of_Duty_4:_Modern_Warfare__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_4], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45d523
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45d519
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de64
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 0x45daf4
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps7940
push closesocket
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45d740
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 0x45d728
cmp dword [ebp - 0x820], 1
jne 0x45d728
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 0x45d728
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x51f7b0
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d720
mov ecx, 0x51f7b0
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 0x45d633
sub ecx, edx
push ecx
push 0x51f7b0
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 0x45d6e6
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_7940
push 0x8000
push 0x5076a0
call fcn.00408d90
push 0x5076a0
push str.2Successfully_built_your_3Call_of_Duty_4:_Modern_Warfare__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_4], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45d720
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45d716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de69
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 0x45daf4
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x45d87e
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 0x45d837
lea eax, [ebp - 0x81c]
push eax
push 0x51f7b0
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d82f
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x51f7b0], al
je 0x45d7fc
inc eax
cmp byte [eax + 0x51f7b0], 0
jne 0x45d7c5
test eax, eax
je 0x45d7fc
add eax, 0xffffffff
je 0x45d7fc
nop dword [eax + eax]
mov cl, byte [eax + 0x51f7b0]
cmp cl, 0x5c
je 0x45d7f0
cmp cl, 0x2f
jne 0x45d7fc
mov byte [eax + 0x51f7b0], 0
sub eax, 1
jne 0x45d7e0
push 0x51f7b0
push str._siw3mp.exe
push 0x8000
push 0x5076a0
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x5076a0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45d83f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45d740
push 0x5076a0
push str.2Successfully_built_your_3Call_of_Duty_4:_Modern_Warfare_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 0x45daf1
mov esi, 0x4e0d04
mov eax, dword [esi]
test eax, eax
je 0x45d986
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 0x45d97e
lea eax, [ebp - 0x81c]
push eax
push 0x51f7b0
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d976
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x51f7b0], al
je 0x45d93f
nop dword [eax + eax]
inc eax
cmp byte [eax + 0x51f7b0], 0
jne 0x45d910
test eax, eax
je 0x45d93f
add eax, 0xffffffff
je 0x45d93f
mov cl, byte [eax + 0x51f7b0]
cmp cl, 0x5c
je 0x45d933
cmp cl, 0x2f
jne 0x45d93f
mov byte [eax + 0x51f7b0], 0
sub eax, 1
jne 0x45d923
push 0x51f7b0
push str._siw3mp.exe
push 0x8000
push 0x5076a0
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x5076a0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45d83f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45d883
cmp byte [ebp - 0x84a], 0
je 0x45daf4
sub esp, 8
mov ecx, 0x51f7b0
call fcn.00435ca0
push str.Please__select_your_Call_of_Duty_4:_Modern_Warfare_games_installation_folder_and_click_OK.
push 0x400
push 0x54c818
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], 0x54c818
mov dword [ebp - 0x838], 0x51
mov dword [ebp - 0x834], 0x45b450
mov dword [ebp - 0x830], 0x51f7b0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
test esi, esi
je 0x45da5a
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 0x45da61
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 0x45da61
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 0x45daac
push 0x4c970c
push 0x54dc48
call esi
test eax, eax
je 0x45daac
push 0x54dc48
push str._siw3mp.exe
push 0x8000
push 0x5076a0
call fcn.00408d90
add esp, 0x10
jmp 0x45daf4
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 [0x5076a0], dl
je 0x45db39
nop dword [eax + eax]
inc edx
cmp edx, 0x8000
je 0x45db34
cmp byte [edx + 0x5076a0], 0
jne 0x45db20
jmp 0x45db39
mov edx, 0x8000
xor eax, eax
nop dword [eax + eax]
inc eax
cmp eax, 0x10
je 0x45db51
cmp byte [eax + str._applaunch_7940], 0
jne 0x45db40
jmp 0x45db56
mov eax, 0x10
test edx, edx
je 0x45db83
test eax, eax
je 0x45db83
cmp eax, edx
ja 0x45db83
push eax
push str._applaunch_7940
push 0
mov ecx, 0x5076a0
call fcn.004217d0
add esp, 0xc
cmp eax, 0xffffffff
sete byte [ebp - 0x849]
jmp 0x45db8a
mov byte [ebp - 0x849], 1
test esi, esi
je 0x45dba5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45dba5
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x849], 0
je 0x45dc67
mov ecx, 0x5076a0
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 0x45dbd8
sub ecx, edx
push ecx
push 0x5076a0
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, 0x5076a0
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 0x45dc67
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45dc5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de6e
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, 0x5076a0
call fcn.0045ffd0
test al, al
jne 0x45dd14
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 [0x5076a0], dl
je 0x45dcb9
nop dword [eax]
inc edx
cmp edx, 0x8000
je 0x45dcb4
cmp byte [edx + 0x5076a0], 0
jne 0x45dca0
jmp 0x45dcb9
mov edx, 0x8000
xor eax, eax
nop dword [eax + eax]
inc eax
cmp eax, 0x10
je 0x45dcd1
cmp byte [eax + str._applaunch_7940], 0
jne 0x45dcc0
jmp 0x45dcd6
mov eax, 0x10
test edx, edx
je 0x45dd06
test eax, eax
je 0x45dd06
cmp eax, edx
ja 0x45dd06
push eax
push str._applaunch_7940
push 0
mov ecx, 0x5076a0
mov dword [ebp - 0x850], 1
call fcn.004217d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45dd1a
mov byte [ebp - 0x849], 1
mov eax, 1
jmp 0x45dd27
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x850]
mov byte [ebp - 0x849], 0
test al, 1
je 0x45dd44
test esi, esi
je 0x45dd44
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45dd44
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 0x45ddce
push 0
push 0x4c663e
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e6a0c
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45de41
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ddc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de73
push ecx
push edx
call fcn.004885c3
add esp, 8
jmp 0x45de41
mov ecx, 0x5076a0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ddd6
sub ecx, edx
push ecx
push 0x5076a0
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e6a0c
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45de37
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45de2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de73
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, str.config_tinyrcon.json
call fcn.0043c730
mov eax, 0x5076a0
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