Function at 0x140076f00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov r14, r9
mov rdi, r8
mov r8, rdx
mov r10, qword [rbp + 0xc0]
mov r13, qword [rbp + 0xb8]
test r10, r10
je 0x140076f4d
movzx eax, byte [r13]
add al, 0xd5
test al, 0xfd
sete al
jmp 0x140076f4f
xor eax, eax
movzx r9d, al
mov eax, dword [r14 + 0x18]
mov ecx, eax
not ecx
xor eax, 0x3000
and ecx, 0xffffcfff
or ecx, eax
cmp ecx, 0xffffcfff
mov qword [rbp - 0x50], r8
mov qword [rbp + 8], r9
jne 0x140076fad
lea rax, [r9 + 2]
lea rdx, [0x1403ba365]
cmp rax, r10
ja 0x140076fb4
movzx ecx, byte [0x1404ee638]
add cl, byte [r13 + r9]
cmp cl, 0x30
jne 0x140076fb4
movzx ecx, byte [r9 + r13 + 1]
or ecx, 0x20
cmp ecx, 0x78
jne 0x140076fb4
mov qword [rbp + 8], rax
jmp 0x140076fb4
lea rdx, [0x1403ba362]
mov rcx, r13
mov r8d, 0x6f293d3
call fcn.140084ea0
mov r15, rax
mov word [rbp + 0x3e], 0x2e
mov dword [rsp + 0x28], 0xaf8d09a8
mov dword [rsp + 0x20], 0
mov ecx, 1
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call fcn.140085560
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rbp + 0x3e], al
lea rdx, [rbp + 0x3e]
mov rcx, r13
mov r8d, 0x6f293d3
call fcn.140084ea0
mov r12, rax
mov rax, qword [r14 + 0x40]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x20], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14014757d.0]
lea rsi, [rbp + 0x18]
mov rcx, rsi
call fcn.140072b60
mov rbx, rax
mov qword [rbp - 0x28], r14
mov qword [rbp + 0x10], rdi
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140077070
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14014757d.0]
test rax, rax
je 0x140077070
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [case.0x14014757d.0]
movsxd r14, dword [0x1403b8f84]
mov edi, dword [0x1403b8f8c]
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x1400770bc
lea rcx, [rbp + 0x18]
xor r9d, r9d
call fcn.140076240
mov rdx, qword [rbp + 0xc0]
cmp qword [rbp + 0x30], 8
jae 0x1400770e9
jmp 0x1400770ed
mov qword [rbp + 0x28], rdx
test rdx, rdx
je 0x1400770db
lea r8, [rdx + rdx]
lea rcx, [rbp + 0x18]
xor edx, edx
call fcn.14039e9a0
mov rdx, qword [rbp + 0xc0]
mov word [rbp + rdx*2 + 0x18], 0
cmp qword [rbp + 0x30], 8
jb 0x1400770ed
mov rsi, qword [rbp + 0x18]
lea r8, [rdx + r13]
mov rax, qword [rbx]
mov rax, qword [rax + 0x58]
mov rcx, rbx
mov rdx, r13
mov r9, rsi
call qword [case.0x14014757d.0]
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x40], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14014757d.0]
lea rcx, [rbp - 0x48]
call fcn.1400760b0
mov rbx, rax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140077162
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14014757d.0]
test rax, rax
je 0x140077162
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [case.0x14014757d.0]
mov rax, qword [rbx]
mov rax, qword [rax + 0x28]
lea r13, [rbp - 0x48]
mov rcx, rbx
mov rdx, r13
call qword [case.0x14014757d.0]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
mov rcx, rbx
call qword [case.0x14014757d.0]
mov esi, eax
cmp r12, qword [rbp + 0xc0]
je 0x1400771bd
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [case.0x14014757d.0]
cmp qword [rbp + 0x30], 8
jb 0x1400771b1
mov rcx, qword [rbp + 0x18]
jmp 0x1400771b5
lea rcx, [rbp + 0x18]
mov word [rcx + r12*2], ax
mov r15, r12
lea rax, [0x1403b8f84]
cmp qword [rbp - 0x30], 0x10
jb 0x1400771cf
mov r13, qword [rbp - 0x48]
add r14, rax
lea r12, [rbp + 0x18]
jmp 0x14007720b
lea rdx, [rbx + r15*2]
lea rcx, [rbx + r15*2]
add rcx, 2
lea r8, [rax + rax]
add r8, 2
call fcn.14039e2f0
mov word [rbx + r15*2], si
lea rax, [r13 + 1]
cmp byte [r13 + 1], 0
cmovg r13, rax
movzx edx, byte [0x1404ee61c]
add dl, byte [r13]
mov eax, dword [section.__wibu0a]
lea ecx, [rax + 1]
mov dword [section.__wibu0a], ecx
test eax, ecx
jne 0x140077231
test edi, edi
jg 0x1400772bd
xor r8d, r8d
add dl, byte [0x1404ee410]
lea r9d, [rdx - 1]
cmp r9b, 0x7e
jae 0x1400772e5
movzx edx, dl
mov r9, r15
sub r9, qword [rbp + 8]
cmp r9, rdx
jbe 0x1400772e5
sub r15, rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
sub rax, r15
jb 0x140077358
mov rdx, qword [rbp + 0x30]
cmp rdx, rcx
jne 0x1400772a0
mov word [rsp + 0x28], si
mov qword [rsp + 0x20], 1
mov edx, 1
mov rcx, r12
mov r9, r15
call fcn.140076c40
jmp 0x1400771fe
inc rcx
mov qword [rbp + 0x28], rcx
mov rbx, r12
cmp rdx, 8
jb 0x1400771e0
mov rbx, qword [rbp + 0x18]
jmp 0x1400771e0
xor r9d, r9d
xor r8d, r8d
nop word cs:[rax + rax]
movsxd r9, r9d
xor r8, qword [r14 + r9]
add r9d, 8
cmp r9d, edi
jl 0x1400772d0
jmp 0x140077234
and eax, ecx
mov rcx, qword [0x1403b8f58]
xor edx, edx
cmp eax, 1
sbb rdx, rdx
sub rcx, r8
and rcx, rdx
mov rax, rcx
shr rax, 0x20
or eax, ecx
mov edx, eax
shr edx, 0x10
mov ecx, dword [0x1404ee37c]
cmp ecx, 0x62
or edx, eax
mov eax, dword [0x1404ee378]
movzx eax, dx
shr eax, 8
mov r10, qword [rbp + 0x10]
mov r11, qword [rbp - 0x28]
nop dword [rax]
mov ecx, dword [0x1404ee37c]
cmp ecx, 0x32
jg 0x140077330
or dl, al
nop dword [rax]
mov eax, dword [0x1404ee37c]
cmp eax, 0x16
jg 0x140077340
mov eax, dword [0x1404ee37c]
cmp eax, 0x2c
jg 0x14007736e
jmp 0x14007735d
call fcn.140070b40
add byte [0x1404ee638], dl
mov eax, dword [0x1404ee37c]
cmp eax, 0x12
jle 0x1400773c5
movzx r8d, byte [0x1404ee638]
mov r9d, r8d
mov ecx, edx
shl r9b, cl
mov eax, r8d
sub al, r9b
mul r9b
mov r9d, r8d
mov ecx, eax
shl r9b, cl
mov ecx, r9d
shl r8b, cl
mov eax, r8d
sub al, r9b
mul r9b
mov ecx, eax
sub r8b, al
mov eax, r8d
mul cl
mov r8d, ecx
sub r8b, al
mov eax, r8d
shl al, cl
mov ecx, eax
shl r8b, cl
sub cl, r8b
add cl, al
mov byte [0x1404ee638], cl
jmp 0x14007735d
mov rbx, qword [rbp + 0x28]
mov rax, qword [r11 + 0x28]
xor ecx, ecx
mov rdi, rax
sub rdi, rbx
mov r15d, 0
cmova r15, rdi
test rax, rax
cmovle r15, rcx
mov eax, 0x1c0
and eax, dword [r11 + 0x18]
cmp eax, 0x40
je 0x1400774ad
cmp eax, 0x100
jne 0x14007756d
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
movzx r14d, byte [r10]
mov edx, dword [r10 + 4]
mov dword [rbp + 3], edx
mov edx, dword [r10 + 1]
mov dword [rbp], edx
mov rsi, qword [r10 + 8]
mov r13, qword [rbp + 8]
test r13, r13
je 0x14007762f
cmp rcx, 8
lea r12, [rbp + 0x18]
cmovae r12, rax
jmp 0x140077450
mov r14b, 1
add r12, 2
dec r13
je 0x14007762f
test rsi, rsi
je 0x140077440
movzx eax, word [r12]
mov rcx, qword [rsi + 0x40]
cmp qword [rcx], 0
je 0x140077490
mov rcx, qword [rsi + 0x58]
mov edx, dword [rcx]
test edx, edx
jle 0x140077490
dec edx
mov dword [rcx], edx
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rcx]
lea r8, [rdx + 2]
mov qword [rcx], r8
mov word [rdx], ax
jmp 0x1400774a5
mov rcx, qword [rsi]
mov r8, qword [rcx + 0x18]
mov rcx, rsi
mov edx, eax
mov rax, r8
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x140077443
jmp 0x140077440
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
movzx edi, byte [r10]
mov edx, dword [r10 + 4]
mov dword [rbp - 0x1d], edx
mov edx, dword [r10 + 1]
mov dword [rbp - 0x20], edx
mov rsi, qword [r10 + 8]
mov r12, qword [rbp + 8]
test r12, r12
je 0x1400776df
cmp rcx, 8
lea r14, [rbp + 0x18]
cmovae r14, rax
jmp 0x140077500
mov dil, 1
add r14, 2
dec r12
je 0x1400776df
test rsi, rsi
je 0x1400774f0
movzx eax, word [r14]
mov rcx, qword [rsi + 0x40]
cmp qword [rcx], 0
je 0x140077540
mov rcx, qword [rsi + 0x58]
mov edx, dword [rcx]
test edx, edx
jle 0x140077540
dec edx
mov dword [rcx], edx
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rcx]
lea r8, [rdx + 2]
mov qword [rcx], r8
mov word [rdx], ax
jmp 0x140077555
mov rcx, qword [rsi]
mov r8, qword [rcx + 0x18]
mov rcx, rsi
mov edx, eax
mov rax, r8
call qword [case.0x14014757d.0]
cmp ax, 0xffff
sete al
movzx ecx, byte [0x1404ee448]
test cl, al
jne 0x1400774f0
xor cl, al
je 0x1400774f3
jmp 0x1400774f0
movzx r14d, byte [r10]
mov eax, dword [r10 + 4]
mov dword [rbp - 5], eax
mov eax, dword [r10 + 1]
mov dword [rbp - 8], eax
mov rsi, qword [r10 + 8]
test r15, r15
jne 0x1400775d8
mov rdx, qword [rbp + 0x10]
lea rdi, [rdx + 1]
mov byte [rdx], r14b
mov eax, dword [rbp - 8]
mov ecx, dword [rbp - 5]
mov dword [rdi + 3], ecx
mov dword [rdi], eax
mov qword [rdx + 8], rsi
cmp qword [rbp + 8], 0
je 0x14007776d
cmp qword [rbp + 0x30], 8
jb 0x1400776fe
mov r15, qword [rbp + 0x18]
jmp 0x140077702
mov r14b, 1
dec rdi
je 0x140077588
test rsi, rsi
je 0x1400775d0
mov rax, qword [rsi + 0x40]
cmp qword [rax], 0
je 0x140077610
mov rax, qword [rsi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140077610
dec ecx
mov dword [rax], ecx
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 2]
mov qword [rax], rdx
movzx eax, word [rbp + 0xb0]
mov word [rcx], ax
jmp 0x140077627
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
movzx edx, word [rbp + 0xb0]
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x1400775d3
jmp 0x1400775d0
mov rdx, qword [rbp + 0x10]
lea r12, [rdx + 1]
mov byte [rdx], r14b
mov eax, dword [rbp]
mov ecx, dword [rbp + 3]
mov dword [r12 + 3], ecx
mov dword [r12], eax
mov qword [rdx + 8], rsi
test r15, r15
jne 0x14007767f
mov r8, qword [rbp + 0x10]
mov byte [r8], r14b
mov eax, dword [rbp]
mov ecx, dword [rbp + 3]
mov dword [r12 + 3], ecx
mov dword [r12], eax
jmp 0x14007777f
mov r14b, 1
add rdi, qword [0x1404ee418]
dec rdi
je 0x140077652
test rsi, rsi
je 0x140077670
mov rax, qword [rsi + 0x40]
cmp qword [rax], 0
je 0x1400776c0
mov rax, qword [rsi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x1400776c0
dec ecx
mov dword [rax], ecx
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 2]
mov qword [rax], rdx
movzx eax, word [rbp + 0xb0]
mov word [rcx], ax
jmp 0x1400776d7
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
movzx edx, word [rbp + 0xb0]
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x140077673
jmp 0x140077670
mov r8, qword [rbp + 0x10]
lea rax, [r8 + 1]
mov byte [r8], dil
mov ecx, dword [rbp - 0x20]
mov edx, dword [rbp - 0x1d]
mov dword [rax + 3], edx
mov dword [rax], ecx
mov qword [r8 + 8], rsi
jmp 0x140077786
lea r15, [rbp + 0x18]
mov r12, qword [rbp + 8]
jmp 0x14007771c
mov r14b, 1
add r15, 2
dec r12
je 0x14007776d
test rsi, rsi
je 0x140077710
movzx eax, word [r15]
mov rcx, qword [rsi + 0x40]
cmp qword [rcx], 0
je 0x140077750
mov rcx, qword [rsi + 0x58]
mov edx, dword [rcx]
test edx, edx
jle 0x140077750
dec edx
mov dword [rcx], edx
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rcx]
lea r8, [rdx + 2]
mov qword [rcx], r8
mov word [rdx], ax
jmp 0x140077765
mov rcx, qword [rsi]
mov r8, qword [rcx + 0x18]
mov rcx, rsi
mov edx, eax
mov rax, r8
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x140077713
jmp 0x140077710
mov r8, qword [rbp + 0x10]
mov byte [r8], r14b
mov eax, dword [rbp - 8]
mov ecx, dword [rbp - 5]
mov dword [rdi + 3], ecx
mov dword [rdi], eax
mov qword [r8 + 8], rsi
xor r15d, r15d
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
movzx edi, byte [r8]
mov edx, dword [r8 + 4]
mov dword [rbp - 0x15], edx
mov edx, dword [r8 + 1]
mov dword [rbp - 0x18], edx
mov rsi, qword [r8 + 8]
mov rdx, qword [rbp + 8]
sub rbx, rdx
je 0x14007781d
cmp rcx, 8
lea rcx, [rbp + 0x18]
cmovae rcx, rax
lea r14, [rcx + rdx*2]
jmp 0x1400777cc
mov dil, 1
add r14, 2
dec rbx
je 0x14007781d
test rsi, rsi
je 0x1400777c0
movzx eax, word [r14]
mov rcx, qword [rsi + 0x40]
cmp qword [rcx], 0
je 0x140077800
mov rcx, qword [rsi + 0x58]
mov edx, dword [rcx]
test edx, edx
jle 0x140077800
dec edx
mov dword [rcx], edx
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rcx]
lea r8, [rdx + 2]
mov qword [rcx], r8
mov word [rdx], ax
jmp 0x140077815
mov rcx, qword [rsi]
mov r8, qword [rcx + 0x18]
mov rcx, rsi
mov edx, eax
mov rax, r8
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x1400777c3
jmp 0x1400777c0
mov r8, qword [rbp + 0x10]
lea rax, [r8 + 1]
mov byte [r8], dil
mov ecx, dword [rbp - 0x18]
mov edx, dword [rbp - 0x15]
mov dword [rax + 3], edx
mov dword [rax], ecx
mov qword [r8 + 8], rsi
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x28], 0
movzx ebx, byte [r8]
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x10], ecx
mov rsi, qword [r8 + 8]
test r15, r15
jne 0x14007792b
mov rdi, qword [rbp - 0x50]
mov byte [rdi], bl
mov eax, dword [rbp - 0x10]
mov ecx, dword [rbp - 0xd]
mov dword [rdi + 1], eax
mov dword [rdi + 4], ecx
mov qword [rdi + 8], rsi
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x1400778b4
mov rcx, qword [rbp - 0x48]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400778af
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14007798f
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140084c10
mov rax, qword [rbp + 0x30]
cmp rax, 8
jb 0x1400778fa
mov rcx, qword [rbp + 0x18]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400778f5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140077994
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140084c10
mov rax, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov bl, 1
dec r15
je 0x14007785f
test rsi, rsi
je 0x140077920
mov rax, qword [rsi + 0x40]
cmp qword [rax], 0
je 0x140077970
mov rax, qword [rsi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140077970
dec ecx
mov dword [rax], ecx
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 2]
mov qword [rax], rdx
movzx eax, word [rbp + 0xb0]
mov word [rcx], ax
jmp 0x140077987
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
movzx edx, word [rbp + 0xb0]
call qword [case.0x14014757d.0]
cmp ax, 0xffff
jne 0x140077922
jmp 0x140077920
call fcn.140356a3c
call fcn.140356a3c
int3