Function at 0x40c64d
Capabilities:
Enumerate files on windows

Disassembly:
push 0x290
mov eax, 0x411a86
call fcn.0040f8dd
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x288], eax
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0xc
mov ebx, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x414b70
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call ebx
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call ebx
and dword [ebp - 0x260], 0
xor eax, eax
inc eax
push 0x24c
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x25c]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x414960
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x294]
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x294]
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]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x40cb49
cmp dword [ebp - 0x270], 0
je 0x40cb3d
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
je 0x40c93c
push 0x414958
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40cadf
push 0x414954
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40cadf
lea eax, [ebp - 0x234]
push eax
push 0x414928
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
lea eax, [ebp - 0x234]
push eax
jne 0x40c862
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call ebx
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x284]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 6
call ebx
push dword [ebp - 0x288]
lea eax, [ebp - 0x284]
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
mov byte [ebp - 4], 6
call fcn.0040c0c7
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40cafd
cmp eax, 0xfffffffd
je 0x40cafd
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x278]
jmp 0x40cad9
push str.Backup
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40cadf
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x27c]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 8
call ebx
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
add esp, 0xc
push 0x414b70
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 9
call ebx
push dword [ebp - 0x288]
lea eax, [ebp - 0x280]
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
mov byte [ebp - 4], 9
call fcn.0040c0c7
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40cb11
cmp eax, 0xfffffffd
je 0x40cb11
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 8
call edi
lea ecx, [ebp - 0x27c]
jmp 0x40cad9
push eax
push str.Info.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Misc.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Msg2.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_journal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Msg3.0.db_wal
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Infocenter.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40ca0c
lea eax, [ebp - 0x234]
push eax
push str.MicroBlogMsg.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40cadf
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x274]
push eax
call esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 0xb
call esi
add esp, 0x18
push 1
push ecx
lea eax, [ebp - 0x28c]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push ecx
lea eax, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
mov byte [ebp - 4], 0xc
call fcn.00407cc4
add esp, 0xc
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x40cb25
cmp eax, 0xfffffffd
je 0x40cb25
cmp eax, 2
jne 0x40cac7
mov ecx, dword [ebp - 0x288]
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.0040b009
mov ecx, dword [ebp - 0x288]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0040b327
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xb
call edi
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call edi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x40c733
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp - 0x278]
jmp 0x40cb37
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 8
call edi
lea ecx, [ebp - 0x27c]
jmp 0x40cb37
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xb
call edi
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call edi
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x264]
call fcn.0040f927
ret