Function at 0x418d60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x424691
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [esp + 0x270]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push eax
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.004221c8
mov ecx, dword [esp + 0x284]
mov dword [esp + 0x278], esi
push ecx
lea ecx, [ebp + 0x3c]
call sub.MFC42u.DLL_CString::operator_2
push 1
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_2
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 1
call sub.MFC42u.DLL_CString::Right
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push ecx
push edx
call edi
add esp, 8
cmp eax, esi
lea ecx, [esp + 0x18]
setne bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 0
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x418e11
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004222e2
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x34]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
push 0x42e8d4
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x418e76
lea ecx, [esp + 0x14]
mov byte [ebp + 0x20], 0
mov dword [esp + 0x278], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x419049
test byte [esp + 0x20], 0x10
je 0x418ebb
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.004221c8
mov eax, dword [esp + 0x10]
push 0x42e8d0
push eax
call edi
add esp, 8
test eax, eax
je 0x418eb2
mov ecx, dword [esp + 0x10]
push 0x42e8c8
push ecx
call edi
add esp, 8
test eax, eax
je 0x418eb2
inc esi
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418e76
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x418ee7
mov byte [ebp + 0x20], 0
jmp 0x419030
mov ecx, ebp
call fcn.00419800
lea edx, [esi*4]
mov dword [ebp + 0xc], esi
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp + 4], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push 0x42e8d4
push eax
push ecx
mov byte [ebp + 0x20], 1
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [esp + 0x10]
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x418f5e
lea ecx, [esp + 0x14]
mov dword [esp + 0x278], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x419049
xor ebx, ebx
test byte [esp + 0x20], 0x10
je 0x419015
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.004221c8
mov ecx, dword [esp + 0x10]
push 0x42e8d0
push ecx
mov byte [esp + 0x280], 2
call edi
add esp, 8
test eax, eax
je 0x419004
mov edx, dword [esp + 0x10]
push 0x42e8c8
push edx
call edi
add esp, 8
test eax, eax
je 0x419004
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
mov dword [esp + 0x24], eax
call sub.MFC42u.DLL_operatornew
mov ecx, dword [ebp + 4]
add esp, 8
mov dword [ecx + ebx], eax
mov edx, dword [ebp + 4]
mov ecx, esi
lea esi, [esp + 0x4c]
mov edi, dword [edx + ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
add ebx, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
mov edx, dword [ecx + ebx - 4]
mov word [edx + eax - 2], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418f60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov dword [esp + 0x278], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x26c
ret 8