Function at 0x4d5b60
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 0x563404
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x918
mov eax, dword [0x5ca1c0]
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 - 0x8e6], cl
xor eax, eax
lea ecx, [ebp - 0x8d0]
push 0xd
push str._applaunch_
mov edx, 0x596fe4
mov dword [ebp - 0x8ec], eax
mov dword [ebp - 0x8e4], eax
mov byte [ebp - 0x8e5], al
call fcn.004947f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x910]
push 0x1c
push str.SOFTWAREValveSteamApps
mov edx, 0x596fe4
mov dword [ebp - 0x8d4], 0
mov dword [ebp - 0x820], 0
call fcn.004947f0
add esp, 0x10
cmp dword [eax + 0x14], 0xf
jbe 0x4d5c0f
mov eax, dword [eax]
lea ecx, [ebp - 0x8d4]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x8fc]
mov edi, eax
cmp ecx, 0xf
jbe 0x4d5c62
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d5c58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73ae
push ecx
push edx
call fcn.00524a57
add esp, 8
or esi, 0xffffffff
test edi, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4d6462
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 - 0x8d4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d644d
cmp dword [ebp - 0x820], 1
jne 0x4d644d
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
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 0x4d644d
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x905bc8
push 0
push 0
push str.SteamExe
push dword [ebp - 0x8d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d6445
mov ecx, 0x905bc8
mov dword [ebp - 0x858], eax
xorps xmm0, xmm0
mov dword [ebp - 0x854], eax
movups xmmword [ebp - 0x868], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5d30
sub ecx, edx
push ecx
push 0x905bc8
lea ecx, [ebp - 0x868]
call fcn.0040f680
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 1
call fcn.004d1ff0
cmp dword [ebp - 0x854], 0xf
lea eax, [ebp - 0x868]
mov byte [ebp - 0x8f0], 0
cmova eax, dword [ebp - 0x868]
push dword [ebp - 0x8f0]
mov dword [ebp - 0x8e4], eax
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 4
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 1
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6407
push 0x2a
xorps xmm0, xmm0
mov dword [ebp - 0x900], 0
push str._steamappscommonCall_of_Duty_4iw3mp.exe
lea ecx, [ebp - 0x910]
mov dword [ebp - 0x8fc], 0
movups xmmword [ebp - 0x910], xmm0
call fcn.0040f680
mov byte [ebp - 4], 5
lea edx, [ebp - 0x868]
cmp dword [ebp - 0x854], 0xf
mov edi, dword [ebp - 0x858]
cmova edx, dword [ebp - 0x868]
test edi, edi
je 0x4d5e5e
lea eax, [edi - 1]
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4d5e5a
nop dword [eax]
cmp ecx, edx
je 0x4d5e5e
dec ecx
cmp byte [ecx], 0x5c
jne 0x4d5e50
sub ecx, edx
jmp 0x4d5e61
or ecx, 0xffffffff
cmp edi, ecx
mov dword [ebp - 0x918], 0
lea eax, [ebp - 0x868]
mov dword [ebp - 0x914], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x854], 0xf
push ecx
cmova eax, dword [ebp - 0x868]
lea ecx, [ebp - 0x928]
push eax
movups xmmword [ebp - 0x928], xmm0
call fcn.0040f680
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x928]
push eax
push dword [ebp - 0x8e4]
lea ecx, [ebp - 0x838]
call fcn.0041aac0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x914]
cmp ecx, 0xf
jbe 0x4d5f06
mov edx, dword [ebp - 0x928]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d5efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d5f44
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d5f3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x918], 0
push str._steamappscommonCall_of_Duty_R__4iw3mp.exe
lea ecx, [ebp - 0x928]
mov dword [ebp - 0x914], 0
movups xmmword [ebp - 0x928], xmm0
call fcn.0040f680
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x868]
cmp dword [ebp - 0x854], 0xf
mov edi, dword [ebp - 0x858]
cmova edx, dword [ebp - 0x868]
test edi, edi
je 0x4d5fb6
lea eax, [edi - 1]
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4d5fb2
cmp ecx, edx
je 0x4d5fb6
dec ecx
cmp byte [ecx], 0x5c
jne 0x4d5fa8
sub ecx, edx
jmp 0x4d5fb9
or ecx, 0xffffffff
cmp edi, ecx
mov dword [ebp - 0x900], 0
lea eax, [ebp - 0x868]
mov dword [ebp - 0x8fc], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x854], 0xf
push ecx
cmova eax, dword [ebp - 0x868]
lea ecx, [ebp - 0x910]
push eax
movups xmmword [ebp - 0x910], xmm0
call fcn.0040f680
lea eax, [ebp - 0x928]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x910]
push eax
push dword [ebp - 0x8e4]
lea ecx, [ebp - 0x850]
call fcn.0041aac0
mov dword [ebp - 0x8ec], 0x30f00
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d6068
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d605e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x914]
cmp ecx, 0xf
jbe 0x4d60a6
mov edx, dword [ebp - 0x928]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d609c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x838]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x11
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0xe
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
jne 0x4d61c4
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x850]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x14
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0xe
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d636a
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x838]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x17
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0xe
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6268
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
cmova eax, dword [ebp - 0x838]
jmp 0x4d6307
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x850]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x1a
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0xe
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d631f
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
cmova eax, dword [ebp - 0x850]
push eax
push 0x5a9ffc
push 0x8000
push 0x8edbb8
call fcn.0040aa20
add esp, 0x10
push 0x8edbb8
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 - 0x8e5], 1
push 0x400
push eax
call fcn.0040aa20
add esp, 0x10
lea edx, [ebp - 0x418]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
mov dword [str.SOFTWAREActivisionCall_of_Duty_4], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x83c]
cmp ecx, 0xf
jbe 0x4d63a8
mov edx, dword [ebp - 0x850]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d639e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xf
mov byte [ebp - 0x850], 0
cmp ecx, 0xf
jbe 0x4d6401
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d63f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b3
push ecx
push edx
call fcn.00524a57
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x854]
cmp ecx, 0xf
jbe 0x4d6445
mov edx, dword [ebp - 0x868]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d643b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73b8
push ecx
push edx
call fcn.00524a57
add esp, 8
push dword [ebp - 0x8d8]
call edi
push dword [ebp - 0x8d4]
call edi
cmp byte [ebp - 0x8e5], 0
jne 0x4d6fe7
push 0x1c
push str.SOFTWAREValveSteamApps
mov edx, 0x596fe4
mov dword [ebp - 0x8d4], 0
lea ecx, [ebp - 0x910]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 4
call fcn.004947f0
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x4d64a2
mov eax, dword [eax]
lea ecx, [ebp - 0x8d4]
push ecx
push 1
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x8fc]
mov edi, eax
cmp ecx, 0xf
jbe 0x4d64f5
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d64eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73bd
push ecx
push edx
call fcn.00524a57
add esp, 8
test edi, edi
jne 0x4d6d18
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x820]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.Installed
push dword [ebp - 0x8d4]
call edi
test eax, eax
jne 0x4d6cfd
cmp dword [ebp - 0x820], 1
jne 0x4d6cfd
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d6cfd
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x8000
push eax
push 0x905bc8
push 0
push 0
push str.SteamExe
push dword [ebp - 0x8d8]
call edi
test eax, eax
jne 0x4d6ced
mov ecx, 0x905bc8
mov dword [ebp - 0x870], eax
xorps xmm0, xmm0
mov dword [ebp - 0x86c], eax
movups xmmword [ebp - 0x880], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d65b0
sub ecx, edx
push ecx
push 0x905bc8
lea ecx, [ebp - 0x880]
call fcn.0040f680
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 0x1b
call fcn.004d1ff0
cmp dword [ebp - 0x86c], 0xf
lea eax, [ebp - 0x880]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x880]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x1e
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0x1b
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6caf
push 0x2a
xorps xmm0, xmm0
mov dword [ebp - 0x918], 0
push str._steamappscommonCall_of_Duty_4iw3mp.exe
lea ecx, [ebp - 0x928]
mov dword [ebp - 0x914], 0
movups xmmword [ebp - 0x928], xmm0
call fcn.0040f680
or dword [ebp - 0x8ec], 0x100000
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x880]
cmp dword [ebp - 0x86c], 0xf
mov edi, dword [ebp - 0x870]
cmova edx, dword [ebp - 0x880]
test edi, edi
je 0x4d66e4
lea eax, [edi - 1]
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4d66e0
cmp ecx, edx
je 0x4d66e4
dec ecx
cmp byte [ecx], 0x5c
jne 0x4d66d6
sub ecx, edx
jmp 0x4d66e7
or ecx, 0xffffffff
cmp edi, ecx
mov dword [ebp - 0x900], 0
lea eax, [ebp - 0x880]
mov dword [ebp - 0x8fc], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x86c], 0xf
push ecx
cmova eax, dword [ebp - 0x880]
lea ecx, [ebp - 0x910]
push eax
movups xmmword [ebp - 0x910], xmm0
call fcn.0040f680
or dword [ebp - 0x8ec], 0x10000000
lea eax, [ebp - 0x928]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x910]
push eax
push dword [ebp - 0x8e4]
lea ecx, [ebp - 0x838]
call fcn.0041aac0
or dword [ebp - 0x8ec], 0x8000000
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d67a0
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6796
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x914]
cmp ecx, 0xf
jbe 0x4d67de
mov edx, dword [ebp - 0x928]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d67d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x918], 0
push str._steamappscommonCall_of_Duty_R__4iw3mp.exe
lea ecx, [ebp - 0x928]
mov dword [ebp - 0x914], 0
movups xmmword [ebp - 0x928], xmm0
call fcn.0040f680
or dword [ebp - 0x8ec], 0x400000
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x880]
mov edi, dword [ebp - 0x86c]
cmp edi, 0xf
mov edx, dword [ebp - 0x870]
cmova ecx, dword [ebp - 0x880]
test edx, edx
je 0x4d685e
lea eax, [edx - 1]
cmp eax, 0xffffffff
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x4d685a
nop dword [eax]
cmp esi, ecx
je 0x4d685e
dec esi
cmp byte [esi], 0x5c
jne 0x4d6850
sub esi, ecx
jmp 0x4d6861
or esi, 0xffffffff
cmp edx, esi
mov dword [ebp - 0x900], 0
lea eax, [ebp - 0x880]
mov dword [ebp - 0x8fc], 0
cmovb esi, edx
lea ecx, [ebp - 0x910]
cmp edi, 0xf
xorps xmm0, xmm0
push esi
cmova eax, dword [ebp - 0x880]
push eax
movups xmmword [ebp - 0x910], xmm0
call fcn.0040f680
or dword [ebp - 0x8ec], 0x20000000
lea eax, [ebp - 0x928]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x910]
push eax
push dword [ebp - 0x8e4]
lea ecx, [ebp - 0x850]
call fcn.0041aac0
or dword [ebp - 0x8ec], 0x200000
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d6916
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d690c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x914]
cmp ecx, 0xf
jbe 0x4d6954
mov edx, dword [ebp - 0x928]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d694a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x838]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x2b
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0x28
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
jne 0x4d6a72
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x850]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x2e
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0x28
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6c18
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x838]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x31
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0x28
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6b16
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
cmova eax, dword [ebp - 0x838]
jmp 0x4d6bb5
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
mov byte [ebp - 0x8e4], 0
cmova eax, dword [ebp - 0x850]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x32
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x34
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8dd], al
mov byte [ebp - 4], 0x28
call fcn.00417590
cmp byte [ebp - 0x8dd], 0
je 0x4d6bcd
cmp dword [ebp - 0x83c], 0xf
lea eax, [ebp - 0x850]
cmova eax, dword [ebp - 0x850]
push eax
push 0x5a9ffc
push 0x8000
push 0x8edbb8
call fcn.0040aa20
add esp, 0x10
push 0x8edbb8
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 - 0x8e5], 1
push 0x400
push eax
call fcn.0040aa20
add esp, 0x10
lea edx, [ebp - 0x418]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
mov dword [str.SOFTWAREActivisionCall_of_Duty_4], 0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x83c]
cmp ecx, 0xf
jbe 0x4d6c56
mov edx, dword [ebp - 0x850]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6c4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xf
mov byte [ebp - 0x850], 0
cmp ecx, 0xf
jbe 0x4d6caf
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6ca5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c2
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x86c]
cmp ecx, 0xf
jbe 0x4d6ced
mov edx, dword [ebp - 0x880]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6ce3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73c7
push ecx
push edx
call fcn.00524a57
add esp, 8
push dword [ebp - 0x8d8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x4d6d03
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x8d4]
call esi
cmp byte [ebp - 0x8e5], 0
jne 0x4d6fe7
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, 0x5ce368
mov eax, dword [esi]
test eax, eax
je 0x4d6e67
lea ecx, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 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 0x4d6e1a
lea eax, [ebp - 0x81c]
push eax
push 0x905bc8
push 0
push 0
push str.InstallPath
push dword [ebp - 0x8d4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d6e0e
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00532960
xor eax, eax
add esp, 0xc
cmp byte [0x905bc8], al
je 0x4d6ddf
nop dword [eax + eax]
inc eax
cmp byte [eax + 0x905bc8], 0
jne 0x4d6db0
test eax, eax
je 0x4d6ddf
add eax, 0xffffffff
je 0x4d6ddf
mov cl, byte [eax + 0x905bc8]
cmp cl, 0x5c
je 0x4d6dd3
cmp cl, 0x2f
jne 0x4d6ddf
mov byte [eax + 0x905bc8], 0
sub eax, 1
jne 0x4d6dc3
push 0x905bc8
push str._siw3mp.exe
push 0x8000
push 0x8edbb8
call fcn.0040aa20
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x8edbb8
call edi
cmp eax, 0xffffffff
jne 0x4d6e22
push dword [ebp - 0x8d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
jmp 0x4d6d23
push 0x8edbb8
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.0040aa20
add esp, 0x10
lea edx, [ebp - 0x818]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
mov dword [esi], 0
jmp 0x4d6fe7
mov esi, 0x5ce368
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4d6f73
lea ecx, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 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 0x4d6f6b
lea eax, [ebp - 0x81c]
push eax
push 0x905bc8
push 0
push 0
push str.InstallPath
push dword [ebp - 0x8d4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d6f5f
push 0x140
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00532960
xor eax, eax
add esp, 0xc
cmp byte [0x905bc8], al
je 0x4d6f2c
inc eax
cmp byte [eax + 0x905bc8], 0
jne 0x4d6ef5
test eax, eax
je 0x4d6f2c
add eax, 0xffffffff
je 0x4d6f2c
nop dword [eax + eax]
mov cl, byte [eax + 0x905bc8]
cmp cl, 0x5c
je 0x4d6f20
cmp cl, 0x2f
jne 0x4d6f2c
mov byte [eax + 0x905bc8], 0
sub eax, 1
jne 0x4d6f10
push 0x905bc8
push str._siw3mp.exe
push 0x8000
push 0x8edbb8
call fcn.0040aa20
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0x8edbb8
call edi
cmp eax, 0xffffffff
jne 0x4d6e22
push dword [ebp - 0x8d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
jmp 0x4d6e70
cmp byte [ebp - 0x8e6], 0
je 0x4d6fe7
sub esp, 8
mov ecx, 0x905bc8
call fcn.004972b0
push str.Please__select_your_Call_of_Duty_4_game_installation_folder_and_click_OK.
push 0x400
push 0x931180
call fcn.0040aa20
add esp, 0x14
mov edx, 0x931180
mov ecx, 0x905bc8
call fcn.004d22f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
push 0x593042
push esi
call edi
test eax, eax
je 0x4d6fe7
push 0x59fd88
push esi
call edi
test eax, eax
je 0x4d6fe7
push esi
push str._siw3mp.exe
push 0x8000
push 0x8edbb8
call fcn.0040aa20
add esp, 0x10
push 1
mov byte [ebp - 4], 0x35
call fcn.00522199
add esp, 4
mov dword [ebp - 0x8f0], eax
mov byte [ebp - 4], 0x36
lea eax, [ebp - 0x8d0]
cmp dword [ebp - 0x8bc], 0xf
lea edx, [ebp - 0x8e4]
mov ecx, 0x8edbb8
cmova eax, dword [ebp - 0x8d0]
mov dword [ebp - 0x8e4], eax
lea eax, [ebp - 0x8f4]
push eax
sub esp, 8
call fcn.00505370
mov byte [ebp - 4], 0
add esp, 0xc
mov ecx, dword [ebp - 0x8f0]
mov byte [ebp - 0x8e6], al
test ecx, ecx
je 0x4d705f
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4d705f
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x8e6], 0
jne 0x4d7129
mov ecx, 0x8edbb8
mov dword [ebp - 0x828], 0
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
movups xmmword [ebp - 0x838], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7092
sub ecx, edx
push ecx
push 0x8edbb8
lea ecx, [ebp - 0x838]
call fcn.0040f680
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 0x37
call fcn.004d1ff0
cmp dword [ebp - 0x824], 0xf
lea eax, [ebp - 0x838]
lea edx, [ebp - 0x8e4]
mov ecx, 0x8edbb8
cmova eax, dword [ebp - 0x838]
sub esp, 8
mov dword [ebp - 0x8e4], eax
call fcn.00505720
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x824]
cmp ecx, 0xf
jbe 0x4d7129
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d711f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73cc
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 0x8e4], 0
lea eax, [ebp - 0x8f0]
push dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], 0x8edbb8
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0x38
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a1590
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0x3a
call fcn.00417590
lea ecx, [ebp - 0x8b8]
call fcn.004a1660
lea ecx, [ebp - 0x898]
mov byte [ebp - 0x8e6], al
call fcn.00417590
cmp byte [ebp - 0x8e6], 0
jne 0x4d720f
push 1
mov byte [ebp - 4], 0x3b
call fcn.00522199
add esp, 4
mov dword [ebp - 0x8d8], eax
mov byte [ebp - 4], 0x3c
lea edx, [ebp - 0x8f0]
mov eax, dword [ebp - 0x8ec]
mov ecx, 0x8edbb8
or eax, 1
cmp dword [ebp - 0x8bc], 0xf
mov dword [ebp - 0x8ec], eax
mov dword [ebp - 0x8e4], eax
lea eax, [ebp - 0x8d0]
cmova eax, dword [ebp - 0x8d0]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8dc]
push eax
sub esp, 8
call fcn.00505370
add esp, 0xc
mov byte [ebp - 0x8e5], 1
test al, al
je 0x4d7216
mov byte [ebp - 0x8e5], 0
mov dword [ebp - 4], 0
test byte [ebp - 0x8ec], 1
je 0x4d7243
mov ecx, dword [ebp - 0x8d8]
test ecx, ecx
je 0x4d7243
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4d7243
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x8e5], 0
xorps xmm0, xmm0
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8fc], 0
movups xmmword [ebp - 0x910], xmm0
je 0x4d72d0
push 0
push 0x593042
lea ecx, [ebp - 0x910]
call fcn.0040f680
lea eax, [ebp - 0x910]
mov ecx, 0x5de578
push eax
call fcn.00416720
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d7355
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d72c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73d1
push ecx
push edx
call fcn.00524a57
add esp, 8
jmp 0x4d7355
mov ecx, 0x8edbb8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d72d8
sub ecx, edx
push ecx
push 0x8edbb8
lea ecx, [ebp - 0x910]
call fcn.0040f680
lea eax, [ebp - 0x910]
mov ecx, 0x5de578
push eax
call fcn.00416720
mov ecx, dword [ebp - 0x8fc]
cmp ecx, 0xf
jbe 0x4d733d
mov edx, dword [ebp - 0x910]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d7333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73d1
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [0x5de64c], 0xf
mov ecx, 0x5de638
cmova ecx, dword [0x5de638]
call fcn.004a7090
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 0xf
jbe 0x4d738b
mov edx, dword [ebp - 0x8d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d7381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d73d1
push ecx
push edx
call fcn.00524a57
add esp, 8
mov eax, 0x8edbb8
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.0052450f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
int3