Function at 0x453330
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x4ae00c
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4cf640]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4cf640]
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.00479220
mov eax, dword [esp + 0x2bc]
add esp, 0xc
cmp eax, ebx
jbe 0x453480
cmp byte [esp + 0x2b4], bl
je 0x453489
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x4533dd
xor eax, eax
movzx ecx, word [eax + str.Unknown_Process__OpenProcessError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x4533c1
jmp 0x4534c2
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 0x453450
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 0x453477
push 0x200
lea edx, [esp + 0xa0]
push ebx
push edx
call fcn.00479220
add esp, 0xc
xor eax, eax
jmp 0x453430
movzx ecx, word [eax + str.Unknown_Process__GetModuleBaseNameError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x453430
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4534c2
xor eax, eax
jmp 0x453460
movzx ecx, word [eax + str.Unknown_Process__EnumProcessModulesError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x453460
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4534c2
cmp byte [esp + 0x2b4], bl
jne 0x4534a6
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 0x4534c2
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 0x4534e0
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.0045c290
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 0x453549
mov edx, dword [esp + 0x68]
push edx
call fcn.00478d09
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 0x45357c
mov eax, dword [esp + 0x4c]
push eax
call fcn.00478d09
add esp, 4
push 0x200
lea ecx, [esp + 0xa0]
push ebx
push ecx
call fcn.00479220
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 0x4b7b14
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 0x4535f4
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.0045c290
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 0x453669
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00478d09
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 0x4536a0
mov edx, dword [esp + 0x30]
push edx
call fcn.00478d09
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 0x4536c9
mov ecx, dword [esi + 0x270]
sub ecx, eax
jne 0x4536ce
call fcn.00479177
mov edx, dword [esi + 0x26c]
push edx
call fcn.004417d0
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.00478cd0
add esp, 0x29c
ret 8