Function at 0x14009cbf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp byte [r9 + 8], 4
mov r13, r9
mov r12d, dword [rsp + 0x70]
mov rdi, r8
mov rsi, rdx
mov r14, rcx
jne 0x14009cf79
test rcx, rcx
je 0x14009cc71
mov rax, qword [rcx]
test rax, rax
jne 0x14009cc61
mov rax, qword [0x1400c0348]
mov ecx, 0x198
test rax, rax
je 0x14009cc4f
call rax
jmp 0x14009cc55
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14], rax
test rax, rax
je 0x14009d57a
xor edx, edx
mov r8d, 0x198
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x14009ccb5
mov rax, qword [rsi]
test rax, rax
jne 0x14009cca5
mov rax, qword [0x1400c0348]
mov ecx, 0x198
test rax, rax
je 0x14009cc93
call rax
jmp 0x14009cc99
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi], rax
test rax, rax
je 0x14009d57a
xor edx, edx
mov r8d, 0x198
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test r14, r14
je 0x14009ccd4
mov rax, qword [r14]
test rax, rax
je 0x14009d72d
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x190], rcx
jmp 0x14009ccd9
mov rcx, qword [rsp + 0x78]
test rsi, rsi
je 0x14009ccf1
mov rax, qword [rsi]
test rax, rax
je 0x14009d72d
mov qword [rax + 0x190], rcx
cmp r12d, 1
jne 0x14009ce89
test r14, r14
je 0x14009cdbe
mov rbp, qword [r14]
lea r12, [rdi + 0xc0]
lea r15, [rdi + 0x80]
test rbp, rbp
je 0x14009ce7d
test r15, r15
je 0x14009ce7d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov r8, rbp
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
mov rcx, r15
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x80]
mov edx, 1
lea rcx, [r15 + 8]
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x100]
xor edx, edx
lea rcx, [r15 + 0x10]
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
test r12, r12
je 0x14009ce76
mov rax, qword [r12]
mov qword [rbp + 0x180], rax
test rsi, rsi
je 0x14009cf61
lea r12, [rdi + 0xd0]
lea r15, [rdi + 0xa0]
mov rbp, qword [rsi]
test rbp, rbp
je 0x14009ce7d
test r15, r15
je 0x14009ce7d
xorps xmm0, xmm0
lea rcx, [r15 + 0x10]
movups xmmword [rbp], xmm0
xor eax, eax
mov r8, rbp
movups xmmword [rbp + 0x10], xmm0
mov edx, 1
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x80]
xor edx, edx
lea rcx, [r15 + 8]
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x100]
mov edx, 1
mov rcx, r15
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
test r12, r12
je 0x14009cf58
mov rax, qword [r12]
jmp 0x14009cf5a
xor eax, eax
jmp 0x14009cdb7
mov ebx, 0xffffff53
mov eax, ebx
jmp 0x14009d857
test r14, r14
je 0x14009cf40
mov rbp, qword [r14]
lea r12, [rdi + 0xd0]
lea r15, [rdi + 0xa0]
test rbp, rbp
je 0x14009ce7d
test r15, r15
je 0x14009ce7d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov r8, rbp
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
mov rcx, r15
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x80]
mov edx, 1
lea rcx, [r15 + 8]
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
lea r8, [rbp + 0x100]
xor edx, edx
lea rcx, [r15 + 0x10]
call fcn.140086b50
mov ebx, eax
test eax, eax
jne 0x14009ce82
test r12, r12
je 0x14009cf37
mov rax, qword [r12]
jmp 0x14009cf39
xor eax, eax
mov qword [rbp + 0x180], rax
test rsi, rsi
je 0x14009cf61
lea r12, [rdi + 0xc0]
lea r15, [rdi + 0x80]
jmp 0x14009cdd5
xor eax, eax
mov qword [rbp + 0x180], rax
test r14, r14
je 0x14009cf6b
mov byte [r14 + 0x21], 1
mov r12d, dword [rsp + 0x70]
test rsi, rsi
je 0x14009cf79
mov byte [rsi + 0x21], 1
cmp byte [r13 + 8], 6
mov ebx, 0xffffff53
jne 0x14009d4f5
lea r15, [r14 + 8]
test r14, r14
je 0x14009cfd1
mov rax, qword [r15]
test rax, rax
jne 0x14009cfc1
mov rax, qword [0x1400c0348]
mov ecx, 0x1b0
test rax, rax
je 0x14009cfaf
call rax
jmp 0x14009cfb5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15], rax
test rax, rax
je 0x14009d57a
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rbp, [rsi + 8]
test rsi, rsi
je 0x14009d023
mov rax, qword [rbp]
test rax, rax
jne 0x14009d013
mov rax, qword [0x1400c0348]
mov ecx, 0x1b0
test rax, rax
je 0x14009cff8
call rax
jmp 0x14009cffe
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp], rax
test rax, rax
je 0x14009d57a
lea r15, [r14 + 8]
lea rbp, [rsi + 8]
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbp
test r14, r14
je 0x14009d072
mov rax, qword [r15]
test rax, rax
je 0x14009d72d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsi + 8]
xor r8d, r8d
mov qword [rax + 0x148], rdx
xorps xmm0, xmm0
mov qword [rax + 0xf0], r8
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], r8d
mov dword [rax + 0x120], r8d
jmp 0x14009d07a
mov rdx, qword [rsp + 0x78]
xor r8d, r8d
test rsi, rsi
je 0x14009d0c1
mov rax, qword [rbp]
test rax, rax
je 0x14009d72d
xorps xmm0, xmm0
mov qword [rax + 0x148], rdx
mov qword [rax + 0xf0], 0
lea r15, [r14 + 8]
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], r8d
mov dword [rax + 0x120], r8d
cmp r12d, 1
jne 0x14009d2d7
test r14, r14
je 0x14009d1ce
mov rbp, qword [r15]
lea r12, [rdi + 0xc0]
movzx r13d, word [r13]
test rbp, rbp
je 0x14009ce82
cmp r13d, 0xf0
ja 0x14009ce82
lea eax, [r13 - 0x10]
test eax, 0xffffffe7
jne 0x14009d1bb
cmp r13d, 0x28
je 0x14009d1bb
mov r15d, r13d
mov dword [rbp + 0xf4], r13d
shr r15d, 2
lea eax, [r15 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x14009d136
movups xmm0, xmmword [r12]
jmp 0x14009d139
xorps xmm0, xmm0
mov r8, r13
lea rdx, [rdi + 0x80]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r15d, r15d
je 0x14009d183
mov r9, rbp
mov r8d, r15d
nop dword [rax]
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x14009d160
xor r9d, r9d
lea rdx, [rdi + 0x80]
mov r8d, r13d
mov rcx, rbp
call fcn.140084100
test r12, r12
je 0x14009d1ad
movups xmm0, xmmword [r12]
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d1bd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d1bd
mov eax, ebx
test eax, eax
jne 0x14009d857
mov r13, qword [rsp + 0x68]
lea rcx, [rsi + 8]
test rsi, rsi
je 0x14009d4e2
mov rbp, qword [rcx]
lea r12, [rdi + 0xd0]
movzx r15d, word [r13]
lea rdx, [rdi + 0xa0]
test rbp, rbp
je 0x14009ce82
cmp r15d, 0xf0
ja 0x14009ce82
lea eax, [r15 - 0x10]
test eax, 0xffffffe7
jne 0x14009d2c8
cmp r15d, 0x28
je 0x14009d2c8
mov r13d, r15d
mov dword [rbp + 0xf4], r15d
shr r13d, 2
lea eax, [r13 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x14009d240
movups xmm0, xmmword [r12]
jmp 0x14009d243
xorps xmm0, xmm0
mov r8, r15
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r13d, r13d
je 0x14009d283
mov r10, rbp
mov r8d, r13d
mov ecx, dword [r10]
lea r10, [r10 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r10 - 4], ecx
sub r8, 1
jne 0x14009d260
mov r9d, 1
lea rdx, [rdi + 0xa0]
mov r8d, r15d
mov rcx, rbp
call fcn.140084100
test r12, r12
je 0x14009d2b5
movups xmm0, xmmword [r12]
mov r13, qword [rsp + 0x68]
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d2ca
mov r13, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xor eax, eax
jmp 0x14009d2ca
mov eax, ebx
test eax, eax
je 0x14009d4e2
jmp 0x14009d857
test r14, r14
je 0x14009d3de
mov rbp, qword [r15]
lea r12, [rdi + 0xd0]
movzx r13d, word [r13]
test rbp, rbp
je 0x14009ce82
cmp r13d, 0xf0
ja 0x14009ce82
lea eax, [r13 - 0x10]
test eax, 0xffffffe7
jne 0x14009d3cb
cmp r13d, 0x28
je 0x14009d3cb
mov r15d, r13d
mov dword [rbp + 0xf4], r13d
shr r15d, 2
lea eax, [r15 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x14009d342
movups xmm0, xmmword [r12]
jmp 0x14009d345
xorps xmm0, xmm0
mov r8, r13
lea rdx, [rdi + 0xa0]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r15d, r15d
je 0x14009d393
mov r9, rbp
mov r8d, r15d
nop dword [rax]
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x14009d370
xor r9d, r9d
lea rdx, [rdi + 0xa0]
mov r8d, r13d
mov rcx, rbp
call fcn.140084100
test r12, r12
je 0x14009d3bd
movups xmm0, xmmword [r12]
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d3cd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d3cd
mov eax, ebx
test eax, eax
jne 0x14009d857
mov r13, qword [rsp + 0x68]
lea rcx, [rsi + 8]
test rsi, rsi
je 0x14009d4e2
mov rbp, qword [rcx]
lea r12, [rdi + 0xc0]
movzx r15d, word [r13]
lea rdx, [rdi + 0x80]
test rbp, rbp
je 0x14009ce82
cmp r15d, 0xf0
ja 0x14009ce82
lea eax, [r15 - 0x10]
test eax, 0xffffffe7
jne 0x14009d4d8
cmp r15d, 0x28
je 0x14009d4d8
mov r13d, r15d
mov dword [rbp + 0xf4], r15d
shr r13d, 2
lea eax, [r13 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x14009d450
movups xmm0, xmmword [r12]
jmp 0x14009d453
xorps xmm0, xmm0
mov r8, r15
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r13d, r13d
je 0x14009d493
mov r9, rbp
mov r8d, r13d
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x14009d470
mov r9d, 1
lea rdx, [rdi + 0x80]
mov r8d, r15d
mov rcx, rbp
call fcn.140084100
test r12, r12
je 0x14009d4c5
movups xmm0, xmmword [r12]
mov r13, qword [rsp + 0x68]
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
jmp 0x14009d4da
mov r13, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xor eax, eax
jmp 0x14009d4da
mov eax, ebx
test eax, eax
jne 0x14009d857
test r14, r14
je 0x14009d4ec
mov byte [r14 + 0x21], 1
test rsi, rsi
je 0x14009d4f5
mov byte [rsi + 0x21], 1
cmp byte [r13 + 8], 7
jne 0x14009d837
lea r15, [r14 + 8]
test r14, r14
je 0x14009d548
mov rax, qword [r15]
test rax, rax
jne 0x14009d538
mov rax, qword [0x1400c0348]
mov ecx, 0x1b0
test rax, rax
je 0x14009d526
call rax
jmp 0x14009d52c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15], rax
test rax, rax
je 0x14009d57a
lea r15, [r14 + 8]
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x14009d598
mov rax, qword [rsi + 8]
test rax, rax
jne 0x14009d584
mov rax, qword [0x1400c0348]
mov ecx, 0x1b0
test rax, rax
je 0x14009d56b
call rax
jmp 0x14009d571
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 8], rax
test rax, rax
jne 0x14009d584
mov eax, 0xffffff83
jmp 0x14009d857
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r15, [r14 + 8]
test r14, r14
je 0x14009d5e5
mov rax, qword [r14 + 8]
lea r15, [r14 + 8]
test rax, rax
je 0x14009d72d
mov rcx, qword [rsp + 0x78]
xor r12d, r12d
xorps xmm0, xmm0
mov qword [rax + 0x148], rcx
mov qword [rax + 0xf0], r12
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], r12d
mov dword [rax + 0x120], r12d
jmp 0x14009d5ed
mov rcx, qword [rsp + 0x78]
xor r12d, r12d
mov rbp, r15
test rsi, rsi
je 0x14009d637
mov rax, qword [rsi + 8]
test rax, rax
je 0x14009d72d
xorps xmm0, xmm0
mov qword [rax + 0x148], rcx
mov qword [rax + 0xf0], 0
lea rbp, [r14 + 8]
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], r12d
mov dword [rax + 0x120], r12d
cmp dword [rsp + 0x70], 1
jne 0x14009d737
test r14, r14
je 0x14009d6f4
movzx r8d, word [r13]
lea rdx, [rdi + 0x80]
mov rcx, qword [r15]
call fcn.1400851e0
test eax, eax
jne 0x14009d857
cmp dword [rsp + 0x90], 0
lea rdx, [rdi + 0xc0]
movsd xmm0, qword [rdx]
mov eax, dword [rdx + 8]
movsd qword [rdi + 0xe8], xmm0
mov dword [rdi + 0xf0], eax
jne 0x14009d6f4
mov rbp, qword [rbp]
test rbp, rbp
je 0x14009ce82
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14009ce82
test rdx, rdx
je 0x14009ce82
mov eax, dword [rdx]
mov r8d, 8
lea rdx, [rbp + 0xfc]
mov dword [rbp + 0xf8], eax
call fcn.140088e70
mov ebx, eax
test eax, eax
jne 0x14009ce82
or byte [rbp + 0x1ab], 4
mov qword [rbp + 0x118], 0
mov dword [rbp + 0x120], recvfrom
test rsi, rsi
je 0x14009d824
movzx r8d, word [r13]
lea rdx, [rdi + 0xa0]
mov rcx, qword [rsi + 8]
call fcn.1400851e0
test eax, eax
jne 0x14009d857
movsd xmm0, qword [rdi + 0xd0]
mov eax, dword [rdi + 0xd8]
jmp 0x14009d816
mov eax, 0xffffff4a
jmp 0x14009d857
test r14, r14
je 0x14009d7ea
movzx r8d, word [r13]
lea rdx, [rdi + 0xa0]
mov rcx, qword [rbp]
call fcn.1400851e0
test eax, eax
jne 0x14009d857
cmp dword [rsp + 0x90], 0
lea rdx, [rdi + 0xd0]
movsd xmm0, qword [rdx]
mov eax, dword [rdx + 8]
movsd qword [rdi + 0xe8], xmm0
mov dword [rdi + 0xf0], eax
jne 0x14009d7ea
mov rbp, qword [rbp]
test rbp, rbp
je 0x14009ce82
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14009ce82
test rdx, rdx
je 0x14009ce82
mov eax, dword [rdx]
mov r8d, 8
lea rdx, [rbp + 0xfc]
mov dword [rbp + 0xf8], eax
call fcn.140088e70
mov ebx, eax
test eax, eax
jne 0x14009ce82
or byte [rbp + 0x1ab], 4
mov qword [rbp + 0x118], 0
mov dword [rbp + 0x120], recvfrom
test rsi, rsi
je 0x14009d824
movzx r8d, word [r13]
lea rdx, [rdi + 0x80]
mov rcx, qword [rsi + 8]
call fcn.1400851e0
test eax, eax
jne 0x14009d857
movsd xmm0, qword [rdi + 0xc0]
mov eax, dword [rdi + 0xc8]
movsd qword [rdi + 0xf4], xmm0
mov dword [rdi + 0xfc], eax
test r14, r14
je 0x14009d82e
mov byte [r14 + 0x21], 1
test rsi, rsi
je 0x14009d837
mov byte [rsi + 0x21], 1
test r14, r14
je 0x14009d845
xor eax, eax
mov qword [rdi + 0x148], rax
test rsi, rsi
je 0x14009d855
mov qword [rdi + 0x140], 0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret