Function at 0x408b50
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x258]
lea edx, [esp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x25c]
push eax
push ecx
push str._s_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x114]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408dcd
mov dl, byte [esp + 0x140]
mov al, byte [esp + 0x141]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
add esi, 0x168
push ecx
push 0xffff
push 1
mov ecx, esi
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0
call sub.MFC42.DLL_CListCtrl::InsertItem
mov dl, byte [esp + 0x142]
mov cl, byte [esp + 0x144]
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x145]
mov edi, eax
mov al, byte [esp + 0x143]
mov byte [esp + 0x14], dl
mov byte [esp + 0x13], cl
mov cl, byte [esp + 0x147]
lea edx, [esp + 0x10]
mov byte [esp + 0x11], al
mov al, byte [esp + 0x146]
push edx
mov byte [esp + 0x1b], cl
push 1
push edi
mov ecx, esi
mov byte [esp + 0x1e], 0x3a
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], al
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x10]
shr eax, 0xa
push eax
push 0x4120cc
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 2
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x258]
lea eax, [esp + 0x140]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 3
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x114]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408dc6
mov dl, byte [esp + 0x140]
mov al, byte [esp + 0x141]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0xffff
push 1
mov ecx, esi
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0
call sub.MFC42.DLL_CListCtrl::InsertItem
mov dl, byte [esp + 0x142]
mov cl, byte [esp + 0x144]
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x145]
mov edi, eax
mov al, byte [esp + 0x143]
mov byte [esp + 0x14], dl
mov byte [esp + 0x13], cl
mov cl, byte [esp + 0x147]
lea edx, [esp + 0x10]
mov byte [esp + 0x11], al
mov al, byte [esp + 0x146]
push edx
mov byte [esp + 0x1b], cl
push 1
push edi
mov ecx, esi
mov byte [esp + 0x1e], 0x3a
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], al
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x10]
shr eax, 0xa
push eax
push 0x4120cc
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 2
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x258]
lea eax, [esp + 0x140]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 3
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x114]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408cc0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret 8