Function at 0x435d91
Capabilities:
Enumerate process modules

Disassembly:
push 0x6fc
mov eax, 0x4af9b0
call fcn.00468fdc
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.0044f181
push eax
lea ecx, [ebp - 0x6a4]
call fcn.00402899
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.0043500e
test al, al
jne 0x4362c6
push 0x4e6700
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x435e29
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 1
jmp 0x435e7b
push str.NtWow64QueryInformationProcess64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x694], eax
test eax, eax
jne 0x435e55
push str.GetProcAddress_NtWow64QueryInformationProcess64_failed__error:
lea ecx, [ebp - 0x690]
call fcn.00402829
mov byte [ebp - 4], 2
jmp 0x435e7b
push str.NtWow64ReadVirtualMemory64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x435e85
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 0x435ec2
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 [0x4b67e8]
call esi
mov esi, eax
test esi, esi
je 0x435ee5
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.00413882
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x436475
push ecx
lea eax, [ebp - 0x689]
mov byte [ebp - 0x689], 0
push eax
push 0x38
lea ecx, [ebp - 0x700]
call fcn.004395f9
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 [0x4b67e8]
call edi
mov esi, eax
test esi, esi
je 0x435f72
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.00413882
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4362b6
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.004395f9
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 [0x4b67e8]
call edi
mov esi, eax
test esi, esi
je 0x43600a
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.00413882
pop ecx
mov ecx, dword [ebp - 0x690]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4362ab
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.004395f9
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 [0x4b67e8]
call edi
mov esi, eax
test esi, esi
jne 0x43626e
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.004395f9
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 [0x4b67e8]
call edi
mov esi, eax
test esi, esi
jne 0x43622f
lea edx, [ebp - 0x6d4]
lea ecx, [ebp - 0x230]
call fcn.00433663
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.0040993c
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.00432162
cmp dword [eax], esi
je 0x43617f
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.0043648b
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.00439a27
lea ecx, [ebp - 0x6d4]
call fcn.004395d6
lea ecx, [ebp - 0x6e0]
mov byte [ebp - 4], 7
call fcn.004395d6
cmp dword [ebp - 0x69c], 0x400
jae 0x436214
mov ecx, dword [ebp - 0x6b4]
mov eax, dword [ebp + 0x14]
cmp dword [ecx], eax
jae 0x436214
cmp dword [ebp - 0x694], 0
jne 0x436214
cmp dword [ebp - 0x6e4], esi
jne 0x43603c
mov eax, dword [ebp - 0x6b8]
cmp eax, dword [ebp - 0x6a0]
jne 0x43603c
lea ecx, [ebp - 0x6f4]
call fcn.004395d6
lea ecx, [ebp - 0x700]
call fcn.004395d6
jmp 0x43646f
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.00413882
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6d4]
call fcn.004395d6
jmp 0x4362a0
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.00413882
pop ecx
mov ecx, dword [ebp - 0x694]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6e0]
call fcn.004395d6
lea ecx, [ebp - 0x6f4]
call fcn.004395d6
lea ecx, [ebp - 0x700]
call fcn.004395d6
jmp 0x436475
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43644d
lea eax, [ebp - 0x688]
mov dword [ebp - 0x688], 0x428
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x436444
and dword [ebp - 0x69c], 0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00481750
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 0x4363df
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.00432162
mov ecx, dword [ebp - 0x694]
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp esi, edi
je 0x436403
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.0043648b
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 0x436409
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.00413819
add esp, 0x10
jmp 0x43640f
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 0x436444
cmp eax, dword [ebp + 0x14]
jae 0x436444
lea eax, [ebp - 0x688]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x436301
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43646f
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.00413819
add esp, 0x10
mov esi, dword [ebp - 0x690]
mov ecx, dword [ebp - 0x6a4]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.00468f86
ret