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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423e26
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x42f230]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x80c]
mov edi, dword [ebp + 0xc]
push 0x7fc
push 0
push eax
mov dword [ebp - 0xa98], esi
mov dword [ebp - 0xa9c], edi
mov dword [ebp - 0x810], 0
call fcn.00411ff0
push esi
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00410df0
push str..
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00410d84
add esp, 0x24
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0xa94], ebx
cmp ebx, 0xffffffff
je 0x404863
lea ecx, [ecx]
lea eax, [ebp - 0xa64]
push 0x4253ac
push eax
call fcn.00410f99
add esp, 8
test eax, eax
je 0x404a17
lea eax, [ebp - 0xa64]
push 0x4253b0
push eax
call fcn.00410f99
add esp, 8
test eax, eax
je 0x404a17
push esi
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00410df0
push 0x425348
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00410d84
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00410d84
add esp, 0x24
lea eax, [ebp - 0x810]
test byte [ebp - 0xa90], 0x10
je 0x40486a
push edi
push eax
call fcn.00404710
add esp, 8
test eax, eax
jne 0x404a17
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x404a39
push eax
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov dword [ebp - 4], 0
xor bl, bl
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x4048b5
cmp dword [esi + 0x14], 8
jb 0x404892
mov eax, dword [esi]
jmp 0x404894
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x840]
push 0
push eax
call fcn.0040aca0
cmp eax, 0xffffffff
jne 0x4048b3
add esi, 0x18
cmp esi, edi
jne 0x404888
jmp 0x4048b5
mov bl, 1
test bl, bl
je 0x4049ca
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [ebp - 0x810], ax
je 0x40490f
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404900
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00409470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
push 0x29
push str._B52E4995_3824_4CAB_AE4D_8F0E57EF209E_bak
call fcn.00408f70
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push 1
cmovae eax, dword [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40497d
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x404992
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404a55
mov byte [ebp - 4], 0
cmp dword [ebp - 0x814], 8
jb 0x4049ad
push dword [ebp - 0x828]
call fcn.004103f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x82c], 8
jb 0x4049e8
push dword [ebp - 0x840]
call fcn.004103f0
add esp, 4
mov edi, dword [ebp - 0xa9c]
xor eax, eax
mov ebx, dword [ebp - 0xa94]
mov esi, dword [ebp - 0xa98]
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
lea eax, [ebp - 0xa90]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4047c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
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.0041153c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xa94]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x814], 8
jb 0x404a7c
push dword [ebp - 0x828]
call fcn.004103f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x82c], 8
jb 0x404ab7
push dword [ebp - 0x840]
call fcn.004103f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
jmp 0x404a39