Function at 0x40e400
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414f62
mov eax, dword fs:[0]
push eax
sub esp, 0x294
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 + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x284], eax
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 4], 1
call esi
add esp, 0xc
mov edi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call edi
push ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x268]
push ecx
call esi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call edi
push 0x24c
lea edx, [ebp - 0x25c]
push 0
mov edi, 1
push edx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x260], 0
call sub.MSVCR80.dll_memset
push 0x417bdc
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x290]
push ecx
call esi
add esp, 0x18
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x290]
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 - 0x294], eax
je 0x40e8fa
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
jmp 0x40e510
cmp dword [ebp - 0x26c], 0
je 0x40e8e5
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
je 0x40e71e
push 0x417bd4
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40e861
push 0x417bd0
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40e861
lea edx, [ebp - 0x234]
push edx
push 0x417ba0
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40e63e
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x278]
push edx
call esi
add esp, 0xc
mov edi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call edi
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x280]
push edx
call esi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
call edi
mov eax, dword [ebp - 0x284]
push eax
push ecx
lea edx, [ebp - 0x280]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push edx
call ebx
push ecx
lea eax, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x28c], esp
push eax
mov byte [ebp - 4], 7
call ebx
mov byte [ebp - 4], 6
call fcn.0040ddf0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x40e880
cmp edi, 0xfffffffd
je 0x40e880
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x278]
jmp 0x40e857
lea ecx, [ebp - 0x234]
push ecx
push str.Backup
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40e861
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call esi
add esp, 0xc
mov edi, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 8
call edi
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
push ecx
call esi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 9
call edi
mov edx, dword [ebp - 0x284]
push edx
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x28c], esp
push eax
call ebx
push ecx
lea edx, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push edx
mov byte [ebp - 4], 0xa
call ebx
mov byte [ebp - 4], 9
call fcn.0040ddf0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x40e8ad
cmp edi, 0xfffffffd
je 0x40e8ad
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 8
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x27c]
jmp 0x40e857
push eax
push str.Info.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7a0
lea ecx, [ebp - 0x234]
push ecx
push str.Misc.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7a0
lea edx, [ebp - 0x234]
push edx
push str.Msg2.0.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7a0
lea eax, [ebp - 0x234]
push eax
push str.Infocenter.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7a0
lea ecx, [ebp - 0x234]
push ecx
push str.Registry.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7a0
lea edx, [ebp - 0x234]
push edx
push str.MicroBlogMsg.db
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40e861
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x274]
push edx
call esi
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x288]
push edx
mov byte [ebp - 4], 0xb
call esi
add esp, 0x18
push 1
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x28c], esp
push eax
mov byte [ebp - 4], 0xc
call ebx
push ecx
lea edx, [ebp - 0x274]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push edx
mov byte [ebp - 4], 0xd
call ebx
mov byte [ebp - 4], 0xc
call fcn.00409980
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x40e8c7
cmp edi, 0xfffffffd
je 0x40e8c7
cmp edi, 2
jne 0x40e841
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [ebp - 0x284]
call fcn.0040d980
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
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 eax, dword [ebp - 0x294]
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x26c], eax
jmp 0x40e510
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call esi
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40e900
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 8
call esi
lea ecx, [ebp - 0x27c]
jmp 0x40e8df
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
call esi
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 4
call esi
mov ecx, dword [ebp - 0x294]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40e900
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, edi
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