Function at 0x406b30
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40a4db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00404310
xor ebp, ebp
push ebp
push 0xffffffffffffffff
push ebp
push 0x40dea8
mov dword [esp + 0x238], ebp
mov dword [esp + 0x2c], ebp
call fcn.00404e80
push 1
push 1
push ebp
push 0x40e3b8
call fcn.004058a0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x20
push 0x3e8
call ebx
push 1
call fcn.004061b0
add esp, 4
lea eax, [esp + 0x20]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebp
call fcn.00404600
add esp, 4
cmp eax, 0x14
lea edx, [esp + 0x20]
mov edi, 0x40de4c
jge 0x406bc8
mov edi, 0x40de40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40d4af
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea eax, [esp + 0x20]
push eax
call fcn.00405000
add esp, 4
test eax, eax
je 0x406c59
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00404e80
add esp, 0x10
push 0xc8
call ebx
lea edx, [esp + 0x20]
push edx
call ebp
inc esi
cmp esi, 0x14
jl 0x406c21
lea eax, [esp + 0x20]
push eax
call fcn.00405000
add esp, 4
test eax, eax
jne 0x406c72
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x20]
push 0xff
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x40d43c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_strrchr]
and ecx, 3
lea eax, [esp + 0x24]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov edx, eax
mov edi, 0x40d495
or ecx, 0xffffffff
xor eax, eax
inc edx
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call fcn.00404e80
add esp, 0x18
test eax, eax
je 0x406d06
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x20]
push edx
call ebp
lea eax, [esp + 0x20]
push 0x5c
push eax
call ebx
mov edx, eax
mov edi, 0x40d4c9
or ecx, 0xffffffff
xor eax, eax
inc edx
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call fcn.00404e80
add esp, 0x18
test eax, eax
je 0x406d5d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [esp + 0x230]
test eax, eax
je 0x406eb3
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x40d565
lea eax, [esp + 0x24]
push 0x40dea0
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x20]
push 0
push 0
push 0xf003f
push 0
push 0
push ecx
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.00404400
test eax, eax
jne 0x406de9
xor edi, edi
xor esi, esi
push esi
push edi
lea edx, [esp + 0x28]
push 0x40d1bc
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.004043a0
inc esi
cmp esi, 0x63
jle 0x406db5
inc edi
cmp edi, 0x63
jle 0x406db3
lea ecx, [esp + 0x10]
call fcn.004043e0
push 0
push 0
push 0xf003f
push 0
push 0
push 0x40d565
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.00404400
test eax, eax
jne 0x406eb3
push 0x40de98
lea ecx, [esp + 0x14]
call fcn.004043a0
push 0x40de60
lea ecx, [esp + 0x14]
call fcn.004043c0
push 0x40de90
lea ecx, [esp + 0x14]
call fcn.004043c0
xor esi, esi
push esi
lea ecx, [esp + 0x24]
push 0x40de88
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x20]
lea eax, [esp + 0x120]
lea ecx, [esp + 0x10]
push 0
push edx
push eax
call fcn.00404500
test eax, eax
jne 0x406e96
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x128]
push eax
push ecx
call fcn.00404e80
add esp, 0x10
test eax, eax
je 0x406e8c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x120]
push edx
call ebp
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.004043c0
inc esi
cmp esi, 9
jle 0x406e3d
lea ecx, [esp + 0x10]
call fcn.004043e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.00404350
mov ecx, dword [esp + 0x220]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret