Function at 0x10006140
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1b4c
call fcn.1000fc40
mov eax, dword [0x10019018]
xor eax, esp
mov dword [esp + 0x1b48], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
push eax
push 0x1000
lea ecx, [esp + 0x558]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000619a
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b48]
xor ecx, esp
call fcn.1000f292
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x18]
shr esi, 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
cmp esi, ebx
jle 0x10006479
lea eax, [esp + ebx*4 + 0x550]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x1000646c
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x10006465
push 0x104
lea edx, [esp + 0x17bc]
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10006465
lea esi, [esp + 0x17b8]
call fcn.1000c2c0
push eax
lea eax, [esp + 0x1574]
push 0x100157e4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x15bc]
push ecx
mov ecx, esi
call fcn.1000c070
add esp, 0x10
test al, al
je 0x10006461
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, 8
lea esi, [esp + 0x1570]
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x15b0]
push ecx
lea edx, [esp + 0x1554]
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.10006490
test al, al
jne 0x1000630b
lea esi, [esp + 0x150]
mov edi, 1
call section..text
push 0x10012558
lea edx, [esp + 0x15b4]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x100062b3
or eax, 0xffffffff
jmp 0x100062c5
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x154]
push edx
call fcn.10001320
mov dword [esp + 0x10], eax
xor eax, eax
mov ebx, eax
mov edx, eax
mov ecx, eax
mov dword [esp + 0x1550], eax
mov dword [esp + 0x1554], eax
mov dword [esp + 0x1558], eax
mov dword [esp + 0x155c], eax
mov dword [esp + 0x1560], ebx
mov dword [esp + 0x1564], edx
mov dword [esp + 0x1568], ecx
mov dword [esp + 0x156c], eax
jmp 0x10006327
mov eax, dword [esp + 0x156c]
mov ecx, dword [esp + 0x1568]
mov edx, dword [esp + 0x1564]
mov ebx, dword [esp + 0x1560]
lea esi, [esp + 0x15b0]
push esi
movzx esi, byte [esp + 0x1573]
push esi
movzx esi, byte [esp + 0x1576]
push esi
movzx esi, ah
push esi
movzx eax, al
push eax
movzx eax, byte [esp + 0x157f]
push eax
movzx eax, byte [esp + 0x1582]
push eax
movzx eax, ch
push eax
movzx eax, byte [esp + 0x1587]
movzx ecx, cl
push ecx
push eax
movzx ecx, byte [esp + 0x158e]
push ecx
movzx eax, dh
push eax
movzx eax, byte [esp + 0x1592]
movzx ecx, dl
movzx edx, byte [esp + 0x1593]
push ecx
push edx
push eax
movzx eax, byte [esp + 0x159b]
movzx ecx, bh
push ecx
movzx ecx, byte [esp + 0x159e]
movzx edx, bl
push edx
push eax
mov eax, dword [esp + 0x15a4]
push ecx
movzx ecx, byte [esp + 0x15a7]
movzx edx, ah
push edx
movzx edx, byte [esp + 0x15aa]
movzx eax, al
push eax
mov eax, dword [esp + 0x15ac]
push ecx
push edx
movzx ecx, ah
push ecx
movzx ecx, byte [esp + 0x15b6]
movzx edx, al
movzx eax, byte [esp + 0x15b7]
push edx
push eax
mov eax, dword [esp + 0x15bc]
push ecx
movzx ecx, byte [esp + 0x15bf]
movzx edx, ah
push edx
movzx edx, byte [esp + 0x15c2]
movzx eax, al
push eax
mov eax, dword [esp + 0x15c4]
push ecx
push edx
movzx ecx, ah
push ecx
movzx edx, al
mov eax, dword [esp + 0x90]
push edx
push eax
push edi
lea ecx, [esp + 0x1a4c]
push str._d_t_0x_.8X__t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t__S__r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x94
mov ecx, 0x41
lea esi, [esp + 0x19c0]
lea edi, [esp + 0x4c]
lea edx, [esp + 0x28]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.100066e0
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, esi
jl 0x100061b1
mov ecx, dword [esp + 0x1b54]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1000f292
mov esp, ebp
pop ebp
ret