Function at 0x4374fa
Capabilities:
Enumerate process modules

Disassembly:
push 0x6fc
mov eax, 0x4b3220
call fcn.0046c44c
mov esi, edx
mov dword [ebp - 0x6b0], esi
mov ebx, ecx
mov dword [ebp - 0x6a0], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6a8], edi
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x690], 0x12
call fcn.00452601
push eax
lea ecx, [ebp - 0x6a4]
call fcn.00402899
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00436761
test al, al
jne 0x437a2f
push 0x4eb960
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x437592
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 1
jmp 0x4375e4
push str.NtWow64QueryInformationProcess64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x694], eax
test eax, eax
jne 0x4375be
push str.GetProcAddress_NtWow64QueryInformationProcess64_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 2
jmp 0x4375e4
push str.NtWow64ReadVirtualMemory64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4375ee
push str.GetProcAddress_NtWow64ReadVirtualMemory64_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43762b
mov esi, dword [ebp - 0x694]
lea eax, [ebp - 0x708]
push eax
push 0x30
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
push 0
push ebx
call dword [0x4ba7ec]
call esi
mov esi, eax
test esi, esi
je 0x43764e
push str.NtQueryInformationProcess_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x690]
push esi
inc ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x437bde
push ecx
lea eax, [ebp - 0x689]
mov byte [ebp - 0x689], 0
push eax
push 0x38
lea ecx, [ebp - 0x700]
call fcn.0043b289
mov byte [ebp - 4], 5
lea edx, [ebp - 0x6c8]
mov ecx, dword [ebp - 0x700]
mov eax, dword [ebp - 0x6fc]
push edx
push 0
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x254]
mov ecx, edi
push dword [ebp - 0x258]
push ebx
call dword [0x4ba7ec]
call edi
mov esi, eax
test esi, esi
je 0x4376db
push str.NtReadVirtualMemory_read_peb_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 6
push esi
lea edx, [ebp - 0x690]
inc ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x437a1f
push ecx
lea eax, [ebp - 0x689]
mov byte [ebp - 0x689], 0
push eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x6f4]
push 0x40
movlpd qword [ebp - 0x6c8], xmm0
call fcn.0043b289
mov byte [ebp - 4], 7
lea edx, [ebp - 0x6c8]
mov ecx, dword [ebp - 0x6f4]
mov eax, dword [ebp - 0x6f0]
push edx
push 0
sub eax, ecx
push eax
mov eax, dword [ebp - 0x700]
push ecx
mov ecx, edi
push dword [eax + 0x1c]
push dword [eax + 0x18]
push ebx
call dword [0x4ba7ec]
call edi
mov esi, eax
test esi, esi
je 0x437773
push str.NtReadVirtualMemory_read_peb_ldr_data_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 8
push esi
lea edx, [ebp - 0x690]
inc ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x437a14
mov eax, dword [ebp - 0x6f4]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x6b8], eax
xor eax, eax
and dword [ebp - 0x694], eax
mov dword [ebp - 0x6e4], esi
mov dword [ebp - 0x69c], eax
mov byte [ebp - 0x689], al
push ecx
lea eax, [ebp - 0x689]
push eax
push 0x88
lea ecx, [ebp - 0x6e0]
call fcn.0043b289
mov byte [ebp - 4], 9
lea edx, [ebp - 0x6c8]
mov ecx, dword [ebp - 0x6e0]
mov eax, dword [ebp - 0x6dc]
push edx
push 0
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x6a0]
mov ecx, edi
push esi
push ebx
call dword [0x4ba7ec]
call edi
mov esi, eax
test esi, esi
jne 0x4379d7
mov esi, dword [ebp - 0x6e0]
mov byte [ebp - 0x695], al
lea eax, [ebp - 0x695]
push ecx
push eax
movzx eax, word [esi + 0x4a]
lea ecx, [ebp - 0x6d4]
push eax
call fcn.0043b289
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c8]
mov eax, dword [ebp - 0x6d0]
sub eax, dword [ebp - 0x6d4]
push ecx
push 0
push eax
push dword [ebp - 0x6d4]
mov ecx, edi
push dword [esi + 0x54]
push dword [esi + 0x50]
push ebx
call dword [0x4ba7ec]
call edi
mov esi, eax
test esi, esi
jne 0x437998
lea edx, [ebp - 0x6d4]
lea ecx, [ebp - 0x230]
call fcn.00434db3
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x6ac]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0040aeec
mov eax, dword [ebp - 0x6a8]
lea ecx, [ebp - 0x6ac]
push ecx
lea ecx, [ebp - 0x6e8]
mov byte [ebp - 4], 0xe
inc dword [ebp - 0x69c]
mov esi, dword [eax]
push ecx
mov ecx, eax
call fcn.004338a2
cmp dword [eax], esi
je 0x4378e8
mov edx, dword [ebp - 0x6b0]
lea eax, [ebp - 0x694]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x6ac]
mov ecx, ebx
push dword [ebp - 0x6bc]
push eax
push dword [ebp - 0x6c0]
call fcn.00437bf4
add esp, 0x14
mov dword [ebp - 0x690], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [ebp - 0x6b4]
sub eax, dword [ebp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x6e0]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x6ac]
mov dword [ebp - 0x6a0], eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x230]
call fcn.0043b6b7
lea ecx, [ebp - 0x6d4]
call fcn.0043b266
lea ecx, [ebp - 0x6e0]
mov byte [ebp - 4], 7
call fcn.0043b266
cmp dword [ebp - 0x69c], 0x400
jae 0x43797d
mov ecx, dword [ebp - 0x6b4]
mov eax, dword [ebp + 0x14]
cmp dword [ecx], eax
jae 0x43797d
cmp dword [ebp - 0x694], 0
jne 0x43797d
cmp dword [ebp - 0x6e4], esi
jne 0x4377a5
mov eax, dword [ebp - 0x6b8]
cmp eax, dword [ebp - 0x6a0]
jne 0x4377a5
lea ecx, [ebp - 0x6f4]
call fcn.0043b266
lea ecx, [ebp - 0x700]
call fcn.0043b266
jmp 0x437bd8
push str.NtReadVirtualMemory_unicode_path_failed__error:
lea ecx, [ebp - 0x694]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0xc
push esi
lea edx, [ebp - 0x694]
inc ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6d4]
call fcn.0043b266
jmp 0x437a09
push str.NtReadVirtualMemory_read_ldr_table_entry_failed__error:
lea ecx, [ebp - 0x694]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0xa
push esi
lea edx, [ebp - 0x694]
inc ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6e0]
call fcn.0043b266
lea ecx, [ebp - 0x6f4]
call fcn.0043b266
lea ecx, [ebp - 0x700]
call fcn.0043b266
jmp 0x437bde
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x437bb6
lea eax, [ebp - 0x688]
mov dword [ebp - 0x688], 0x428
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x437bad
and dword [ebp - 0x69c], 0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x66c]
push dword [ebp - 0x6a0]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x437b48
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x694]
call fcn.00402829
mov ecx, dword [ebp - 0x6a8]
lea eax, [ebp - 0x694]
mov edi, dword [edi]
push eax
lea eax, [ebp - 0x6e8]
push eax
call fcn.004338a2
mov ecx, dword [ebp - 0x694]
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp esi, edi
je 0x437b6c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.00402829
mov esi, dword [ebp - 0x6b0]
lea ecx, [ebp - 0x69c]
push ecx
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x6a0]
mov edx, esi
push dword [ebp - 0x6bc]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x6c0]
call fcn.00437bf4
mov byte [ebp - 4], 0
add esp, 0x14
mov ecx, dword [ebp - 0x6b8]
mov dword [ebp - 0x690], eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x437b72
push esi
lea eax, [ebp - 0x6a4]
push str.GetModuleFileNameEx_failed_for_process__ID:__ld
push eax
call fcn.004027d2
push 0
lea edx, [ebp - 0x6a4]
call fcn.00414d97
add esp, 0x10
jmp 0x437b78
mov esi, dword [ebp - 0x6b0]
mov edi, dword [ebp - 0x6a8]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [ebp - 0x6b4]
sub eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x69c], 0
mov dword [ecx], eax
jne 0x437bad
cmp eax, dword [ebp + 0x14]
jae 0x437bad
lea eax, [ebp - 0x688]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x437a6a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437bd8
push esi
lea eax, [ebp - 0x6a4]
push str.CreateToolhelp32Snapshot::TH32CS_SNAPMODULE_failed_for_process__ID:__ld
push eax
call fcn.004027d2
push 0
lea edx, [ebp - 0x6a4]
call fcn.00414d97
add esp, 0x10
mov esi, dword [ebp - 0x690]
mov ecx, dword [ebp - 0x6a4]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046c3f6
ret