Function at 0x40a6b2
Capabilities:
Enumerate files on windows

Disassembly:
push 0x29c
mov eax, 0x411783
call fcn.0040f91b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x28c], ecx
call fcn.00406ea4
pop ecx
mov esi, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
xor edi, edi
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], edi
call esi
test al, al
je 0x40a70e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor eax, eax
call fcn.0040f965
ret 4
lea eax, [ebp - 0x26c]
push eax
call fcn.0040ef44
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call esi
test al, al
je 0x40a74d
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call ebx
mov eax, edi
jmp 0x40a706
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x294], esp
push eax
call esi
call fcn.0040ee57
pop ecx
cmp eax, edi
jne 0x40a774
push 0xfffffffffffffffd
pop edi
jmp 0x40a72b
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x294], esp
push eax
call esi
call fcn.00407015
pop ecx
mov dword [ebp - 0x29c], eax
cmp eax, edi
jne 0x40a79b
xor edi, edi
inc edi
jmp 0x40a72b
xor eax, eax
inc eax
push 0x24c
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x260], edi
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push 0x414b68
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x298]
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x298]
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]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [ebp - 0x2a4], eax
cmp eax, 0xffffffff
je 0x40ac89
cmp dword [ebp - 0x278], 0
je 0x40ac58
test byte [ebp - 0x260], 0x10
je 0x40aa29
push 0x414b60
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40abe6
push 0x414b5c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40abe6
lea eax, [ebp - 0x234]
push eax
push 0x414e88
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40abe0
and dword [ebp - 0x278], 0
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.Common.dll_Ordinal_34]
cmp dword [ebp - 0x278], 0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28c]
je 0x40a923
call fcn.004073bb
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call esi
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
mov byte [ebp - 4], 3
call esi
mov byte [ebp - 4], 2
call fcn.004090b2
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac58
cmp eax, 0xfffffffd
je 0x40ac58
cmp eax, 2
jne 0x40abe0
mov dword [ebp - 0x284], 1
jmp 0x40abe0
call fcn.004073bb
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x288]
push eax
call edi
add esp, 0xc
push 0x414d78
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call dword [0x41307c]
push str.All_Users_
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x274]
push eax
call edi
add esp, 0xc
cmp dword [0x419208], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
je 0x40a989
push 0x414ee4
jmp 0x40a98e
push 0x414edc
call dword [0x41307c]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
call dword [0x41307c]
push 0x414d78
lea ecx, [ebp - 0x274]
call dword [0x41307c]
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call esi
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 6
call esi
mov byte [ebp - 4], 5
call fcn.00407fef
pop ecx
pop ecx
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac2c
cmp eax, 0xfffffffd
je 0x40ac2c
cmp eax, 2
jne 0x40aa12
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x288]
jmp 0x40abda
mov ecx, dword [ebp - 0x28c]
call fcn.004073bb
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40abe0
push str.Registry.db
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x280]
push eax
call edi
push str.All_Users_
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 7
call edi
add esp, 0x18
push str.Registry.db
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call dword [0x41307c]
push 1
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call esi
push ecx
lea eax, [ebp - 0x280]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
mov byte [ebp - 4], 9
call esi
mov byte [ebp - 4], 8
call fcn.00407cc4
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac40
cmp eax, 0xfffffffd
je 0x40ac40
cmp eax, 2
jne 0x40aaf1
mov dword [ebp - 0x284], 1
cmp dword [0x419208], 0
lea eax, [ebp - 0x26c]
je 0x40ab2b
push str.All_UsersTM_
push eax
lea eax, [ebp - 0x2a8]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x2a8]
jmp 0x40ab54
push 0x414e8c
push eax
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xb
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 8
call ebx
push str.Registry.db
lea ecx, [ebp - 0x268]
call dword [0x41307c]
push 1
push ecx
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call esi
push ecx
lea eax, [ebp - 0x280]
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
mov byte [ebp - 4], 0xc
call esi
mov byte [ebp - 4], 8
call fcn.00407cc4
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac40
cmp eax, 0xfffffffd
je 0x40ac40
cmp eax, 2
jne 0x40abc8
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
call ebx
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
call ebx
inc dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x40ac0e
mov eax, dword [ecx]
push 0
push 0x64
push 0x64
push dword [ebp - 0x27c]
push dword [ebp - 0x29c]
push dword [ebp - 0x264]
push 1
call dword [eax]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x278], eax
jmp 0x40a81f
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x288]
jmp 0x40ac52
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
call ebx
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
call ebx
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x264], 0xffffffff
je 0x40ac89
cmp dword [ebp - 0x264], 0xfffffffd
je 0x40ac89
cmp dword [ebp - 0x284], 0
je 0x40ac89
mov dword [ebp - 0x264], 2
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x40acb1
mov eax, dword [ecx]
push 0
push 0x64
push 0x64
push dword [ebp - 0x27c]
push dword [ebp - 0x29c]
push dword [ebp - 0x264]
push 1
call dword [eax]
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 1
call ebx
mov edi, dword [ebp - 0x264]
jmp 0x40a731