Function at 0x402060
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adbdb
mov eax, dword fs:[0]
push eax
sub esp, 0xcdc
mov eax, dword [0x4f7600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x320
mov dword [ebp - 0xce8], eax
lea eax, [ebp - 0xcb0]
push 0
push eax
call fcn.0048bfd0
push 0x320
lea eax, [ebp - 0x990]
push 0
push eax
call fcn.0048bfd0
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0
push 0x208
lea eax, [ebp - 0x468]
mov byte [ebp - 0x14], 0
push 0
push eax
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.0048bfd0
push 0x208
lea eax, [ebp - 0x670]
push 0
push eax
call fcn.0048bfd0
add esp, 0x3c
lea eax, [ebp - 0x260]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push str._s.tmp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0047cd10
add esp, 0x14
lea eax, [ebp - 0xcb0]
mov ecx, edi
push eax
lea eax, [ebp - 0x990]
push eax
push 0
push esi
call fcn.004024b0
mov esi, eax
test esi, esi
je 0x402486
mov esi, dword [ebp - 0xce8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 3
push 0
push 0x779
push esi
call edi
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x34]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4021c0
test dl, dl
je 0x4021bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4021c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4021a0
xor eax, eax
jmp 0x4021c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x402488
push 8
push 0
push 0x779
push esi
call edi
lea eax, [ebp - 0xcb0]
push eax
lea eax, [ebp - 0xce0]
push eax
call fcn.0047ca80
cmp dword [ebp - 0xccc], 7
lea eax, [ebp - 0xce0]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0xce0]
push eax
lea eax, [ebp - 0xcc8]
push eax
call fcn.00401860
add esp, 0x10
cmp dword [ebp - 0xcb4], 0xf
lea ecx, [ebp - 0x468]
push esi
lea eax, [ebp - 0xcc8]
mov byte [ebp - 4], 1
cmova eax, dword [ebp - 0xcc8]
push ecx
push eax
lea ecx, [ebp - 0xce1]
call fcn.004140c0
test eax, eax
je 0x402290
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0047cd10
add esp, 8
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402283
test dl, dl
je 0x40227f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402283
add eax, 2
add ecx, 2
test dl, dl
jne 0x402263
xor eax, eax
jmp 0x402288
sbb eax, eax
or eax, 1
test eax, eax
je 0x40234a
mov ecx, dword [ebp - 0xcb4]
xor esi, esi
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4022d0
mov edx, dword [ebp - 0xcc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024a5
push ecx
push edx
call fcn.00489c99
add esp, 8
mov ecx, dword [ebp - 0xccc]
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xcc8], 0
mov dword [ebp - 0xcb4], 0xf
mov dword [ebp - 0xcb8], esi
cmp ecx, 7
jbe 0x40232e
mov edx, dword [ebp - 0xce0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402324
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024a5
push ecx
push edx
call fcn.00489c99
add esp, 8
lea eax, [ebp - 0x468]
mov dword [ebp - 0xccc], 7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x402469
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x670]
push str._s.bak
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00493e89
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00493e89
mov ecx, dword [ebp - 0xcb4]
add esp, 0x10
mov byte [ebp - 4], 0
mov esi, 1
cmp ecx, 0xf
jbe 0x4023df
mov edx, dword [ebp - 0xcc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024a5
push ecx
push edx
call fcn.00489c99
add esp, 8
mov ecx, dword [ebp - 0xccc]
mov dword [ebp - 0xcb8], 0
mov dword [ebp - 0xcb4], 0xf
mov byte [ebp - 0xcc8], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x40243d
mov edx, dword [ebp - 0xce0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402433
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4024a5
push ecx
push edx
call fcn.00489c99
add esp, 8
xor eax, eax
mov dword [ebp - 0xcd0], 0
mov word [ebp - 0xce0], ax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0xccc], 7
call fcn.0047cea0
add esp, 4
mov eax, dword [ebp - 0xce8]
push 0x64
push 0
push 0x779
push eax
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret 8
call fcn.0048f8ef
int3