Function at 0x4b1780
Capabilities:
Enumerate process modules
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 0x52b6eb
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1248
call fcn.004f85b0
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 esi, ecx
mov dword [ebp - 0x124c], esi
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.00500b60
add esp, 0xc
mov dword [ebp - 0x1220], 0
lea eax, [ebp - 0x1220]
mov dword [esi], 0
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4b197e
xor eax, eax
mov dword [ebp - 0x1244], eax
cmp dword [ebp - 0x1220], eax
jbe 0x4b197e
nop dword [eax + eax]
lea ecx, [ebp - 0x1218]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x1248], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4b196b
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x218]
push 0x200
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4b1965
xorps xmm0, xmm0
mov dword [ebp - 0x122c], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1228], 0
movups xmmword [ebp - 0x123c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b18a6
sub eax, edx
lea ecx, [ebp - 0x123c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004185e0
push 1
mov dword [ebp - 4], 1
call fcn.004f4d9d
add esp, 4
mov dword [ebp - 0x1250], eax
lea eax, [ebp - 0x1254]
mov byte [ebp - 4], 2
push eax
sub esp, 8
lea ecx, [ebp - 0x123c]
mov edx, str.iw3mp.exe
call fcn.004dfc90
mov byte [ebp - 4], 0
add esp, 0xc
mov ecx, dword [ebp - 0x1250]
mov esi, eax
test ecx, ecx
je 0x4b191f
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4b191f
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp esi, 0xffffffff
jne 0x4b1a72
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x1228]
cmp ecx, 0x10
jb 0x4b1965
mov edx, dword [ebp - 0x123c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b195b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1ae4
push ecx
push edx
call fcn.004f79ae
add esp, 8
mov eax, dword [ebp - 0x1244]
inc eax
mov dword [ebp - 0x1244], eax
cmp eax, dword [ebp - 0x1220]
jb 0x4b1830
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1240]
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push closesocket
mov dword [ebp - 0x1240], 0
mov dword [ebp - 0x121c], 0
mov dword [ebp - 0x1224], 4
call esi
test eax, eax
jne 0x4b19f0
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x121c]
push eax
push 0
push 0
push str.RunningAppID
push dword [ebp - 0x1240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b19f0
cmp dword [ebp - 0x121c], 0x1f04
je 0x4b1a6e
push dword [ebp - 0x1240]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x1240], 0
push eax
push 1
push 0
push str.SOFTWAREValveSteam
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x121c], 0
mov dword [ebp - 0x1224], 4
call esi
test eax, eax
jne 0x4b1abc
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x121c]
push eax
push 0
push 0
push str.RunningAppID
push dword [ebp - 0x1240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b1abc
cmp dword [ebp - 0x121c], 0x1f04
jne 0x4b1abc
mov al, 1
jmp 0x4b1ac6
mov eax, dword [ebp - 0x1248]
mov ecx, dword [ebp - 0x124c]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1228]
cmp ecx, 0x10
jb 0x4b1a6e
mov edx, dword [ebp - 0x123c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1aae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b1ae4
push ecx
push edx
call fcn.004f79ae
add esp, 8
mov al, 1
jmp 0x4b1ac6
push dword [ebp - 0x1240]
call edi
xor al, al
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
int3