Function at 0x4643a0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x4c1e7c
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x1fe
lea eax, [esp + 0xa2]
mov ebp, ecx
push ebx
push eax
mov dword [esp + 0x1c], ebp
mov word [esp + 0xa8], bx
call fcn.0048c300
mov eax, dword [esp + 0x2bc]
add esp, 0xc
cmp eax, ebx
jbe 0x4644f0
cmp byte [esp + 0x2b4], bl
je 0x4644f9
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x46444d
xor eax, eax
movzx ecx, word [eax + str.Unknown_Process__OpenProcessError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x464431
jmp 0x464532
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, ebx
je 0x4644c0
mov ecx, dword [esp + 0x14]
push 0xff
lea eax, [esp + 0xa0]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jne 0x4644e7
push 0x200
lea edx, [esp + 0xa0]
push ebx
push edx
call fcn.0048c300
add esp, 0xc
xor eax, eax
jmp 0x4644a0
movzx ecx, word [eax + str.Unknown_Process__GetModuleBaseNameError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x4644a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464532
xor eax, eax
jmp 0x4644d0
movzx ecx, word [eax + str.Unknown_Process__EnumProcessModulesError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x4644d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464532
cmp byte [esp + 0x2b4], bl
jne 0x464516
push str.No_pid_option_found_in_CmdLine
lea eax, [esp + 0xa0]
push 0x100
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
jmp 0x464532
push eax
push str.Unknown_ProcessID._PID___d
lea ecx, [esp + 0xa4]
push 0x100
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x464550
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x50]
call fcn.0040244b
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x2b0], ebx
call fcn.0046d290
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1f8]
mov byte [esp + 0x2b4], 1
call fcn.0040206e
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jb 0x4645b9
mov edx, dword [esp + 0x68]
push edx
call fcn.0048c049
add esp, 4
mov ebp, 8
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x2a8], 0xffffffff
jb 0x4645ec
mov eax, dword [esp + 0x4c]
push eax
call fcn.0048c049
add esp, 4
push 0x200
lea ecx, [esp + 0xa0]
push ebx
push ecx
call fcn.0048c300
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
movzx edx, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
push 0x4ce964
lea eax, [esp + 0xb8]
push 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [esp + 0xc0]
add esp, 0x24
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x464664
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040244b
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x2b0], 2
call fcn.0046d290
add esp, 8
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x214
mov byte [esp + 0x2b4], 3
call fcn.0040206e
cmp dword [esp + 0x98], esi
jb 0x4646d9
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0x2a8], 0xffffffff
jb 0x464710
mov edx, dword [esp + 0x30]
push edx
call fcn.0048c049
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x26c]
cmp eax, ebx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
je 0x464739
mov ecx, dword [esi + 0x270]
sub ecx, eax
jne 0x46473e
call fcn.0048c687
mov edx, dword [esi + 0x26c]
push edx
call fcn.004442e0
add esp, 4
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28c]
xor ecx, esp
call fcn.0048c010
add esp, 0x29c
ret 8