Function at 0x401a60
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431019
mov eax, dword fs:[0]
push eax
mov eax, 0x112c
call fcn.0040f1d0
mov eax, dword [0x43e25c]
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 0x441740
lea ecx, [ebp - 0x10c4]
call fcn.004029e0
mov byte [ebp - 4], 1
cmp dword [0x441738], 0
je 0x401cec
mov eax, dword [0x441738]
push eax
call fcn.0040794b
add esp, 4
cmp eax, 0x200000
jl 0x401cec
mov ecx, dword [0x441738]
push ecx
call fcn.00407f11
add esp, 4
mov dword [0x441738], 0
mov byte [ebp - 0x50], 0
xor edx, edx
mov dword [ebp - 0x4f], edx
mov dword [ebp - 0x4b], edx
mov dword [ebp - 0x47], edx
mov dword [ebp - 0x43], edx
mov dword [ebp - 0x3f], edx
mov dword [ebp - 0x3b], edx
mov dword [ebp - 0x37], edx
mov word [ebp - 0x33], dx
mov byte [ebp - 0x31], dl
push 5
push 0x438b6c
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.00407080
add esp, 0x10
lea ecx, [ebp - 0x50]
push ecx
push 0x441774
lea edx, [ebp - 0x10fc]
push edx
call fcn.004032e0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10fc]
call fcn.004029a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1130], 5
jmp 0x401b69
mov eax, dword [ebp - 0x1130]
sub eax, 1
mov dword [ebp - 0x1130], eax
cmp dword [ebp - 0x1130], 0
jle 0x401cc0
mov ecx, dword [ebp - 0x1130]
sub ecx, 1
mov dword [ebp - 0x1138], ecx
mov byte [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2f], edx
mov dword [ebp - 0x2b], edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6f], eax
mov dword [ebp - 0x6b], eax
mov dword [ebp - 0x67], eax
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov word [ebp - 0x53], ax
mov byte [ebp - 0x51], al
mov ecx, dword [ebp - 0x1130]
push ecx
push 0x438b70
push 0x20
lea edx, [ebp - 0x30]
push edx
call fcn.00407080
add esp, 0x10
mov eax, dword [ebp - 0x1130]
sub eax, 1
push eax
push 0x438b74
push 0x20
lea ecx, [ebp - 0x70]
push ecx
call fcn.00407080
add esp, 0x10
cmp dword [ebp - 0x1138], 0
jne 0x401c4d
lea edx, [ebp - 0x30]
push edx
push 0x441774
lea eax, [ebp - 0x1114]
push eax
call fcn.004032e0
add esp, 0xc
lea ecx, [ebp - 0x1114]
call fcn.004029a0
push eax
mov ecx, 0x441774
call fcn.004029a0
push eax
call fcn.00406532
add esp, 8
lea ecx, [ebp - 0x1114]
call fcn.004027b0
jmp 0x401cbb
lea ecx, [ebp - 0x30]
push ecx
push 0x441774
lea edx, [ebp - 0x112c]
push edx
call fcn.004032e0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
push 0x441774
lea ecx, [ebp - 0x10e4]
push ecx
call fcn.004032e0
add esp, 0xc
lea ecx, [ebp - 0x112c]
call fcn.004029a0
push eax
lea ecx, [ebp - 0x10e4]
call fcn.004029a0
push eax
call fcn.00406532
add esp, 8
lea ecx, [ebp - 0x10e4]
call fcn.004027b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004027b0
jmp 0x401b5a
push 0x438b78
mov ecx, 0x441774
call fcn.004029a0
push eax
call fcn.00407328
add esp, 8
mov dword [0x441738], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10fc]
call fcn.004027b0
cmp dword [0x441738], 0
je 0x401dd5
mov byte [ebp - 0x10c0], 0
push 0xfff
push 0
lea edx, [ebp - 0x10bf]
push edx
call fcn.0040fc50
add esp, 0xc
push 0
call fcn.00401700
add esp, 4
mov dword [ebp - 0x10cc], eax
mov dword [ebp - 0x10c8], edx
lea eax, [ebp - 0x10cc]
push eax
call fcn.004016e0
add esp, 4
mov dword [ebp - 0x1134], eax
mov byte [ebp - 0xc0], 0
push 0x4f
push 0
lea ecx, [ebp - 0xbf]
push ecx
call fcn.0040fc50
add esp, 0xc
mov edx, dword [ebp - 0x1134]
push edx
push str._Y__m__d__H:_M:_S
push 0x50
lea eax, [ebp - 0xc0]
push eax
call fcn.004075d5
add esp, 0x10
mov ecx, dword [ebp + 0x20]
call fcn.004029a0
push eax
lea ecx, [ebp + 8]
call fcn.004029a0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0xc0]
push ecx
push str._s___d___s____s_n
push 0x1000
lea edx, [ebp - 0x10c0]
push edx
call fcn.00407080
add esp, 0x1c
mov eax, dword [0x441738]
push eax
lea ecx, [ebp - 0x10c0]
push ecx
call fcn.00406d8e
add esp, 8
mov edx, dword [0x441738]
push edx
call fcn.00406f47
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c4]
call fcn.00402a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004027b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406523
mov esp, ebp
pop ebp
ret