Function at 0x45e1c0
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 0x4b9bb0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x840
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.SOFTWAREValveSteamApps10090
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x849], 0
mov esi, 0x4e0e34
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 0x45e420
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 0x45e40b
cmp dword [ebp - 0x820], 1
jne 0x45e40b
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 0x45e40b
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x527830
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e403
mov ecx, 0x527830
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 0x45e316
sub ecx, edx
push ecx
push 0x527830
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 0x45e3c9
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_10090
push 0x8000
push 0x517720
call fcn.00408d90
push 0x517720
push str.2Successfully_built_your_3Call_of_Duty_5:_World_at_War__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_WAW], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45e403
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45e3f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec80
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 0x45e9d4
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps10090
push closesocket
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45e620
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 0x45e608
cmp dword [ebp - 0x820], 1
jne 0x45e608
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 0x45e608
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x527830
push 0
push 0
push str.SteamExe
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e600
mov ecx, 0x527830
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 0x45e513
sub ecx, edx
push ecx
push 0x527830
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 0x45e5c6
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.__s___applaunch_10090
push 0x8000
push 0x517720
call fcn.00408d90
push 0x517720
push str.2Successfully_built_your_3Call_of_Duty_5:_World_at_War__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_WAW], 0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45e600
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45e5f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec85
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 0x45e9d4
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x45e75e
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 0x45e717
lea eax, [ebp - 0x81c]
push eax
push 0x527830
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e70f
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x527830], al
je 0x45e6dc
inc eax
cmp byte [eax + 0x527830], 0
jne 0x45e6a5
test eax, eax
je 0x45e6dc
add eax, 0xffffffff
je 0x45e6dc
nop dword [eax + eax]
mov cl, byte [eax + 0x527830]
cmp cl, 0x5c
je 0x45e6d0
cmp cl, 0x2f
jne 0x45e6dc
mov byte [eax + 0x527830], 0
sub eax, 1
jne 0x45e6c0
push 0x527830
push str._scod5mp.exe
push 0x8000
push 0x517720
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x517720
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45e71f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45e620
push 0x517720
push str.2Successfully_built_your_3Call_of_Duty_5:_World_at_War_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 0x45e9d1
mov esi, 0x4e0e34
mov eax, dword [esi]
test eax, eax
je 0x45e866
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 0x45e85e
lea eax, [ebp - 0x81c]
push eax
push 0x527830
push 0
push 0
push str.InstallPath
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e856
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048f850
xor eax, eax
add esp, 0xc
cmp byte [0x527830], al
je 0x45e81f
nop dword [eax + eax]
inc eax
cmp byte [eax + 0x527830], 0
jne 0x45e7f0
test eax, eax
je 0x45e81f
add eax, 0xffffffff
je 0x45e81f
mov cl, byte [eax + 0x527830]
cmp cl, 0x5c
je 0x45e813
cmp cl, 0x2f
jne 0x45e81f
mov byte [eax + 0x527830], 0
sub eax, 1
jne 0x45e803
push 0x527830
push str._scod5mp.exe
push 0x8000
push 0x517720
call fcn.00408d90
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x517720
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x45e71f
push dword [ebp - 0x824]
call edi
add esi, 4
jmp 0x45e763
cmp byte [ebp - 0x84a], 0
je 0x45e9d4
sub esp, 8
mov ecx, 0x527830
call fcn.00435ca0
push str.Please__select_your_Call_of_Duty_5:_World_at_War_games_installation_folder_and_click_OK.
push 0x400
push 0x54cc18
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], 0x54cc18
mov dword [ebp - 0x838], 0x51
mov dword [ebp - 0x834], 0x45b450
mov dword [ebp - 0x830], 0x527830
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
test esi, esi
je 0x45e93a
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 0x45e941
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 0x45e941
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 0x45e98c
push 0x4c970c
push 0x54dc48
call esi
test eax, eax
je 0x45e98c
push 0x54dc48
push str._scod5mp.exe
push 0x8000
push 0x517720
call fcn.00408d90
add esp, 0x10
jmp 0x45e9d4
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
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x517720
mov esi, eax
call fcn.00474ce0
add esp, 0xc
mov byte [ebp - 0x849], al
test esi, esi
je 0x45ea22
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x45ea1c
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov al, byte [ebp - 0x849]
test al, al
jne 0x45eadf
mov ecx, 0x517720
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 0x45ea50
sub ecx, edx
push ecx
push 0x517720
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, 0x517720
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 0x45eadf
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ead5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec8a
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, 0x517720
call fcn.0045ffd0
test al, al
jne 0x45eb30
push 1
mov dword [ebp - 4], 2
call fcn.0048615f
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x517720
mov dword [ebp - 0x850], 1
mov esi, eax
call fcn.00474ce0
add esp, 0xc
test al, al
jne 0x45eb36
mov byte [ebp - 0x849], 1
mov eax, 1
jmp 0x45eb43
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x850]
mov byte [ebp - 0x849], 0
test al, 1
je 0x45eb60
test esi, esi
je 0x45eb60
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45eb60
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 0x45ebea
push 0
push 0x4c663e
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e6a24
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45ec5d
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ebde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec8f
push ecx
push edx
call fcn.004885c3
add esp, 8
jmp 0x45ec5d
mov ecx, 0x517720
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ebf2
sub ecx, edx
push ecx
push 0x517720
lea ecx, [ebp - 0x840]
call fcn.004127b0
lea eax, [ebp - 0x840]
mov ecx, 0x4e6a24
push eax
call fcn.004102c0
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x45ec53
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ec49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ec8f
push ecx
push edx
call fcn.004885c3
add esp, 8
mov ecx, str.config_tinyrcon.json
call fcn.0043c730
mov eax, 0x517720
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