Function at 0x453700
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x4af1fc
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4d1644]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4d1644]
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.0047a360
mov eax, dword [esp + 0x2bc]
add esp, 0xc
cmp eax, ebx
jbe 0x453850
cmp byte [esp + 0x2b4], bl
je 0x453859
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x4537ad
xor eax, eax
movzx ecx, word [eax + str.Unknown_Process__OpenProcessError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x453791
jmp 0x453892
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 0x453820
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 0x453847
push 0x200
lea edx, [esp + 0xa0]
push ebx
push edx
call fcn.0047a360
add esp, 0xc
xor eax, eax
jmp 0x453800
movzx ecx, word [eax + str.Unknown_Process__GetModuleBaseNameError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x453800
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x453892
xor eax, eax
jmp 0x453830
movzx ecx, word [eax + str.Unknown_Process__EnumProcessModulesError_]
mov word [esp + eax + 0x9c], cx
add eax, 2
cmp cx, bx
jne 0x453830
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x453892
cmp byte [esp + 0x2b4], bl
jne 0x453876
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 0x453892
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 0x4538b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x50]
call fcn.00402467
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x2b0], ebx
call fcn.0045c500
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1f8]
mov byte [esp + 0x2b4], 1
call fcn.0040208a
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jb 0x453919
mov edx, dword [esp + 0x68]
push edx
call fcn.00479e49
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 0x45394c
mov eax, dword [esp + 0x4c]
push eax
call fcn.00479e49
add esp, 4
push 0x200
lea ecx, [esp + 0xa0]
push ebx
push ecx
call fcn.0047a360
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 0x4b9b2c
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 0x4539c4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402467
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x2b0], 2
call fcn.0045c500
add esp, 8
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x214
mov byte [esp + 0x2b4], 3
call fcn.0040208a
cmp dword [esp + 0x98], esi
jb 0x453a39
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00479e49
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 0x453a70
mov edx, dword [esp + 0x30]
push edx
call fcn.00479e49
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 0x453a99
mov ecx, dword [esi + 0x270]
sub ecx, eax
jne 0x453a9e
call fcn.0047a2b7
mov edx, dword [esi + 0x26c]
push edx
call fcn.00442210
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.00479e10
add esp, 0x29c
ret 8