Function at 0x40a67d
Capabilities:
Enumerate files on windows

Disassembly:
push 0x29c
mov eax, 0x411754
call fcn.0040f8eb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x28c], ecx
call fcn.00406e9f
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 0x40a6d9
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.0040f935
ret 4
lea eax, [ebp - 0x26c]
push eax
call fcn.0040ef14
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call esi
test al, al
je 0x40a718
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 0x40a6d1
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.0040ee25
pop ecx
cmp eax, edi
jne 0x40a73f
push 0xfffffffffffffffd
pop edi
jmp 0x40a6f6
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x294], esp
push eax
call esi
call fcn.00407010
pop ecx
mov dword [ebp - 0x29c], eax
cmp eax, edi
jne 0x40a766
xor edi, edi
inc edi
jmp 0x40a6f6
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 0x414b20
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 0x40ac54
cmp dword [ebp - 0x278], 0
je 0x40ac23
test byte [ebp - 0x260], 0x10
je 0x40a9f4
push 0x414b18
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40abb1
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40abb1
lea eax, [ebp - 0x234]
push eax
push 0x414e40
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40abab
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 0x40a8ee
call fcn.004073b6
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.0040907d
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac23
cmp eax, 0xfffffffd
je 0x40ac23
cmp eax, 2
jne 0x40abab
mov dword [ebp - 0x284], 1
jmp 0x40abab
call fcn.004073b6
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x288]
push eax
call edi
add esp, 0xc
push 0x414d30
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 0x40a954
push 0x414e9c
jmp 0x40a959
push 0x414e94
call dword [0x41307c]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
call dword [0x41307c]
push 0x414d30
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.00407fba
pop ecx
pop ecx
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40abf7
cmp eax, 0xfffffffd
je 0x40abf7
cmp eax, 2
jne 0x40a9dd
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x288]
jmp 0x40aba5
mov ecx, dword [ebp - 0x28c]
call fcn.004073b6
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40abab
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.00407c92
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac0b
cmp eax, 0xfffffffd
je 0x40ac0b
cmp eax, 2
jne 0x40aabc
mov dword [ebp - 0x284], 1
cmp dword [0x419208], 0
lea eax, [ebp - 0x26c]
je 0x40aaf6
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 0x40ab1f
push 0x414e44
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.00407c92
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40ac0b
cmp eax, 0xfffffffd
je 0x40ac0b
cmp eax, 2
jne 0x40ab93
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 0x40abd9
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 0x40a7ea
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x288]
jmp 0x40ac1d
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 0x40ac54
cmp dword [ebp - 0x264], 0xfffffffd
je 0x40ac54
cmp dword [ebp - 0x284], 0
je 0x40ac54
mov dword [ebp - 0x264], 2
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x40ac7c
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 0x40a6fc