Function at 0x41f760
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e855
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4bf100]
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, edx
mov esi, ecx
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0xe4], eax
push eax
push eax
movups xmmword [ebp - 0x9c], xmm0
push 1
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
movups xmmword [ebp - 0x80], xmm0
push eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x41fb6e
cmp dword [edi + 0x10], 0
je 0x41fb6e
push str..tmp
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.00409680
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova edx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 7
jbe 0x41f834
mov esi, dword [esi]
push ecx
mov ecx, esi
call fcn.00418340
add esp, 4
test al, al
je 0x41fb5c
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], 7
movups xmmword [ebp - 0xb8], xmm0
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
push 0x1194
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041b980
sub eax, 0
je 0x41f8ba
sub eax, 1
je 0x41f8b0
sub eax, 1
je 0x41f8a6
mov esi, 0xeeac9002
jmp 0x41fb00
mov esi, 0xeeac9003
jmp 0x41fb00
mov esi, 0xeeac9004
jmp 0x41fb00
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
xor eax, eax
movq qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.0041f170
add esp, 4
test al, al
je 0x41faf3
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov edx, 0x1d
cmova eax, dword [ebp - 0x58]
mov esi, ecx
cmp ecx, edx
cmova esi, edx
mov edx, 0x4b59b4
test esi, esi
je 0x41f951
sub eax, edx
mov dword [ebp - 0xe4], eax
nop dword [eax]
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x41faec
mov eax, dword [ebp - 0xe4]
add edx, 2
sub esi, 1
jne 0x41f930
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x1d
jb 0x41faec
ja 0x41faec
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
xor eax, eax
movq qword [ebp - 0xdc], xmm0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 4
cmp byte [ebp + 8], al
jne 0x41fa14
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x41f9ac
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403810
mov eax, 1
mov byte [ebp - 4], 5
mov dword [ebp - 0xe8], eax
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xb8]
push eax
call fcn.0041f170
add esp, 4
test al, al
je 0x41fa14
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xdc]
ja 0x41fa14
jne 0x41fa0b
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xd8]
ja 0x41fa14
jne 0x41fa0b
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0xd4]
ja 0x41fa14
mov byte [ebp - 0xdd], 0
jmp 0x41fa1b
mov byte [ebp - 0xdd], 1
mov dword [ebp - 4], 4
test byte [ebp - 0xe8], 1
je 0x41fa33
lea ecx, [ebp - 0x40]
call fcn.004037b0
cmp byte [ebp - 0xdd], 0
je 0x41fadd
push str..bak
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00409680
add esp, 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
mov ecx, edi
cmova eax, dword [ebp - 0x40]
cmp dword [edi + 0x14], 7
jbe 0x41fa67
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41fac0
cmp dword [edi + 0x14], 7
jbe 0x41fa7d
mov edi, dword [edi]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov edx, edi
cmova ecx, dword [ebp - 0x28]
push ecx
call fcn.00418340
add esp, 4
test al, al
je 0x41fac0
xor esi, esi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.004037b0
lea ecx, [ebp - 0xdc]
call fcn.00418860
jmp 0x41faf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004037b0
lea ecx, [ebp - 0xdc]
call fcn.00418860
jmp 0x41faf8
lea ecx, [ebp - 0xdc]
xor esi, esi
call fcn.00418860
jmp 0x41faf8
mov esi, 0xeeac9005
jmp 0x41faf8
mov esi, 0xeeac9006
lea ecx, [ebp - 0x64]
call fcn.00418860
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xa4]
cmp ecx, 7
jbe 0x41fb64
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fb48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc48
push ecx
push edx
call fcn.00471b8b
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004037b0
jmp 0x41fb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004037b0
jmp 0x41fb73
mov esi, 0x57
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x41fb9c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa0], 0
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x41fbdb
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fbd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc48
push ecx
push edx
call fcn.00471b8b
add esp, 8
mov ecx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp ecx, 7
jbe 0x41fc2b
mov edx, dword [ebp - 0x9c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fc21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc48
push ecx
push edx
call fcn.00471b8b
add esp, 8
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.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
int3