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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013e2a
mov eax, dword fs:[0]
push eax
mov eax, 0x1634
call fcn.100135a0
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x158c]
push eax
push 0x1000
lea ecx, [ebp - 0x1460]
xor edi, edi
push ecx
mov dword [ebp - 0x158c], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10005fae
xor al, al
jmp 0x100061ba
lea edx, [ebp - 0x1640]
push edx
call fcn.10006960
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x158c]
shr esi, 2
mov dword [ebp - 0x1590], edi
mov dword [ebp - 0x1598], esi
cmp esi, edi
jle 0x100060db
lea eax, [ebp + edi*4 - 0x1460]
mov dword [ebp - 0x1594], eax
mov eax, dword [eax]
test eax, eax
je 0x100060cc
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100060c5
push 0x104
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100060c5
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x1640]
push edx
call fcn.100086a0
push eax
call fcn.10008900
add esp, 0xc
lea esi, [ebp - 0x258]
call fcn.1000f900
push eax
lea eax, [ebp - 0x50]
push 0x1001991c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x460]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.1000f660
add esp, 4
test al, al
je 0x100060bf
mov edx, dword [ebp - 0x1594]
mov eax, dword [edx]
mov dword [ebp - 0x1588], eax
mov ecx, 8
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x1584]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x1564]
push 0x10019b34
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1588]
push eax
call fcn.10008bb0
mov edi, dword [ebp - 0x1590]
mov esi, dword [ebp - 0x1598]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x1590], edi
cmp edi, esi
jl 0x10005fda
cmp dword [ebp - 0x15e8], 0
lea esi, [ebp - 0x163c]
je 0x1000610b
mov ebx, esi
call fcn.10008130
test al, al
jne 0x100060f7
xor esi, esi
mov ecx, dword [ebp - 0x15e8]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
test eax, eax
je 0x1000610d
xor esi, esi
lea ecx, [ebp - 0x163c]
mov byte [ebp - 0x15ec], 0
mov byte [ebp - 0x15f2], 0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void_]
mov edx, dword [0x10129674]
xor eax, eax
mov dword [ebp - 0x15e8], eax
mov dword [ebp - 0x15f0], edx
mov dword [ebp - 0x15f8], eax
cmp esi, eax
jne 0x1000615e
push eax
mov eax, dword [ebp - 0x1640]
mov ecx, dword [eax + 4]
push 2
lea ecx, [ebp + ecx - 0x1640]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
mov edx, dword [ebp - 0x1640]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x15e0]
mov dword [ebp - 0x1594], ecx
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
lea ecx, [ebp - 0x163c]
mov dword [ebp - 4], 1
call fcn.10006a40
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1640]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::vftable]
lea ecx, [ebp - 0x15e0]
mov dword [ebp + edx - 0x1640], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012ae6
mov esp, ebp
pop ebp
ret