Function at 0x492490
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.004929f0
call fcn.00494720
mov rcx, rax
mov rdx, qword [rbp + 0x78]
call fcn.0048fe70
test al, al
je 0x492547
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x78]
call fcn.0040b030
jmp 0x49256b
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0x78]
call fcn.004281b0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0xc8]
call fcn.0040b030
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xcc]
mov edx, 0xc
xor r8, r8
call fcn.00406dc0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xd8]
mov edx, 0x324
xor r8, r8
call fcn.00406dc0
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x18], 0
jne 0x4925b7
mov rax, qword [rbp + 0x70]
mov dword [rax + 0xd8], 0x7fffffff
jmp 0x4925c4
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 0x4925de
mov rax, qword [rbp + 0x70]
mov dword [rax + 0xdc], 0x7fffffff
jmp 0x4925eb
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.00491e60
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xc0]
xor r8, r8
call fcn.0040b8c0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0xfa]
mov rdx, qword [rbp + 0xe0]
call fcn.004285f0
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x10]
call fcn.004280e0
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xb8]
xor r8, r8
call fcn.0040b8c0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x1fa]
mov rdx, qword [rbp + 0xe0]
call fcn.004285f0
lea rcx, [rbp + 0xb0]
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x10]
call fcn.00427f20
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xb0]
xor r8, r8
call fcn.0040b8c0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2fa]
mov rdx, qword [rbp + 0xe0]
call fcn.004285f0
mov byte [rbp + 0xef], 0
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x68], 0
je 0x492730
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 0x492924
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c060
cmp qword [rbp + 0xa8], 0
je 0x4927d5
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c060
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0xd8]
call fcn.00431860
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0xa0]
call fcn.0040b0b0
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xd8]
xor r8, r8
call fcn.0040b8c0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2fa]
mov rdx, qword [rbp + 0xe0]
call fcn.004285f0
mov rcx, qword [rbp + 0xd8]
call fcn.00427760
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x70]
lea rdx, [rax + 0x2fa]
mov r8d, pe_nt_image_headers64
call fcn.0040c060
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.0040c060
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0xd8]
lea rdx, [rbp + 0x90]
mov r8d, 1
call fcn.00490630
mov rcx, qword [rbp + 0xd8]
call fcn.0040bfb0
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, [0x00491200]
lea r8, [0x00491150]
lea r9, [0x00491160]
lea rax, [0x00491170]
mov qword [rsp + 0x20], rax
lea rax, [0x00491180]
mov qword [rsp + 0x28], rax
lea rax, [0x00491190]
mov qword [rsp + 0x30], rax
lea rax, [0x004911a0]
mov qword [rsp + 0x38], rax
lea rax, [0x004911b0]
mov qword [rsp + 0x40], rax
lea rax, [0x004911c0]
mov qword [rsp + 0x48], rax
lea rax, [0x004911f0]
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.00481c20
mov rdx, qword [rbp + 0x70]
mov qword [rdx + 8], rax
mov rcx, rdx
cmp qword [rdx + 8], 0
setne dl
call fcn.00491be0
nop
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040aac0
lea rcx, [rbp + 0xa0]
mov edx, 6
call fcn.0040aac0
lea rcx, [rbp + 0xd8]
call fcn.0040a9e0
lea rcx, [rbp + 0xe0]
call fcn.0040aa30
lea rsp, [rbp + 0xf8]
pop rbx
pop rbp
ret