Function at 0x40aaf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41499a
mov eax, dword fs:[0]
push eax
sub esp, 0x284
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 dword [ebp - 0x288], ecx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
mov edi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push esi
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 4], 1
call edi
add esp, 0xc
mov ebx, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417e68
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call ebx
push esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call edi
add esp, 0xc
push 0x417e68
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call ebx
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x280], esp
xor ebx, ebx
push edx
mov dword [ebp - 0x268], ebx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
call fcn.00408820
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x280], eax
jne 0x40ac4a
mov ecx, dword [ebp - 0x27c]
cmp ecx, ebx
je 0x40abda
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x268]
push edx
push ebx
push ebx
push ebx
push ebx
push 1
push 4
call eax
cmp dword [ebp - 0x268], ebx
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
je 0x40ac1e
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 3
jmp 0x40ae7e
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
jmp 0x40ae7e
push 0x24c
lea ecx, [ebp - 0x25c]
push 0
mov esi, 1
push ecx
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x260], ebx
call sub.MSVCR80.dll_memset
push 0x417bdc
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x28c]
push eax
call edi
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x28c]
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]
cmp eax, 0xffffffff
mov dword [ebp - 0x284], eax
je 0x40ae3d
cmp dword [ebp - 0x278], 0
je 0x40ae28
test byte [ebp - 0x260], 0x10
jne 0x40ad79
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x274]
push ecx
add ebx, 1
call edi
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov byte [ebp - 4], 5
call edi
add esp, 0x18
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 1
push ecx
lea edx, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x278], esp
push edx
mov byte [ebp - 4], 6
call esi
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
mov byte [ebp - 4], 7
call esi
mov byte [ebp - 4], 6
call fcn.00409980
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40adf6
cmp esi, 0xfffffffd
je 0x40adf6
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp - 0x288]
cmp dword [ecx + 0x48], 0
je 0x40ad99
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x288]
cmp dword [edx + 0x48], 0
jne 0x40ad85
mov ecx, dword [ebp - 0x27c]
test ecx, ecx
mov dword [ebp - 0x268], 0
je 0x40add7
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x268]
push edx
mov edx, dword [ebp - 0x280]
push ebx
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
push 1
push 4
call eax
cmp dword [ebp - 0x268], 0
jne 0x40ae23
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x278], eax
jmp 0x40acb3
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call edi
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40ae43
mov esi, 3
mov eax, dword [ebp - 0x284]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40ae43
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp + 0xc]
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 0x18