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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x5dcfe0
lea ecx, [ebp - 0x4c]
call fcn.00404af0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.0040d050
movzx eax, al
test eax, eax
jne 0x4059d1
lea ecx, [ebp + 0xc]
call fcn.0040d050
movzx ecx, al
test ecx, ecx
je 0x4059fe
mov byte [ebp - 0x355], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004042a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004042a0
mov al, byte [ebp - 0x355]
jmp 0x405e02
lea edx, [ebp + 0xc]
push edx
call fcn.00404c20
add esp, 4
movzx eax, al
test eax, eax
jne 0x405a3e
mov byte [ebp - 0x356], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004042a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004042a0
mov al, byte [ebp - 0x356]
jmp 0x405e02
mov dword [ebp - 0x2a4], 0
push 0x24c
push 0
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.00557f00
add esp, 0xc
push 0x5dd1a4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00402e80
add esp, 0xc
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x2a4]
push ecx
mov ecx, dword [ebp - 0x35c]
call fcn.004041f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x2c]
call fcn.004042a0
cmp dword [ebp - 0x50], 0xffffffff
jne 0x405ad0
mov byte [ebp - 0x357], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004042a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004042a0
mov al, byte [ebp - 0x357]
jmp 0x405e02
mov byte [ebp - 0x2d], 1
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne cl
mov byte [ebp - 0x51], cl
movzx edx, byte [ebp - 0x51]
test edx, edx
je 0x405dce
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x338]
call fcn.00404af0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x338]
push ecx
push 0x5dcfdc
call fcn.00406fa0
add esp, 8
movzx edx, al
test edx, edx
jne 0x405b45
lea eax, [ebp - 0x338]
push eax
push 0x5dd1ac
call fcn.00406fa0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x405b72
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne cl
mov byte [ebp - 0x51], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.004042a0
jmp 0x405aed
push 0
push 0x5dd1b4
lea ecx, [ebp - 0x338]
call fcn.004027f0
cmp eax, 0xffffffff
jne 0x405bb6
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne cl
mov byte [ebp - 0x51], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.004042a0
jmp 0x405aed
push 0
push 0x5dd1b8
lea ecx, [ebp - 0x338]
call fcn.004027f0
mov dword [ebp - 0x2e0], eax
push 0
push 0x5dd1bc
lea ecx, [ebp - 0x338]
call fcn.004027f0
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x2e0]
push edx
push 0
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x338]
call fcn.00402820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x338]
call fcn.004027a0
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x338]
call fcn.00402820
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x2fc]
push edx
call fcn.00406fc0
add esp, 0xc
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x2fc]
call fcn.004041f0
push eax
lea ecx, [ebp - 0x4c]
call fcn.004027f0
cmp eax, 0xffffffff
jne 0x405cc4
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne dl
mov byte [ebp - 0x51], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2fc]
call fcn.004042a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.004042a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.004042a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.004042a0
jmp 0x405aed
push 0x5dd1c0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.00402e80
add esp, 0xc
mov byte [ebp - 4], 6
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x318]
call fcn.004026e0
push 0x5dd1c4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x354]
push ecx
call fcn.00402e80
add esp, 0xc
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x354]
call fcn.004026e0
lea ecx, [ebp - 0x354]
call fcn.004041f0
push eax
lea ecx, [ebp - 0x318]
call fcn.004041f0
push eax
call fcn.00553e34
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x354]
call fcn.004041f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne dl
mov byte [ebp - 0x51], dl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x354]
call fcn.004042a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x318]
call fcn.004042a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2fc]
call fcn.004042a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.004042a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.004042a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.004042a0
jmp 0x405aed
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [ebp - 0x2d]
mov byte [ebp - 0x358], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004042a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004042a0
mov al, byte [ebp - 0x358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret