Function at 0x40c3a0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x66c362
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
push esi
push edi
push 1
push eax
call fcn.0040c9e0
add esp, 8
test eax, eax
jne 0x40c3dc
mov eax, 1
jmp 0x40c74b
mov ebp, dword [esp + 0x2b4]
push 1
push ebp
call fcn.0041b640
mov edi, eax
push 2
push ebp
mov dword [esp + 0x3c], edi
call fcn.0041b640
push 8
push ebp
mov dword [esp + 0x40], eax
call fcn.0041b640
mov esi, dword [esp + 0x2d0]
mov dword [esp + 0x4c], eax
push esi
call fcn.0040c7a0
add esp, 0x1c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], eax
call fcn.006086f6
xor ebx, ebx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2ac], ebx
call sub.MFC42u.DLL_CString::CString_6
push ebx
push ebx
lea ecx, [esp + 0x44]
push 0x3b
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x2bc], 1
call fcn.00419560
add esp, 0x14
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x2a8], bl
call sub.MFC42u.DLL_CString::CString
cmp edi, ebx
je 0x40c474
inc esi
mov dword [esp + 0x18], esi
jmp 0x40c485
cmp esi, 1
mov dword [esp + 0x18], esi
jg 0x40c485
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x2bc]
push ebx
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov dword [esp + 0x20], ebx
neg esi
sbb esi, esi
inc esi
jne 0x40c735
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jge 0x40c779
mov edx, dword [esp + 0x2b0]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42u.DLL_CString::CString_6
mov eax, dword [esp + 0x2b8]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x2ac], 2
call sub.MFC42u.DLL_CString::CString_6
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2a8], 3
cmp dword [ecx - 8], ebx
je 0x40c514
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x40c514
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x14]
lea eax, [edx + eax*4]
push eax
call sub.MFC42u.DLL_CString::operator_2
jmp 0x40c524
mov ecx, dword [0x718e60]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::operator_3
lea edx, [esp + 0x1c]
push 1
push edx
call fcn.0040bb70
add esp, 8
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.006088b2
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x40c6ff
cmp dword [esp + 0x28], ebx
je 0x40c569
call fcn.00417fd0
cmp word [esp + 0x7c], 0x2e
je 0x40c625
mov eax, dword [esp + 0x2b0]
push 1
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.0040bba0
add esp, 0xc
lea edx, [esp + 0x7c]
mov byte [esp + 0x2a8], 4
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42u.DLL_operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a8], 6
call sub.MFC42u.DLL_CString::CString
cmp dword [esp + 0x34], ebx
je 0x40c5d1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push 3
push edx
call fcn.0040d510
add esp, 0x10
mov eax, dword [esp + 0x50]
push 0x10
push eax
call fcn.0041b640
add esp, 8
cmp eax, ebx
je 0x40c67b
cmp dword [esp + 0x2c], ebx
je 0x40c60c
cmp dword [esp + 0x30], ebx
je 0x40c65e
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x10]
push ecx
push ebp
push edx
call fcn.0040c7e0
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x40c6e3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 3
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x2bc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x40c6f4
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40c6f4
jmp 0x40c55e
mov eax, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push ebp
push edx
call fcn.0040c3a0
add esp, 0x10
jmp 0x40c60a
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.0040d330
add esp, 8
test eax, eax
je 0x40c694
mov edi, 1
jmp 0x40c614
push 4
push ebp
call fcn.0041b640
add esp, 8
test eax, eax
je 0x40c6e1
mov ecx, dword [esp + 0x10]
push 4
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40c6cf
mov edx, dword [esp + 0x10]
push edx
push str.FileMisc::DeleteFolderContents__s__delayed_
call fcn.0040db50
add esp, 8
or edi, 0xffffffff
jmp 0x40c614
mov eax, dword [esp + 0x10]
push eax
push 0x718fc8
call fcn.0040db50
add esp, 8
xor edi, edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, ebx
mov byte [esp + 0x2a8], 2
lea ecx, [esp + 0x14]
je 0x40c764
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a8], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebx
mov dword [esp + 0x20], ecx
je 0x40c4aa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2a8], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
xor eax, eax
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a8], bl
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
jne 0x40c735
cmp edi, ebx
je 0x40c735
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2a8], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, edi
jmp 0x40c74b