Function at 0x427070
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x50fde9
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
sub esp, 0x1c
mov dword [esp + 0xdc], 1
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x38], esp
xor eax, eax
mov ebp, 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
lea eax, [esp + 0x108]
mov byte [esp + 0x3b], bl
lea esi, [esp + 0x3b]
call fcn.0040e810
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [esp + 0xf8], 2
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x108]
mov word [ecx + 4], dx
call fcn.0040e810
lea eax, [esp + 0x58]
push eax
mov ecx, esi
mov byte [esp + 0xfc], 1
call fcn.004274f0
add esp, 0x3c
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x427147
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427157
test al, 0x10
je 0x4271ca
cmp dword [esp + 0x38], edi
jb 0x42716a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ea0ff
add esp, 4
xor edx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
cmp dword [esp + 0xe0], edi
jb 0x427192
mov eax, dword [esp + 0xcc]
push eax
call fcn.004ea0ff
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], cx
cmp dword [esp + 0xfc], edi
jb 0x4271c3
mov edx, dword [esp + 0xe8]
push edx
call fcn.004ea0ff
add esp, 4
xor al, al
jmp 0x4274c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
lea eax, [esp + 0xec]
call fcn.0040e810
mov cl, 1
lea esi, [esp + 0x58]
call fcn.0040f4b0
add esp, 0x1c
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x50], ebx
ja 0x4272a9
cmp dword [esp + 0x54], 0x10
jb 0x427222
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ea0ff
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], edi
jb 0x427245
mov edx, dword [esp + 0x24]
push edx
call fcn.004ea0ff
add esp, 4
xor eax, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
cmp dword [esp + 0xe0], edi
jb 0x42726d
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004ea0ff
add esp, 4
xor edx, edx
cmp dword [esp + 0xfc], edi
mov word [esp + 0xcc], dx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebp
jb 0x4271c3
mov eax, dword [esp + 0xe8]
push eax
call fcn.004ea0ff
add esp, 4
xor al, al
jmp 0x4274c0
push ebx
mov ecx, 0x10
mov esi, str.zj6Gy1JRE_UO_vGAoIWY_e7_a1BtQrg8Xzv4q7W0IjpfRhWkBtWAm_F_JYAIup
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d10
lea ebx, [esp + 0x7c]
call fcn.00446020
add esp, 0x24
mov byte [esp + 0xc0], 5
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
push eax
jae 0x42730b
lea esi, [esp + 0x60]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
xor ebx, ebx
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x48]
mov word [ecx + 4], dx
call fcn.0040e810
mov ecx, esi
call fcn.0040f630
add esp, 0x20
cmp al, bl
jne 0x4273d1
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x427358
mov eax, dword [esp + 0x5c]
push eax
call fcn.004ea0ff
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x54], esi
jb 0x427377
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ea0ff
add esp, 4
mov esi, 8
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], esi
jb 0x42739b
mov edx, dword [esp + 0x24]
push edx
call fcn.004ea0ff
add esp, 4
xor eax, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
cmp dword [esp + 0xe0], esi
jb 0x4273c3
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004ea0ff
add esp, 4
xor edx, edx
cmp dword [esp + 0xfc], esi
jmp 0x427276
cmp byte [esp + 0x17], bl
je 0x42748b
mov eax, dword [esp + 0xcc]
mov esi, 8
cmp dword [esp + 0xe0], esi
jae 0x4273f7
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xcc]
cmp dword [esp + 0xe0], esi
jae 0x427415
lea ecx, [esp + 0xcc]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x427423
lea eax, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [esp + 0xcc]
cmp dword [esp + 0xe0], esi
jae 0x427442
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427454
test al, 0x10
jne 0x427454
mov bl, 1
lea ecx, [esp + 0x58]
call fcn.00401e70
lea ecx, [esp + 0x3c]
call fcn.00401e70
lea esi, [esp + 0x20]
call fcn.00426800
lea esi, [esp + 0xc8]
call fcn.00426800
lea esi, [esp + 0xe4]
call fcn.00426800
mov al, bl
jmp 0x4274c0
lea ecx, [esp + 0x58]
call fcn.00401e70
lea ecx, [esp + 0x3c]
call fcn.00401e70
lea esi, [esp + 0x20]
call fcn.00426800
lea esi, [esp + 0xc8]
call fcn.00426800
lea esi, [esp + 0xe4]
call fcn.00426800
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004ea10a
add esp, 0xb0
ret