Function at 0x4185f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5467ba
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
xor eax, eax
lea ecx, [ebp - 0x128]
sub esp, 8
mov dword [ebp - 0x11c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14c], eax
movq qword [ebp - 0x128], xmm0
mov dword [ebp - 0x120], eax
call fcn.00419ae0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x128]
push eax
push 0x1000
push ebx
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x418bf7
cmp ebx, dword [ebp - 0x124]
je 0x418bf7
mov edi, ebx
mov ebx, dword [ebp - 0x150]
nop
mov eax, dword [edi]
mov ecx, ebx
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.0041a0d0
mov eax, dword [ebp - 0x1d0]
xor ebx, ebx
mov esi, dword [ebp - 0x1cc]
mov dword [ebp - 0x11c], eax
cmp eax, esi
je 0x4186f4
nop word [eax + eax]
lea ecx, [ebp - 0x11c]
inc ebx
call fcn.004067c0
cmp dword [ebp - 0x11c], esi
jne 0x4186e0
test ebx, ebx
jne 0x418bd6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
push ebx
mov byte [ebp - 0x1a8], bl
call fcn.00405010
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x168]
xorps xmm0, xmm0
mov byte [ebp - 0x168], bl
movq qword [ebp - 0x160], xmm0
call fcn.0041a160
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 3
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
push 0x56e448
mov byte [ecx], bl
call fcn.00405f10
lea ecx, [ebp - 0x1a8]
call fcn.00408b60
mov esi, eax
mov al, byte [ebp - 0x168]
mov bl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x160]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 0x168], bl
mov dword [esi + 0xc], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], edx
push ebx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 4
call fcn.00404bc0
mov byte [ebp - 4], 5
push dword [ebp - 0x148]
mov eax, dword [ebp - 0x14c]
or eax, 1
mov dword [ebp - 0x1b0], 0
push 0
push 0x1000
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x418857
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x41883a
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418815
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00405f10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41886b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_GetModuleBaseNameA_:__lu
call fcn.00413260
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41886b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_OpenProcess_:__lu
call fcn.00413260
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 0x178], 0
lea edx, [ebp - 0x1c0]
movq qword [ebp - 0x170], xmm0
lea ecx, [ebp - 0x178]
call fcn.00412a70
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.name
mov byte [ecx], 0
call fcn.00405f10
lea ecx, [ebp - 0x1a8]
call fcn.00408b60
mov esi, eax
mov al, byte [ebp - 0x178]
mov bl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x170]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x16c]
mov byte [ebp - 0x178], bl
mov dword [esi + 0xc], eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], edx
push ebx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 7
call fcn.00404bc0
and dword [ebp - 0x14c], 0xfffffffe
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ac]
cmp edx, 0x10
jb 0x41894a
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418940
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c48
push edx
push ecx
call fcn.005186d6
add esp, 8
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.name
mov byte [ecx], 0
call fcn.00405f10
lea ecx, [ebp - 0x1a8]
call fcn.00408b60
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x418991
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x144]
call fcn.004c2660
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1ac]
cmp edx, 0x10
jb 0x4189dc
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4189d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c48
push edx
push ecx
call fcn.005186d6
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
lea edx, [ebp - 0x144]
mov dword [ebp - 0x1ac], 0xf
lea ecx, [ebp - 0x188]
mov byte [ebp - 0x1c0], 0
mov byte [ebp - 0x188], 0
movq qword [ebp - 0x180], xmm0
call fcn.00412ae0
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x563b98
mov byte [ecx], 0
call fcn.00405f10
lea ecx, [ebp - 0x1a8]
call fcn.00408b60
mov esi, eax
mov al, byte [ebp - 0x188]
mov bl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x180]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x17c]
mov byte [ebp - 0x188], bl
mov dword [esi + 0xc], eax
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], edx
push ebx
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xc
call fcn.00404bc0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x198]
call fcn.00404440
mov ebx, dword [ebp - 0x150]
mov byte [ebp - 4], 0xd
mov edx, dword [ebx]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x418ae1
mov ecx, dword [ebp - 0x148]
cmp dword [eax + 0x10], ecx
jge 0x418ace
mov eax, dword [eax + 8]
jmp 0x418ad2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x418ac4
cmp esi, edx
je 0x418ae1
cmp ecx, dword [esi + 0x10]
jge 0x418b17
lea eax, [ebp - 0x148]
push ecx
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push ecx
mov ecx, ebx
call fcn.0041a1c0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x1c4]
push eax
call fcn.0041a230
mov esi, dword [ebp - 0x1c4]
mov cl, byte [esi + 0x18]
mov al, byte [ebp - 0x198]
mov byte [esi + 0x18], al
mov eax, dword [ebp - 0x190]
mov byte [ebp - 0x198], cl
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x18c]
mov dword [esi + 0x24], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x190]
push dword [ebp - 0x198]
call fcn.00404bc0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x418ba0
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418b96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c48
push edx
push ecx
call fcn.005186d6
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x1a8]
call fcn.00404bc0
mov byte [ebp - 4], 0
jmp 0x418bdc
mov ebx, dword [ebp - 0x150]
add edi, 4
cmp edi, dword [ebp - 0x124]
jne 0x4186a0
mov ebx, dword [ebp - 0x128]
mov esi, dword [ebp - 0x1c8]
test ebx, ebx
je 0x418c2a
mov ecx, dword [ebp - 0x120]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x418c20
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c48
push ecx
push ebx
call fcn.005186d6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
ret
call fcn.00527f3b
int3