Function at 0x4069d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], al
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 8]
mov ecx, 0xa
lea esi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00406c10
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00406ce0
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x10
jb 0x406a54
mov eax, dword [ebp - 0x50]
push eax
call fcn.00408104
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp + 0x10]
lea esi, [ebx + 8]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x10], edi
mov dword [esi], ecx
jb 0x406a81
mov edx, dword [ebp - 0x30]
mov dword [ebp + 8], edx
jmp 0x406a87
lea eax, [ebp - 0x30]
mov dword [ebp + 8], eax
call fcn.00419f80
mov dword [ebx], eax
cmp eax, edi
je 0x406b1d
mov ecx, dword [ebp + 8]
push ecx
push 0x2712
push eax
call fcn.00419fc0
mov edx, dword [ebx]
push esi
push 0x2711
push edx
call fcn.00419fc0
mov eax, dword [ebx]
push 0x406780
push 0x4e2b
push eax
call fcn.00419fc0
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx]
push edx
mov dword [ebx + 0x28], eax
call fcn.0041a1a0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x406b50
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x406af2
push eax
call fcn.00408a3e
add esp, 4
mov eax, dword [ebx]
push eax
call fcn.0041a1c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0x10
jb 0x406b16
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408104
add esp, 4
mov eax, esi
jmp 0x406be8
mov ebx, dword [ebx + 0x10]
cmp ebx, edi
je 0x406b2d
push ebx
call fcn.00408a3e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0x10
jb 0x406b46
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408104
add esp, 4
mov eax, 0x5a
jmp 0x406be8
mov eax, dword [ebx]
lea edx, [ebp - 0x14]
push edx
push 0x200002
push eax
mov dword [ebp - 0x14], edi
call fcn.0041a1e0
mov eax, dword [ebx + 0x10]
add esp, 0xc
cmp dword [ebp - 0x14], 0x190
jl 0x406bb5
cmp eax, edi
je 0x406b80
push eax
call fcn.00408a3e
add esp, 4
mov ecx, dword [ebx]
push ecx
call fcn.0041a1c0
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0x10
jb 0x406b46
mov eax, dword [ebp - 0x30]
push eax
call fcn.00408104
add esp, 4
mov eax, 0x5a
jmp 0x406be8
cmp eax, edi
je 0x406bc2
push eax
call fcn.00408a3e
add esp, 4
mov ecx, dword [ebx]
push ecx
call fcn.0041a1c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0x10
jb 0x406be6
mov edx, dword [ebp - 0x30]
push edx
call fcn.00408104
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edi
pop edi
pop esi
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0xf
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc