Function at 0x482870
Capabilities:
Enumerate process modules
Get process image filename
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567c47
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], reloc.WS2_32.dll_accept
mov dword [ebp - 0x42c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x42c]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
push 0x5850d0
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x4828e9
push eax
call esi
lea eax, [ebp - 0x424]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x428], 4
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x424], 4
push eax
push 0
push str.UMTPI
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x482936
push eax
call esi
push dword [ebp - 0x434]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x482ab4
cmp byte [0x5b9c69], 0
jne 0x4829b5
lea eax, [ebp - 0x424]
push eax
push 4
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
lea eax, [ebp - 0x420]
push 0x585080
push eax
call fcn.005299bf
add esp, 8
test eax, eax
jne 0x482aad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x482aad
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00531bd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.004031c0
mov byte [ebp - 4], 1
push 0x5c
push dword [ebp - 0x424]
call fcn.0052df7a
mov edx, eax
add esp, 8
or edi, 0xffffffff
test edx, edx
je 0x482a6f
mov ecx, dword [ebp - 0x424]
sub edx, ecx
sar edx, 1
cmp edx, edi
je 0x482a6f
mov eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x424]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00415dc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
push eax
call fcn.00416320
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x482a6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, 0x585080
lea ecx, [ebp - 0x424]
call fcn.00441660
test al, al
je 0x482a8c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x482aad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x482ad6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x42c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret