Function at 0x40a440
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41490e
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 dword [ebp - 0x29c], ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x2a4], 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 - 0x27c]
push edx
mov dword [ebp - 4], 1
call esi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call dword [0x416078]
mov edi, 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 - 0x28c], esp
push eax
call edi
call fcn.00408af0
push ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 0x298], eax
call esi
add esp, 0x10
push 0x417e68
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call dword [0x416078]
push ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x268]
push ecx
call esi
add esp, 0xc
push 0x417e68
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call dword [0x416078]
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x28c], esp
xor ebx, ebx
push edx
mov dword [ebp - 0x274], ebx
call edi
call fcn.00408820
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x28c], eax
jne 0x40a5ff
mov ecx, dword [ebp - 0x2a4]
cmp ecx, ebx
je 0x40a577
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x274]
push edx
push ebx
push ebx
push ebx
push ebx
push 1
push 4
call eax
cmp dword [ebp - 0x274], ebx
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
je 0x40a5c7
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 3
jmp 0x40aace
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
jmp 0x40aace
push 0x24c
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x294], ebx
push 0
mov ebx, 1
push ecx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x260], 0
call sub.MSVCR80.dll_memset
push 0x417bdc
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x2a8]
push eax
call esi
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 5
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 - 0x2a0], eax
je 0x40a99f
cmp dword [ebp - 0x26c], 0
je 0x40a980
test byte [ebp - 0x260], 0x10
jne 0x40a764
add dword [ebp - 0x294], 1
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x288]
push ecx
call esi
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x284]
push ecx
mov byte [ebp - 4], 6
call esi
add esp, 0x18
cmp dword [ebp - 0x298], 0
push 1
push ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x284]
mov ecx, esp
je 0x40a70a
mov dword [ebp - 0x26c], esp
push edx
call edi
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
mov byte [ebp - 4], 8
call edi
mov byte [ebp - 4], 7
call fcn.00409850
jmp 0x40a732
mov dword [ebp - 0x280], esp
push edx
call edi
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov byte [ebp - 4], 9
call edi
mov byte [ebp - 4], 7
call fcn.00409980
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x40a937
cmp ebx, 0xfffffffd
je 0x40a937
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x288]
jmp 0x40a8a3
push 0x417bd4
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40a8ad
push 0x417bd0
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40a8ad
lea eax, [ebp - 0x234]
push eax
push 0x417e40
push str.StorageTool
push 2
push str.func
push 0x342
push str.file
call fcn.00402c30
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x270]
push eax
call esi
add esp, 0x28
mov ebx, dword [reloc.Common.dll___YCTXStringW__QAEAAV0_PB_W_Z]
push 0x417df0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xa
call ebx
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x278]
push eax
call esi
add esp, 0xc
push 0x417df0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xb
call ebx
push ecx
lea edx, [ebp - 0x278]
mov ecx, esp
mov dword [ebp - 0x280], esp
push edx
call edi
cmp dword [ebp - 0x298], 0
je 0x40a857
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov byte [ebp - 4], 0xc
call edi
mov byte [ebp - 4], 0xb
call fcn.0040a0c0
jmp 0x40a876
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov byte [ebp - 4], 0xd
call edi
mov byte [ebp - 4], 0xb
call fcn.00409d70
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x40a959
cmp ebx, 0xfffffffd
je 0x40a959
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp - 0x29c]
cmp dword [ecx + 0x48], 0
je 0x40a8d4
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x29c]
cmp dword [edx + 0x48], 0
jne 0x40a8c0
mov ecx, dword [ebp - 0x2a4]
test ecx, ecx
mov dword [ebp - 0x274], 0
je 0x40a918
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x274]
push edx
mov edx, dword [ebp - 0x294]
push edx
mov edx, dword [ebp - 0x28c]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
push 1
push 4
call eax
cmp dword [ebp - 0x274], 0
jne 0x40a97b
mov edx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x26c], eax
jmp 0x40a672
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x40a980
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x40a980
mov ebx, 3
mov eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0xffffffff
je 0x40aa81
cmp ebx, 0xfffffffd
je 0x40aa81
lea ecx, [ebp - 0x264]
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_RemoveDirectoryW]
test eax, eax
jne 0x40a9f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x280], esp
push edx
call edi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0x377
push str.file
call fcn.004097e0
add esp, 0x20
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x290]
push edx
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0xe
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x264]
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_RemoveDirectoryW]
test eax, eax
jne 0x40aa87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call edi
push 0x417e08
push str.StorageTool
push 2
push str.func
push 0x37f
push str.file
call fcn.004097e0
add esp, 0x20
jmp 0x40aa87
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 4
call esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x27c]
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, ebx
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 0x18