Function at 0x14048823e
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
clc
mov qword [rax + 8], rbx
bswap ebx
mov qword [rax + 0x10], rbp
setns bh
rcr bx, 0xab
clc
mov qword [rax + 0x18], rsi
rcl bl, 0xd
mov qword [rax + 0x20], rdi
sar esi, cl
bsf esi, edx
sal bx, cl
push r12
sar esi, cl
or sil, r10b
shr rsi, 0x98
push r14
xor r14d, 0x8735be8c
shrd rsi, r15, 0x32
push r15
movzx ebx, dx
sub rsp, 0x20
dec r14b
sub sil, 0xbb
bt esi, ebp
mov rbx, rdx
btc esi, 0x31
movsx r14d, r8w
bt r14d, 0x80
mov rsi, r8
sub edx, edx
setp r14b
cmovge r8w, di
movsx r8, di
mov r14d, ecx
mov r8b, 0x2f
mov r8w, sp
lea r8d, [rdx + 1]
jmp 0x1404882c8
call fcn.14047d315
xor edx, edx
xchg r8w, r12w
mov ecx, r14d
setne r8b
mov r12, rax
lea r8d, [rdx + 2]
jmp 0x1404882e6
call fcn.14047d315
mov rbp, rbx
test r8w, r8w
test r14b, 0xa1
sub rbp, rax
clc
cmp r12, 0xffffffffffffffff
jmp 0x140488303
je 0x1404884e7
cmp rax, 0xffffffffffffffff
je 0x1404884e7
xor edi, edi
test r14b, r10b
cmc
test rbp, rbp
jle 0x14048845a
lea edx, [rdi + 1]
not cl
movsx ecx, r11w
bswap cx
mov ecx, 0x1000
jmp 0x140488338
call fcn.14047e019
mov rbx, rax
test rax, rax
jmp 0x140488348
jne 0x140488367
lea edi, [rax + 0xc]
jmp 0x140488356
mov byte [rsi + 0x30], 1
jmp 0x14048835f
mov dword [rsi + 0x2c], edi
jmp 0x140488448
mov edx, 0x8000
movzx cx, spl
mov ecx, r14d
jmp 0x140488379
call fcn.14047b048
mov r15d, eax
rcl eax, 0x3f
btc r8w, 0x8b
sub r8b, 0x95
mov eax, 0x1000
cwd
or cl, r14b
ror r8b, 0xa8
mov r8d, ebp
jmp 0x1404883a7
cmp rbp, rax
jmp 0x1404883b3
mov r9, rsi
not cx
mov rdx, rbx
mov ecx, r14d
jmp 0x1404883c4
cmovge r8d, eax
jmp 0x1404883cd
call fcn.14047f3a6
cmp eax, 0xffffffff
je 0x140488406
cdqe
sub rbp, rax
cmp sil, r10b
test rbp, rbp
jmp 0x1404883eb
jg 0x14048838e
mov edx, r15d
mov ecx, r14d
jmp 0x1404883fc
call fcn.14047b048
jmp 0x140488448
cmp byte [rsi + 0x38], dil
je 0x140488430
cmp dword [rsi + 0x34], 5
jne 0x140488430
mov byte [rsi + 0x30], 1
jmp 0x140488429
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140488448
mov edi, dword [rsi + 0x2c]
bswap rcx
movsx ecx, r10w
movzx rcx, r8w
mov rcx, rbx
jmp 0x140488450
call fcn.14047c216
jmp 0x14048850e
jns 0x14048850e
sub r8d, r8d
mov rdx, rbx
movzx rcx, dx
mov cx, cx
mov ecx, r14d
call fcn.14047d315
cmp rax, 0xffffffffffffffff
jne 0x140488491
cmp byte [rsi + 0x30], dil
je 0x14048850e
mov edi, dword [rsi + 0x2c]
jmp 0x14048850e
mov ecx, r14d
jmp 0x140488499
call fcn.14047a03f
mov rcx, rax
jmp 0x1404884a6
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jmp 0x1404884b3
jne 0x14048850e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
setae dil
mov dil, sil
mov edi, 0xd
jmp 0x1404884d4
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14048850e
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1404884fb
mov eax, dword [rsi + 0x2c]
jmp 0x140488508
mov eax, 0x16
xor dil, bl
cdq
bsf rdi, rax
mov edi, eax
or dx, r12w
sub r8d, r8d
setns ch
movzx cx, spl
cqo
mov rdx, r12
not rcx
mov ecx, r14d
jmp 0x140488529
call fcn.14047d315
mov rbx, qword [rsp + 0x40]
mov eax, edi
neg dil
movsx rbp, r14w
mov rdi, qword [rsp + 0x58]
and sil, 0x3d
bts r15w, r8w
btr r15w, di
mov rbp, qword [rsp + 0x48]
rol r14w, cl
mov r15, r12
xadd r14b, sil
mov rsi, qword [rsp + 0x50]
add r12d, 0x8c3a571d
add rsp, 0x20
pop r15
movsx r14d, r15w
pop r14
pop r12
jmp 0x14048857e
ret