Function at 0x408b7a
Capabilities:
Enumerate files on windows

Disassembly:
push 0x288
mov eax, 0x41144d
call fcn.0040f8eb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x294], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x290], ecx
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0xc
mov edi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
mov ebx, 0x414da8
push ebx
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call edi
push dword [ebp - 0x270]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x284]
push eax
call esi
add esp, 0xc
push ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 3
call edi
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x28c], esp
xor edi, edi
push eax
mov dword [ebp - 0x264], edi
call ebx
call fcn.00407010
pop ecx
mov dword [ebp - 0x28c], eax
cmp eax, edi
jne 0x408c91
mov ecx, dword [ebp - 0x290]
cmp ecx, edi
je 0x408c47
mov eax, dword [ecx]
lea edx, [ebp - 0x264]
push edx
push edi
push edi
push edi
push edi
push 1
push 4
call dword [eax]
cmp dword [ebp - 0x264], edi
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
je 0x408c8c
push 3
pop esi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call edi
mov eax, esi
call fcn.0040f935
ret 0x18
xor esi, esi
inc esi
jmp 0x408c58
xor eax, eax
inc eax
push 0x24c
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x260], edi
call sub.MSVCR100.dll_memset
push 0x414b20
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x288]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x408e58
cmp dword [ebp - 0x274], 0
je 0x408e4c
test byte [ebp - 0x260], 0x10
jne 0x408dc4
inc dword [ebp - 0x280]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x27c]
push eax
mov byte [ebp - 4], 5
call esi
add esp, 0x18
push 1
push ecx
lea eax, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x274], esp
push eax
mov byte [ebp - 4], 6
call ebx
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov byte [ebp - 4], 7
call ebx
mov byte [ebp - 4], 6
call fcn.00407c92
add esp, 0xc
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x408e28
cmp eax, 0xfffffffd
je 0x408e28
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call edi
mov ecx, dword [ebp - 0x294]
call fcn.004073b6
mov ecx, dword [ebp - 0x290]
and dword [ebp - 0x264], 0
test ecx, ecx
je 0x408e0a
mov eax, dword [ecx]
lea edx, [ebp - 0x264]
push edx
push dword [ebp - 0x280]
push dword [ebp - 0x28c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 1
push 4
call dword [eax]
cmp dword [ebp - 0x264], 0
jne 0x408e42
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x274], eax
jmp 0x408d09
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call edi
jmp 0x408e4c
mov dword [ebp - 0x26c], 3
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call edi
mov esi, dword [ebp - 0x26c]
jmp 0x408c58