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

Disassembly:
push 0xffffffffffffffff
push 0x5105d9
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
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.00408f70
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.00408f70
lea eax, [esp + 0x58]
push eax
mov ecx, esi
mov byte [esp + 0xfc], 1
call fcn.004279e0
add esp, 0x3c
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x427637
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427647
test al, 0x10
je 0x4276ba
cmp dword [esp + 0x38], edi
jb 0x42765a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ea82f
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 0x427682
mov eax, dword [esp + 0xcc]
push eax
call fcn.004ea82f
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 0x4276b3
mov edx, dword [esp + 0xe8]
push edx
call fcn.004ea82f
add esp, 4
xor al, al
jmp 0x4279b0
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.00408f70
mov cl, 1
lea esi, [esp + 0x58]
call fcn.0040fbe0
add esp, 0x1c
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x50], ebx
ja 0x427799
cmp dword [esp + 0x54], 0x10
jb 0x427712
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ea82f
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], edi
jb 0x427735
mov edx, dword [esp + 0x24]
push edx
call fcn.004ea82f
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 0x42775d
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004ea82f
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 0x4276b3
mov eax, dword [esp + 0xe8]
push eax
call fcn.004ea82f
add esp, 4
xor al, al
jmp 0x4279b0
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.00401cb0
lea ebx, [esp + 0x7c]
call fcn.00446670
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 0x4277fb
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.00408f70
mov ecx, esi
call fcn.0040fd60
add esp, 0x20
cmp al, bl
jne 0x4278c1
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x427848
mov eax, dword [esp + 0x5c]
push eax
call fcn.004ea82f
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x54], esi
jb 0x427867
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ea82f
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 0x42788b
mov edx, dword [esp + 0x24]
push edx
call fcn.004ea82f
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 0x4278b3
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004ea82f
add esp, 4
xor edx, edx
cmp dword [esp + 0xfc], esi
jmp 0x427766
cmp byte [esp + 0x17], bl
je 0x42797b
mov eax, dword [esp + 0xcc]
mov esi, 8
cmp dword [esp + 0xe0], esi
jae 0x4278e7
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xcc]
cmp dword [esp + 0xe0], esi
jae 0x427905
lea ecx, [esp + 0xcc]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x427913
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 0x427932
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427944
test al, 0x10
jne 0x427944
mov bl, 1
lea ecx, [esp + 0x58]
call fcn.00401e10
lea ecx, [esp + 0x3c]
call fcn.00401e10
lea esi, [esp + 0x20]
call fcn.0040efa0
lea esi, [esp + 0xc8]
call fcn.0040efa0
lea esi, [esp + 0xe4]
call fcn.0040efa0
mov al, bl
jmp 0x4279b0
lea ecx, [esp + 0x58]
call fcn.00401e10
lea ecx, [esp + 0x3c]
call fcn.00401e10
lea esi, [esp + 0x20]
call fcn.0040efa0
lea esi, [esp + 0xc8]
call fcn.0040efa0
lea esi, [esp + 0xe4]
call fcn.0040efa0
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.004ea83a
add esp, 0xb0
ret