Function at 0x1400deb50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov r14, rcx
mov rax, qword [rdx]
lea rdx, [rbp - 0x21]
mov rcx, r12
call qword [rax + 0xb0]
mov rsi, qword [rax + 8]
xor ebx, ebx
mov edi, ebx
mov rcx, r14
call fcn.1400cd080
cmp eax, 0xb
jne 0x1400decea
mov rcx, r14
call fcn.14011ff70
test al, al
je 0x1400decea
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x2d8]
mov r15, rax
mov rcx, rax
call fcn.140123680
test al, al
je 0x1400decea
mov r8, r14
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.1400c9f70
nop
mov r8, r14
mov rdx, r12
lea rcx, [rbp - 0x59]
call fcn.1400c9f70
nop
mov rcx, r14
call fcn.140120080
mov r12, qword [rax + 0x28]
mov rcx, r14
call fcn.140120080
mov rsi, qword [rax + 0x28]
mov rax, qword [r15]
lea rdx, [rbp - 0x11]
mov rcx, r15
call qword [rax + 0x28]
mov rax, qword [r15]
lea rdx, [rbp - 0x59]
mov rcx, r15
call qword [rax + 0x30]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x11]
call qword [rax + 0x20]
test al, al
jne 0x1400decb4
lea rdx, [rbp - 1]
mov rcx, r12
call fcn.1400e0280
lea rbx, [rax + 2]
lea rdx, [rbp + 0xf]
lea rcx, [rsi + 0x98]
call fcn.1400e0520
add rbx, rax
mov ecx, ebx
or ecx, 1
bsr edx, ecx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rbx
add rdi, rdx
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp - 0x11]
call qword [rax + 0x88]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x11]
call qword [rax + 0x20]
test al, al
je 0x1400dec52
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + 0x78]
lea rcx, [rbp - 0x49]
call fcn.1400ca2b0
nop
mov rcx, qword [rbp - 9]
mov r8, qword [rcx]
lea rdx, [rbp - 0x11]
call qword [r8 + 0x78]
lea rcx, [rbp - 1]
call fcn.1400ca2b0
nop
jmp case.default.0x1400ded61
cmp dword [r14 + 0x3c], 3
jne 0x1400ded05
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x28]
mov r15d, eax
jmp 0x1400ded3b
mov rax, qword [r14 + 0x50]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x4b], bl
je 0x1400ded1a
mov r15d, 1
jmp 0x1400ded3b
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, rbx
mov r15d, 1
test al, al
cmovne rcx, r15
mov r15, rcx
mov rcx, r14
call fcn.1400cd080
dec eax
cmp eax, 0x11
ja case.default.0x1400ded61
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xdf2c4]
add rcx, rdx
jmp rcx
cmp dword [r14 + 0x3c], 3
jne 0x1400dedc2
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x148]
test eax, eax
jns 0x1400deda0
mov eax, 0xa
jmp 0x1400dedb0
or eax, 1
bsr eax, eax
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rdi, rax
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400ded80
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x80]
test eax, eax
jns 0x1400dede2
mov edi, 0xa
jmp case.default.0x1400ded61
or eax, 1
bsr eax, eax
jmp 0x1400deed1
cmp dword [r14 + 0x3c], 3
jne 0x1400dee39
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x150]
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400dee00
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x88]
or rax, 1
bsr rcx, rax
lea edi, [rcx*8 + 0x49]
add edi, ecx
jmp 0x1400deeda
cmp dword [r14 + 0x3c], 3
jne 0x1400deeb0
test r15, r15
je case.default.0x1400ded61
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x148]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400dee70
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x80]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea edi, [rax*8 + 0x49]
add edi, eax
shr rdi, 6
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1402f2210
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [r14 + 0x3c], 3
jne 0x1400def69
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x150]
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400def20
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x88]
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
jmp 0x1400deed1
cmp dword [r14 + 0x3c], 3
jne 0x1400defe7
test r15, r15
je case.default.0x1400ded61
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x158]
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400defb0
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x90]
or eax, 1
bsr ecx, eax
lea edi, [rcx*8 + 0x49]
add edi, ecx
jmp 0x1400deeda
cmp dword [r14 + 0x3c], 3
jne 0x1400df059
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + pe_nt_image_headers64]
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400df020
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x98]
jmp 0x1400dee4b
lea rdi, [r15*4]
jmp case.default.0x1400ded61
lea rdi, [r15*8]
jmp case.default.0x1400ded61
mov rdi, r15
jmp case.default.0x1400ded61
cmp dword [r14 + 0x3c], 3
jne 0x1400df0e0
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x198]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x58]
add rdi, rax
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400df0b0
jmp case.default.0x1400ded61
mov rax, qword [rsi]
xor r9d, r9d
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0xd0]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x58]
mov rdi, rax
jmp case.default.0x1400ded61
cmp dword [r14 + 0x3c], 3
jne 0x1400df14f
test r15, r15
je case.default.0x1400ded61
nop word [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x198]
mov rcx, rax
call fcn.1400d9b40
add rdi, rax
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400df120
jmp case.default.0x1400ded61
mov rax, qword [rsi]
xor r9d, r9d
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0xd0]
mov rcx, rax
call fcn.1400d9b40
mov rdi, rax
jmp case.default.0x1400ded61
cmp dword [r14 + 0x3c], 3
jne 0x1400df1d5
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi]
mov r9d, ebx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x188]
mov ecx, dword [rax + 0x10]
test ecx, ecx
jns 0x1400df1b3
mov eax, 0xa
jmp 0x1400df1c3
or ecx, 1
bsr eax, ecx
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rdi, rax
inc ebx
movsxd rax, ebx
cmp rax, r15
jb 0x1400df190
jmp case.default.0x1400ded61
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [rax + 0xc0]
mov ecx, dword [rax + 0x10]
test ecx, ecx
js 0x1400dedd8
jmp 0x1400deecb
mov r13d, ebx
test r15, r15
je case.default.0x1400ded61
nop dword [rax]
nop word [rax + rax]
mov qword [rbp - 1], rbx
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], 0
mov rax, qword [rsi]
mov r8, r14
mov rdx, r12
cmp dword [r14 + 0x3c], 3
jne 0x1400df247
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x20], rcx
mov r9d, r13d
mov rcx, rsi
call qword [rax + 0x1a0]
jmp 0x1400df254
lea r9, [rbp - 0x11]
mov rcx, rsi
call qword [rax + 0xd8]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rdi, rcx
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400df2a7
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df2a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df2bb
call fcn.1402f1e30
inc r13d
movsxd rax, r13d
cmp rax, r15
jae case.default.0x1400ded61
jmp 0x1400df210
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3