Function at 0x140003ab0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x790], rax
movzx edx, word [0x14000dc60]
lea rax, [rsp + 0x70]
movzx r11d, cl
test dx, dx
je 0x140003b21
lea r8, [0x14000dc60]
lea rcx, [rsp + 0x70]
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
mov word [rax], dx
add rax, 2
movzx edx, word [r8 + rax]
test dx, dx
jne 0x140003b10
xor esi, esi
mov word [rax], si
lea rax, [rsp + 0x70]
cmp word [rsp + 0x70], si
je 0x140003b3b
add rax, 2
cmp word [rax], si
jne 0x140003b32
lea rdx, [0x14000a138]
mov ecx, 0x5c
sub rdx, rax
nop word [rax + rax]
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x140003b50
mov word [rax], si
lea rbx, [rsp + 0x70]
movzx r10d, word [rsp + 0x70]
test r10w, r10w
je 0x140003b7d
add rbx, 2
cmp word [rbx], si
jne 0x140003b74
movzx ecx, word [0x14000d980]
lea rax, [rsp + 0x70]
sub rbx, rax
lea rdi, [0x14000d980]
sar rbx, 1
lea rax, [rbp + 0x380]
test cx, cx
je 0x140003bc0
mov rdx, rdi
lea r8, [rbp + 0x380]
sub rdx, r8
nop
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x140003bb0
mov word [rax], si
lea rax, [rbp + 0x380]
cmp word [rbp + 0x380], si
je 0x140003bdc
add rax, 2
cmp word [rax], si
jne 0x140003bd3
lea r8, str.ntkrnlmp.exe
mov ecx, 0x6e
mov r9, r8
movzx edx, cx
sub r9, rax
mov word [rax], dx
lea rax, [rax + 2]
movzx edx, word [rax + r9]
test dx, dx
jne 0x140003bf1
mov word [rax], si
lea rax, [rsp + 0x70]
test r10w, r10w
je 0x140003c19
add rax, 2
cmp word [rax], si
jne 0x140003c10
sub r8, rax
nop dword [rax]
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140003c20
mov word [rax], si
lea rax, [0x14000dc40]
mov qword [rsp + 0x20], rax
lea rax, [0x14000dc20]
mov qword [rsp + 0x28], rax
lea rax, [0x14000dbe0]
mov qword [rsp + 0x30], rax
test r11b, r11b
je 0x140003c6b
lea rax, [0x14000dc00]
mov qword [rsp + 0x38], rax
jmp 0x140003c83
lea rax, [0x14000dba0]
mov qword [rsp + 0x38], rax
lea rax, [0x14000dbc0]
mov qword [rsp + 0x40], rax
neg r11b
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x380]
sbb r8d, r8d
add r8d, 5
call fcn.140007a20
test eax, eax
jne 0x140003ccc
xor al, al
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400081d0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov r8d, 0xb
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140003ca2
add rbx, rbx
cmp rbx, 0x410
jae 0x140003e71
movzx ecx, word [0x14000d980]
lea rax, [rbp + 0x380]
mov word [rsp + rbx + 0x70], si
test cx, cx
je 0x140003d30
lea rdx, [rbp + 0x380]
sub rdi, rdx
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdi + rax]
test cx, cx
jne 0x140003d20
cmp dword [0x14000d8dc], esi
mov word [rax], si
lea rax, [rsp + 0x70]
je 0x140003db3
cmp word [rsp + 0x70], si
je 0x140003d50
add rax, 2
cmp word [rax], si
jne 0x140003d47
lea r8, str.osloader.efi
mov ecx, 0x6f
mov r9, r8
movzx edx, cx
sub r9, rax
nop word [rax + rax]
mov word [rax], dx
lea rax, [rax + 2]
movzx edx, word [r9 + rax]
test dx, dx
jne 0x140003d70
mov word [rax], si
lea rax, [rbp + 0x380]
cmp word [rbp + 0x380], si
je 0x140003d9d
add rax, 2
cmp word [rax], si
jne 0x140003d94
sub r8, rax
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140003da0
jmp 0x140003e21
cmp word [rsp + 0x70], si
je 0x140003dc9
nop word [rax + rax]
add rax, 2
cmp word [rax], si
jne 0x140003dc0
lea r8, str.osloader.exe
mov ecx, 0x6f
mov r9, r8
movzx edx, cx
sub r9, rax
nop
mov word [rax], dx
lea rax, [rax + 2]
movzx edx, word [r9 + rax]
test dx, dx
jne 0x140003de0
mov word [rax], si
lea rax, [rbp + 0x380]
cmp word [rbp + 0x380], si
je 0x140003e0d
add rax, 2
cmp word [rax], si
jne 0x140003e04
sub r8, rax
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140003e10
mov word [rax], si
lea rdx, [rsp + 0x20]
lea rax, [0x14000d960]
mov r8d, 1
lea rcx, [rbp + 0x380]
mov qword [rsp + 0x20], rax
call fcn.140007a20
test eax, eax
je 0x140003ca2
mov r8d, 0xb
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
jmp 0x140003ca4
call fcn.140008304
int3