Function at 0x40c0e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x41e130]
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x284], ecx
lea ecx, [ebp - 0x264]
push ecx
mov dword [ebp - 0x26c], eax
call fcn.00408620
add esp, 4
mov esi, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
xor edi, edi
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], edi
call esi
test al, al
je 0x40c15e
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea eax, [edi + 1]
jmp 0x40c3bf
lea edx, [ebp - 0x268]
push edx
call fcn.004121d0
add esp, 4
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call esi
test al, al
je 0x40c1a8
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
jmp 0x40c3bf
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.00408820
add esp, 4
cmp eax, edi
mov dword [ebp - 0x270], eax
je 0x40c17d
push 0x24c
lea ecx, [ebp - 0x25c]
push 0
mov esi, 1
push ecx
mov dword [ebp - 0x274], edi
mov ebx, esi
mov dword [ebp - 0x260], 0
call sub.MSVCR80.dll_memset
push 0x417bdc
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
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]
cmp eax, 0xffffffff
mov dword [ebp - 0x280], eax
je 0x40c36d
test ebx, ebx
je 0x40c345
test byte [ebp - 0x260], 0x10
je 0x40c32a
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x417bd4
lea edx, [ebp - 0x234]
push edx
call ebx
test eax, eax
je 0x40c32a
push 0x417bd0
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x40c32a
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 0x27c], 0
call dword [sym.imp.Common.dll_Ordinal_34]
add esp, 8
cmp dword [ebp - 0x27c], 0
je 0x40c32a
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ebx
add edi, 1
push edi
push eax
lea ecx, [ebp - 0x234]
push ecx
push ecx
lea edx, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x28c], esp
push edx
call esi
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
mov byte [ebp - 4], 3
call esi
mov ecx, dword [ebp - 0x284]
mov byte [ebp - 4], 2
call fcn.0040aaf0
mov esi, eax
cmp esi, 0xffffffff
je 0x40c34b
cmp esi, 0xfffffffd
je 0x40c34b
cmp esi, 3
je 0x40c34b
cmp esi, 2
jne 0x40c32a
mov dword [ebp - 0x274], 1
mov edx, dword [ebp - 0x280]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x40c243
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 1
jne 0x40c373
cmp dword [ebp - 0x274], 0
je 0x40c373
mov esi, 2
jmp 0x40c373
mov ebx, dword [ebp - 0x26c]
test ebx, ebx
je 0x40c390
mov eax, dword [ebp - 0x270]
mov edx, dword [ebx]
mov edx, dword [edx]
push 0
push 0x64
push 0x64
push edi
push eax
push esi
push 4
mov ecx, ebx
call edx
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, esi
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.00412d02
mov esp, ebp
pop ebp
ret 4