Function at 0x40cb50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
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 - 0x28c], ecx
lea ecx, [ebp - 0x264]
push ecx
mov dword [ebp - 0x298], eax
call fcn.00408620
add esp, 4
mov esi, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
xor ebx, ebx
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], ebx
call esi
test al, al
je 0x40cbcd
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor eax, eax
jmp 0x40d232
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 0x40cc14
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
xor eax, eax
jmp 0x40d232
mov edi, 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 - 0x284], esp
push eax
call edi
call fcn.00412080
add esp, 4
cmp eax, ebx
jne 0x40cc63
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, 0xfffffffd
jmp 0x40d232
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x284], esp
push edx
call edi
call fcn.00408820
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x2a4], eax
jne 0x40ccb2
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 0x40d232
push 0x24c
lea eax, [ebp - 0x25c]
push 0
mov esi, 1
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
push eax
mov ebx, esi
mov dword [ebp - 0x260], 0
call sub.MSVCR80.dll_memset
push 0x417bdc
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2a0]
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 - 0x29c], eax
je 0x40d1dc
jmp 0x40cd30
test ebx, ebx
je 0x40d1af
test byte [ebp - 0x260], 0x10
je 0x40cf32
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x417bd4
lea ecx, [ebp - 0x234]
push ecx
call ebx
test eax, eax
je 0x40d11b
push 0x417bd0
lea edx, [ebp - 0x234]
push edx
call ebx
test eax, eax
je 0x40d11b
lea eax, [ebp - 0x234]
push eax
push 0x417f00
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40d114
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 0x294], 0
call dword [sym.imp.Common.dll_Ordinal_34]
mov ecx, dword [ebp - 0x28c]
add esp, 8
cmp dword [ebp - 0x294], 0
je 0x40ce2d
call fcn.00408c80
lea eax, [ebp - 0x234]
push eax
push ecx
lea edx, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x288], esp
push edx
call edi
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
mov byte [ebp - 4], 3
call edi
mov byte [ebp - 4], 2
call fcn.0040b120
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d1af
cmp esi, 0xfffffffd
je 0x40d1af
cmp esi, 2
jne 0x40d114
mov dword [ebp - 0x278], 1
jmp 0x40d114
call fcn.00408c80
mov ebx, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x280]
push eax
call ebx
add esp, 0xc
mov esi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call esi
push str.All_Users_
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x270]
push edx
call ebx
add esp, 0xc
cmp dword [0x41e1c0], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
je 0x40ce9b
push 0x417f5c
jmp 0x40cea0
push 0x417f54
call esi
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x270]
call esi
push 0x417df0
lea ecx, [ebp - 0x270]
call esi
push ecx
lea edx, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x290], esp
push edx
call edi
push ecx
lea eax, [ebp - 0x280]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
mov byte [ebp - 4], 6
call edi
mov byte [ebp - 4], 5
call fcn.00409d70
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x40d15d
cmp esi, 0xfffffffd
je 0x40d15d
cmp esi, 2
jne 0x40cf15
mov dword [ebp - 0x278], 1
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x280]
jmp 0x40d10e
mov ebx, dword [ebp - 0x28c]
cmp dword [ebx + 0x48], 0
je 0x40cf4e
mov edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x48], 0
jne 0x40cf40
lea ecx, [ebp - 0x234]
push ecx
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40d114
mov ebx, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push str.Registry.db
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x27c]
push eax
call ebx
push str.All_Users_
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov byte [ebp - 4], 7
call ebx
add esp, 0x18
push str.Registry.db
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 8
call dword [0x416078]
push 1
push ecx
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call edi
push ecx
lea edx, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x288], esp
push edx
mov byte [ebp - 4], 9
call edi
mov byte [ebp - 4], 8
call fcn.00409980
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d191
cmp esi, 0xfffffffd
je 0x40d191
cmp esi, 2
jne 0x40d00d
mov dword [ebp - 0x278], 1
cmp dword [0x41e1c0], 0
je 0x40d053
push str.All_UsersTM_
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call ebx
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 8
call ebx
jmp 0x40d092
push 0x417f04
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x284]
push eax
call ebx
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 8
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
push str.Registry.db
lea ecx, [ebp - 0x26c]
call dword [0x416078]
push 1
push ecx
lea edx, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x290], esp
push edx
call edi
push ecx
lea eax, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
mov byte [ebp - 4], 0xc
call edi
mov byte [ebp - 4], 8
call fcn.00409980
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x40d177
cmp esi, 0xfffffffd
je 0x40d177
cmp esi, 2
jne 0x40d0fc
mov dword [ebp - 0x278], 1
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call ebx
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call ebx
add dword [ebp - 0x274], 1
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x40d142
mov eax, dword [ebp - 0x274]
mov edx, dword [ecx]
mov edx, dword [edx]
push 0
push 0x64
push 0x64
push eax
mov eax, dword [ebp - 0x2a4]
push eax
push esi
push 1
call edx
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
jmp 0x40cd30
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call edi
lea ecx, [ebp - 0x280]
jmp 0x40d1a9
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call ebx
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call ebx
jmp 0x40d1b5
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call edi
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x40d1e2
cmp esi, 0xfffffffd
je 0x40d1e2
cmp dword [ebp - 0x278], 0
je 0x40d1e2
mov esi, 2
jmp 0x40d1e2
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x40d209
mov edx, dword [ebp - 0x274]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0
push 0x64
push 0x64
push edx
mov edx, dword [ebp - 0x2a4]
push edx
push esi
push 1
call eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call ebx
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call ebx
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call ebx
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