Function at 0x43a1da
Capabilities:
Enumerate process modules

Disassembly:
push 0x6fc
mov eax, 0x4b19e0
call fcn.0046ac3c
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.00450db1
push eax
lea ecx, [ebp - 0x6a4]
call main
and dword [ebp - 4], 0
mov ecx, ebx
call main
test al, al
jne 0x43a70f
push str.ntdll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x43a272
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 1
jmp 0x43a2c4
push str.NtWow64QueryInformationProcess64
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x694], eax
test eax, eax
jne 0x43a29e
push str.GetProcAddress_NtWow64QueryInformationProcess64_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 2
jmp 0x43a2c4
push str.NtWow64ReadVirtualMemory64
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x43a2ce
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 0x43a30b
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 [0x4b87e4]
call esi
mov esi, eax
test esi, esi
je 0x43a32e
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.004175da
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43a8be
push ecx
lea eax, [ebp - 0x689]
mov byte [ebp - 0x689], 0
push eax
push 0x38
lea ecx, [ebp - 0x700]
call main
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 [0x4b87e4]
call edi
mov esi, eax
test esi, esi
je 0x43a3bb
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.004175da
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43a6ff
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 main
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 [0x4b87e4]
call edi
mov esi, eax
test esi, esi
je 0x43a453
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.004175da
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43a6f4
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 main
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 [0x4b87e4]
call edi
mov esi, eax
test esi, esi
jne 0x43a6b7
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 main
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 [0x4b87e4]
call edi
mov esi, eax
test esi, esi
jne 0x43a678
lea edx, [ebp - 0x6d4]
lea ecx, [ebp - 0x230]
call fcn.00437a33
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.00409e8c
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 main
cmp dword [eax], esi
je 0x43a5c8
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.0043a8d4
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.00410484
lea ecx, [ebp - 0x6d4]
call fcn.0043da46
lea ecx, [ebp - 0x6e0]
mov byte [ebp - 4], 7
call fcn.0043da46
cmp dword [ebp - 0x69c], 0x400
jae 0x43a65d
mov ecx, dword [ebp - 0x6b4]
mov eax, dword [ebp + 0x14]
cmp dword [ecx], eax
jae 0x43a65d
cmp dword [ebp - 0x694], 0
jne 0x43a65d
cmp dword [ebp - 0x6e4], esi
jne 0x43a485
mov eax, dword [ebp - 0x6b8]
cmp eax, dword [ebp - 0x6a0]
jne 0x43a485
lea ecx, [ebp - 0x6f4]
call fcn.0043da46
lea ecx, [ebp - 0x700]
call fcn.0043da46
jmp 0x43a8b8
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.004175da
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6d4]
call fcn.0043da46
jmp 0x43a6e9
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.004175da
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6e0]
call fcn.0043da46
lea ecx, [ebp - 0x6f4]
call fcn.0043da46
lea ecx, [ebp - 0x700]
call fcn.0043da46
jmp 0x43a8be
push esi
push 8
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a896
lea eax, [ebp - 0x688]
mov dword [ebp - 0x688], 0x428
push eax
push ebx
call dword [sym.imp.kernel32.dll_Module32FirstW]
test eax, eax
je 0x43a88d
and dword [ebp - 0x69c], 0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004830a0
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 0x43a828
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 main
mov ecx, dword [ebp - 0x694]
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp esi, edi
je 0x43a84c
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.0043a8d4
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 0x43a852
push esi
lea eax, [ebp - 0x6a4]
push str.GetModuleFileNameEx_failed_for_process__ID:__ld
push eax
call main
push 0
lea edx, [ebp - 0x6a4]
call main
add esp, 0x10
jmp 0x43a858
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 0x43a88d
cmp eax, dword [ebp + 0x14]
jae 0x43a88d
lea eax, [ebp - 0x688]
push eax
push ebx
call dword [sym.imp.kernel32.dll_Module32NextW]
test eax, eax
jne 0x43a74a
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x43a8b8
push esi
lea eax, [ebp - 0x6a4]
push str.CreateToolhelp32Snapshot::TH32CS_SNAPMODULE_failed_for_process__ID:__ld
push eax
call main
push 0
lea edx, [ebp - 0x6a4]
call main
add esp, 0x10
mov esi, dword [ebp - 0x690]
mov ecx, dword [ebp - 0x6a4]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046abe6
ret