Function at 0x4f2a00
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0xf8
mov rbp, rsp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd8], 0
nop
mov rcx, qword [rbp + 0x70]
xor rdx, rdx
call fcn.004f2f60
call fcn.004f4ca0
mov rcx, rax
mov rdx, qword [rbp + 0x78]
call fcn.004f03d0
test al, al
je 0x4f2ab7
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x78]
call fcn.0040b090
jmp 0x4f2adb
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x78]
call fcn.00428950
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0xc8]
call fcn.0040b090
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xcc]
mov edx, 0xc
xor r8, r8
call fcn.00406e20
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xd8]
mov edx, 0x324
xor r8, r8
call fcn.00406e20
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x18], 0
jne 0x4f2b27
mov rax, qword [rbp + 0x70]
mov dword [rax + 0xd8], 0x7fffffff
jmp 0x4f2b34
mov rcx, qword [rbp + 0x70]
mov eax, dword [rcx + 0x18]
mov dword [rcx + 0xd8], eax
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x20], 0
jne 0x4f2b4e
mov rax, qword [rbp + 0x70]
mov dword [rax + 0xdc], 0x7fffffff
jmp 0x4f2b5b
mov rcx, qword [rbp + 0x70]
mov eax, dword [rcx + 0x20]
mov dword [rcx + 0xdc], eax
mov rcx, qword [rbp + 0x70]
mov eax, dword [rcx + 0x28]
mov dword [rcx + 0xe0], eax
mov eax, dword [rcx + 0x2c]
mov dword [rcx + 0xe4], eax
mov eax, dword [rcx + 0x30]
mov dword [rcx + 0xe8], eax
mov dword [rcx + 0xf0], 1
movzx rax, word [rcx + 0x34]
mov word [rcx + 0xf8], ax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x70]
mov r8d, dword [rax + 0xf0]
call fcn.004f23d0
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xc0]
xor r8, r8
call fcn.0040bd80
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xfa]
mov rdx, qword [rbp + 0xe0]
call fcn.00428d70
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x10]
call fcn.004288f0
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xb8]
xor r8, r8
call fcn.0040bd80
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x1fa]
mov rdx, qword [rbp + 0xe0]
call fcn.00428d70
lea rcx, [rbp + 0xb0]
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x10]
call fcn.00428730
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xb0]
xor r8, r8
call fcn.0040bd80
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2fa]
mov rdx, qword [rbp + 0xe0]
call fcn.00428d70
mov byte [rbp + 0xef], 0
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x68], 0
je 0x4f2ca0
mov rax, qword [rbp + 0x70]
lea rbx, [rax + 0x68]
mov rcx, qword [rbx + 8]
mov rax, qword [rbp + 0x70]
mov rdx, rax
lea r8, [rax + 0xd8]
xor r9, r9
lea rax, [rbp + 0xef]
mov qword [rsp + 0x20], rax
call qword [rbx]
cmp byte [rbp + 0xef], 0
jne 0x4f2e94
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c520
cmp qword [rbp + 0xa8], 0
je 0x4f2d45
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c520
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0xd8]
call fcn.00431fe0
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0xa0]
call fcn.0040b110
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xd8]
xor r8, r8
call fcn.0040bd80
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2fa]
mov rdx, qword [rbp + 0xe0]
call fcn.00428d70
mov rcx, qword [rbp + 0xd8]
call fcn.00427f70
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c520
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x80]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x1fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c520
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0xd8]
lea rdx, [rbp + 0x90]
mov r8d, 1
call fcn.004f0b90
mov rcx, qword [rbp + 0xd8]
call fcn.0040c470
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
mov rax, qword [rbp + 0x70]
mov dword [rax + 0x3fc], 0
mov dword [rax + 0x400], 0
mov dword [rax + 0x404], 0
lea rcx, [rax + 0xcc]
lea rdx, [0x004f1770]
lea r8, [0x004f16c0]
lea r9, [0x004f16d0]
lea rax, [0x004f16e0]
mov qword [rsp + 0x20], rax
lea rax, [0x004f16f0]
mov qword [rsp + 0x28], rax
lea rax, [0x004f1700]
mov qword [rsp + 0x30], rax
lea rax, [0x004f1710]
mov qword [rsp + 0x38], rax
lea rax, [0x004f1720]
mov qword [rsp + 0x40], rax
lea rax, [0x004f1730]
mov qword [rsp + 0x48], rax
lea rax, [0x004f1760]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x70]
lea rax, [rax + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x60], rax
call fcn.004ecda0
mov rdx, qword [rbp + 0x70]
mov qword [rdx + 8], rax
mov rcx, rdx
cmp qword [rdx + 8], 0
setne dl
call fcn.004f2150
nop
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040ab20
lea rcx, [rbp + 0xa0]
mov edx, 6
call fcn.0040ab20
lea rcx, [rbp + 0xd8]
call fcn.0040aa40
lea rcx, [rbp + 0xe0]
call fcn.0040aa90
lea rsp, [rbp + 0xf8]
pop rbx
pop rbp
ret