Function at 0x4b0b50
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 0x52b6a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8a8
mov eax, dword [0x58b18c]
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 - 0x88f], cl
xor eax, eax
mov esi, 0x58f30c
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x894], eax
mov byte [ebp - 0x88d], al
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x87c]
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps7940
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4b0e2a
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 4
push eax
lea eax, [ebp - 0x83c]
push eax
push 0
push 0
push str.Installed
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b0e15
cmp dword [ebp - 0x83c], 1
jne 0x4b0e15
mov dword [ebp - 0x880], eax
lea eax, [ebp - 0x880]
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 0x4b0e15
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x8f6438
push 0
push 0
push str.SteamExe
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b0e0d
mov ecx, 0x8f6438
mov dword [ebp - 0x828], eax
xorps xmm0, xmm0
mov dword [ebp - 0x824], eax
movups xmmword [ebp - 0x838], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0ca1
sub ecx, edx
push ecx
push 0x8f6438
lea ecx, [ebp - 0x838]
call fcn.004185e0
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.004ae920
cmp dword [ebp - 0x824], 0x10
lea eax, [ebp - 0x838]
mov byte [ebp - 0x884], 0
cmovae eax, dword [ebp - 0x838]
push dword [ebp - 0x884]
mov dword [ebp - 0x888], eax
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.004e6180
add esp, 0xc
lea eax, [ebp - 0x8ac]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x878]
call fcn.00485d00
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 3
call fcn.00414900
lea ecx, [ebp - 0x878]
call fcn.00485dd0
lea ecx, [ebp - 0x858]
mov byte [ebp - 0x88e], al
mov byte [ebp - 4], 0
call fcn.00414900
cmp byte [ebp - 0x88e], 0
je 0x4b0dcc
cmp dword [ebp - 0x824], 0x10
lea eax, [ebp - 0x838]
cmovae eax, dword [ebp - 0x838]
push eax
push str.__s___applaunch_7940
push 0x8000
push 0x926540
call fcn.0040a250
push 0x926540
push str.2Successfully_built_your_3Call_of_Duty_4:_Modern_Warfare__4Steam_version3__2games_launch_command:_5_s_n
lea eax, [ebp - 0x418]
mov byte [ebp - 0x88d], 1
push 0x400
push eax
call fcn.0040a250
add esp, 0x20
lea edx, [ebp - 0x418]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov dword [str.SOFTWAREActivisionCall_of_Duty_4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x824]
cmp ecx, 0x10
jb 0x4b0e0d
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b0e03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b175c
push ecx
push edx
call fcn.004f79ae
add esp, 8
push dword [ebp - 0x880]
call edi
push dword [ebp - 0x87c]
call edi
cmp byte [ebp - 0x88d], 0
jne 0x4b1377
lea eax, [ebp - 0x87c]
mov dword [ebp - 0x87c], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteamApps7940
push closesocket
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x81c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b10b0
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x83c]
push eax
push 0
push 0
push str.Installed
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b1094
cmp dword [ebp - 0x83c], 1
jne 0x4b1094
mov dword [ebp - 0x880], eax
lea eax, [ebp - 0x880]
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b1094
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x8f6438
push 0
push 0
push str.SteamExe
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b108c
mov ecx, 0x8f6438
mov dword [ebp - 0x828], eax
xorps xmm0, xmm0
mov dword [ebp - 0x824], eax
movups xmmword [ebp - 0x838], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0f20
sub ecx, edx
push ecx
push 0x8f6438
lea ecx, [ebp - 0x838]
call fcn.004185e0
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 4
call fcn.004ae920
cmp dword [ebp - 0x824], 0x10
lea eax, [ebp - 0x838]
mov byte [ebp - 0x888], 0
cmovae eax, dword [ebp - 0x838]
push dword [ebp - 0x888]
mov dword [ebp - 0x884], eax
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.004e6180
add esp, 0xc
lea eax, [ebp - 0x8ac]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x878]
call fcn.00485d00
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 7
call fcn.00414900
lea ecx, [ebp - 0x878]
call fcn.00485dd0
lea ecx, [ebp - 0x858]
mov byte [ebp - 0x88e], al
mov byte [ebp - 4], 4
call fcn.00414900
cmp byte [ebp - 0x88e], 0
je 0x4b104b
cmp dword [ebp - 0x824], 0x10
lea eax, [ebp - 0x838]
cmovae eax, dword [ebp - 0x838]
push eax
push str.__s___applaunch_7940
push 0x8000
push 0x926540
call fcn.0040a250
push 0x926540
push str.2Successfully_built_your_3Call_of_Duty_4:_Modern_Warfare__4Steam_version3__2games_launch_command:_5_s_n
lea eax, [ebp - 0x418]
mov byte [ebp - 0x88d], 1
push 0x400
push eax
call fcn.0040a250
add esp, 0x20
lea edx, [ebp - 0x418]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov dword [str.SOFTWAREActivisionCall_of_Duty_4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x824]
cmp ecx, 0x10
jb 0x4b108c
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1761
push ecx
push edx
call fcn.004f79ae
add esp, 8
push dword [ebp - 0x880]
call edi
push dword [ebp - 0x87c]
call edi
cmp byte [ebp - 0x88d], 0
jne 0x4b1377
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4b11f4
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x87c], 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 0x4b11a7
lea eax, [ebp - 0x81c]
push eax
push 0x8f6438
push 0
push 0
push str.InstallPath
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b119f
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00500b60
xor eax, eax
add esp, 0xc
cmp byte [0x8f6438], al
je 0x4b116c
inc eax
cmp byte [eax + 0x8f6438], 0
jne 0x4b1135
test eax, eax
je 0x4b116c
add eax, 0xffffffff
je 0x4b116c
nop dword [eax + eax]
mov cl, byte [eax + 0x8f6438]
cmp cl, 0x5c
je 0x4b1160
cmp cl, 0x2f
jne 0x4b116c
mov byte [eax + 0x8f6438], 0
sub eax, 1
jne 0x4b1150
push 0x8f6438
push str._siw3mp.exe
push 0x8000
push 0x926540
call fcn.0040a250
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x926540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4b11af
push dword [ebp - 0x87c]
call edi
add esi, 4
jmp 0x4b10b0
push 0x926540
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.0040a250
add esp, 0x10
lea edx, [ebp - 0x818]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov dword [esi], 0
jmp 0x4b1377
mov esi, 0x58f30c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4b1303
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x87c], 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 0x4b12fb
lea eax, [ebp - 0x81c]
push eax
push 0x8f6438
push 0
push 0
push str.InstallPath
push dword [ebp - 0x87c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b12f3
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00500b60
xor eax, eax
add esp, 0xc
cmp byte [0x8f6438], al
je 0x4b12bc
inc eax
cmp byte [eax + 0x8f6438], 0
jne 0x4b1285
test eax, eax
je 0x4b12bc
add eax, 0xffffffff
je 0x4b12bc
nop dword [eax + eax]
mov cl, byte [eax + 0x8f6438]
cmp cl, 0x5c
je 0x4b12b0
cmp cl, 0x2f
jne 0x4b12bc
mov byte [eax + 0x8f6438], 0
sub eax, 1
jne 0x4b12a0
push 0x8f6438
push str._siw3mp.exe
push 0x8000
push 0x926540
call fcn.0040a250
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x926540
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4b11af
push dword [ebp - 0x87c]
call edi
add esi, 4
jmp 0x4b1200
cmp byte [ebp - 0x88f], 0
je 0x4b1377
sub esp, 8
mov ecx, 0x8f6438
call fcn.0047e980
push str.Please__select_your_Call_of_Duty_4:_Modern_Warfare_games_installation_folder_and_click_OK.
push 0x400
push 0x952778
call fcn.0040a250
add esp, 0x14
mov edx, 0x952778
mov ecx, 0x8f6438
call fcn.004aeb50
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
push 0x55ac52
push esi
call edi
test eax, eax
je 0x4b1377
push 0x564aa0
push esi
call edi
test eax, eax
je 0x4b1377
push esi
push str._siw3mp.exe
push 0x8000
push 0x926540
call fcn.0040a250
add esp, 0x10
push 1
mov dword [ebp - 4], 8
call fcn.004f4d9d
add esp, 4
mov esi, eax
xor edx, edx
cmp byte [0x926540], dl
je 0x4b13ad
inc edx
cmp edx, 0x8000
je 0x4b13a8
cmp byte [edx + 0x926540], 0
jne 0x4b1394
jmp 0x4b13ad
mov edx, 0x8000
xor eax, eax
nop
inc eax
cmp eax, 0x10
je 0x4b13c1
cmp byte [eax + str._applaunch_7940], 0
jne 0x4b13b0
jmp 0x4b13c6
mov eax, 0x10
test edx, edx
je 0x4b13f3
test eax, eax
je 0x4b13f3
cmp eax, edx
ja 0x4b13f3
push eax
push str._applaunch_7940
push 0
mov ecx, 0x926540
call fcn.00432150
add esp, 0xc
cmp eax, 0xffffffff
sete byte [ebp - 0x88d]
jmp 0x4b13fa
mov byte [ebp - 0x88d], 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4b141c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4b141c
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x88d], 0
je 0x4b14ed
mov ecx, 0x926540
mov dword [ebp - 0x828], 0
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
movups xmmword [ebp - 0x838], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b1450
sub ecx, edx
push ecx
push 0x926540
lea ecx, [ebp - 0x838]
call fcn.004185e0
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0xc
call fcn.004ae920
cmp dword [ebp - 0x824], 0x10
lea eax, [ebp - 0x838]
lea edx, [ebp - 0x888]
mov ecx, 0x926540
cmovae eax, dword [ebp - 0x838]
sub esp, 8
mov dword [ebp - 0x888], eax
call fcn.004dfc10
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x824]
cmp ecx, 0x10
jb 0x4b14ed
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b14e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1766
push ecx
push edx
call fcn.004f79ae
add esp, 8
mov byte [ebp - 0x888], 0
lea eax, [ebp - 0x884]
push dword [ebp - 0x888]
mov dword [ebp - 0x884], 0x926540
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.004e6180
add esp, 0xc
lea eax, [ebp - 0x8ac]
mov dword [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x878]
call fcn.00485d00
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 0xf
call fcn.00414900
lea ecx, [ebp - 0x878]
call fcn.00485dd0
lea ecx, [ebp - 0x858]
mov byte [ebp - 0x88f], al
call fcn.00414900
cmp byte [ebp - 0x88f], 0
jne 0x4b15f5
push 1
mov dword [ebp - 4], 0x10
call fcn.004f4d9d
add esp, 4
mov esi, eax
xor edx, edx
mov dword [ebp - 0x894], 1
cmp byte [0x926540], dl
je 0x4b15ab
inc edx
cmp edx, 0x8000
je 0x4b15a6
cmp byte [edx + 0x926540], 0
jne 0x4b1592
jmp 0x4b15ab
mov edx, 0x8000
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4b15c1
cmp byte [eax + str._applaunch_7940], 0
jne 0x4b15b0
jmp 0x4b15c6
mov eax, 0x10
test edx, edx
je 0x4b15ec
test eax, eax
je 0x4b15ec
cmp eax, edx
ja 0x4b15ec
push eax
push str._applaunch_7940
push 0
mov ecx, 0x926540
call fcn.00432150
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4b15fb
mov byte [ebp - 0x88d], 1
jmp 0x4b1602
mov esi, dword [ebp - 0x888]
mov byte [ebp - 0x88d], 0
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x894], 1
je 0x4b162b
test esi, esi
je 0x4b162b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4b162b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x88d], 0
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
movups xmmword [ebp - 0x838], xmm0
je 0x4b16b8
push 0
push 0x55ac52
lea ecx, [ebp - 0x838]
call fcn.004185e0
lea eax, [ebp - 0x838]
mov ecx, 0x598eb8
push eax
call fcn.00414d90
mov ecx, dword [ebp - 0x824]
cmp ecx, 0x10
jb 0x4b1739
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b16a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b176b
push ecx
push edx
call fcn.004f79ae
add esp, 8
jmp 0x4b1739
mov ecx, 0x926540
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b16c0
sub ecx, edx
push ecx
push 0x926540
lea ecx, [ebp - 0x838]
call fcn.004185e0
lea eax, [ebp - 0x838]
mov ecx, 0x598eb8
push eax
call fcn.00414d90
mov ecx, dword [ebp - 0x824]
cmp ecx, 0x10
jb 0x4b1721
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1717
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b176b
push ecx
push edx
call fcn.004f79ae
add esp, 8
cmp dword [0x598f8c], 0x10
mov ecx, 0x598f78
cmovae ecx, dword [0x598f78]
call fcn.0048a470
mov eax, 0x926540
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.004f7466
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005094c8
call fcn.005094c8
call fcn.005094c8
call fcn.005094c8
int3