Function at 0x406310
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427565
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x441018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x406343
mov ecx, dword [ecx]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00407a90
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x441920
call fcn.004038e0
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00404ed0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4063cf
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4063c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406563
push ecx
push edx
call fcn.0040f504
add esp, 8
cmp dword [ebp - 0x50], 0
je 0x4063e9
sub esp, 0x18
lea ecx, [ebp - 0x40]
push esp
call fcn.004038e0
call fcn.00406060
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00405a00
cmp dword [eax + 0x14], 8
jb 0x4063f9
mov eax, dword [eax]
push 0
push 0x2200000
push 3
push 0
push 7
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
lea ecx, [ebp - 0x41]
mov byte [ebp - 0x41], 1
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
mov ecx, dword [ebp - 0x14]
test eax, eax
sete al
mov byte [ebp - 0x41], al
cmp ecx, 8
jb 0x40646a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40645d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406568
push ecx
push edx
call fcn.0040f504
mov al, byte [ebp - 0x41]
add esp, 8
test al, al
je 0x4064c3
lea ecx, [ebp - 0x28]
call fcn.00405a00
cmp dword [eax + 0x14], 8
jb 0x40647e
mov eax, dword [eax]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4064c3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4064b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40656d
push ecx
push edx
call fcn.0040f504
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00405880
cmp dword [eax + 0x14], 8
jb 0x4064d3
mov eax, dword [eax]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x406514
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40650a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406572
push ecx
push edx
call fcn.0040f504
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40654a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406540
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406577
push ecx
push edx
call fcn.0040f504
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f4f6
mov esp, ebp
pop ebp
ret
call fcn.00414471
call fcn.00414471
call fcn.00414471
call fcn.00414471
call fcn.00414471
int3