Function at 0x14007d320
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1d8]
sub rsp, 0x2d0
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor eax, eax
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x28], r12
mov r12, qword [rbp + 0x210]
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r14
mov r14, rcx
mov rsi, r8
mov qword [rsp + 0x38], r8
xor r8d, r8d
mov r13d, edx
mov edx, 1
mov ecx, r8d
mov qword [r11 - 0x40], r15
mov r15d, dword [rbp + 0x208]
mov qword [rbp + 0x70], rcx
mov dword [rsp + 0x24], edx
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
test r14, r14
jne 0x14007d3c7
xor r13d, r13d
jmp 0x14007d3f8
cmp r13d, 0xffffffff
jne 0x14007d3f8
xor r13d, r13d
mov rax, r14
cmp byte [r14], cl
je 0x14007d3f3
nop dword [rax + rax]
cmp r13d, 0x80000000
jae 0x14007d3f3
inc rax
inc r13d
cmp byte [rax], cl
jne 0x14007d3e0
btr r13d, 0x1f
mov qword [rsp + 0x2c8], rbx
test r15d, r15d
je 0x14007da90
movsxd rbx, r9d
mov qword [rsp + 0x2b8], rdi
mov eax, reloc.WSOCK32.dll_sendto
mov qword [rsp + 0x30], rbx
nop
mov byte [rsp + 0x23], dl
mov edi, r15d
cmp r15d, 0x14
cmovg edi, eax
mov eax, edx
lea r9, [0x140340af0]
shr eax, 0x18
lea rcx, [rbp + 0x30]
mov r8d, r13d
mov byte [rsp + 0x20], al
mov eax, edx
mov dword [rsp + 0x28], edi
shr eax, 0x10
mov byte [rsp + 0x21], al
mov eax, edx
mov rdx, r14
shr eax, 8
mov byte [rsp + 0x22], al
call fcn.140065080
mov rax, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
mov r8, rbx
mov rdx, rsi
call qword [rax + Ordinal_26]
mov rax, qword [rbp + 0x38]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x38]
mov r8d, 4
call qword [rax + Ordinal_26]
mov rax, qword [rbp + 0x38]
cmp dword [rax + 8], 0x40
jle 0x14007d4bd
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, str..cryptoevpdigest.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x159
call fcn.140024400
call fcn.140264f80
mov rax, qword [rbp + 0x38]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x38]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov r11, qword [rbp + 0x38]
mov rax, qword [r11 + 0x30]
mov ebx, dword [r11 + 8]
test rax, rax
je 0x14007d4ea
lea rcx, [rbp + 0x38]
call rax
or dword [rbp + 0x48], 2
mov r11, qword [rbp + 0x38]
movsxd r8, dword [r11 + 0x60]
mov rcx, qword [rbp + 0x50]
xor edx, edx
call fcn.14025e980
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x38]
call fcn.14002ab50
mov rax, qword [rbp + 0x38]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x38]
mov r8, rbx
call qword [rax + Ordinal_26]
mov r11, qword [rbp + 0x38]
cmp dword [r11 + 8], 0x40
jle 0x14007d54f
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, str..cryptoevpdigest.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x159
call fcn.140024400
call fcn.140264f80
mov r11, qword [rbp + 0x38]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x38]
call qword [r11 + reloc.WLDAP32.dll_Ordinal_32]
mov r11, qword [rbp + 0x38]
mov rax, qword [r11 + 0x30]
test rax, rax
je 0x14007d579
lea rcx, [rbp + 0x38]
call rax
or dword [rbp + 0x48], 2
mov r11, qword [rbp + 0x38]
movsxd r8, dword [r11 + 0x60]
mov rcx, qword [rbp + 0x50]
xor edx, edx
call fcn.14025e980
movsxd rdi, edi
lea rdx, [rbp + 0x120]
mov r8, rdi
mov rcx, r12
call fcn.14025ccd0
mov eax, dword [rbp + 0x200]
cmp eax, 1
jle 0x14007da5e
lea esi, [rax - 1]
nop
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
test r14, r14
je 0x14007d625
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r9, [0x140340af0]
lea rcx, [rsp + 0x40]
mov r8d, r13d
mov rdx, r14
call fcn.140065080
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x48]
mov r8d, reloc.WSOCK32.dll_sendto
call qword [rax + Ordinal_26]
mov rax, qword [rsp + 0x48]
cmp dword [rax + 8], 0x40
jle 0x14007d68b
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, str..cryptoevpdigest.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x159
call fcn.140024400
call fcn.140264f80
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x48]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov r11, qword [rsp + 0x48]
mov rax, qword [r11 + 0x30]
mov ebx, dword [r11 + 8]
test rax, rax
je 0x14007d6bd
lea rcx, [rsp + 0x48]
call rax
or dword [rsp + 0x58], 2
mov r11, qword [rsp + 0x48]
movsxd r8, dword [r11 + 0x60]
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.14025e980
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14002ab50
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x48]
mov r8, rbx
call qword [rax + Ordinal_26]
mov r11, qword [rsp + 0x48]
cmp dword [r11 + 8], 0x40
jle 0x14007d728
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, str..cryptoevpdigest.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x159
call fcn.140024400
call fcn.140264f80
mov r11, qword [rsp + 0x48]
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x48]
call qword [r11 + reloc.WLDAP32.dll_Ordinal_32]
mov r11, qword [rsp + 0x48]
mov rax, qword [r11 + 0x30]
test rax, rax
je 0x14007d757
lea rcx, [rsp + 0x48]
call rax
or dword [rsp + 0x58], 2
mov r11, qword [rsp + 0x48]
movsxd r8, dword [r11 + 0x60]
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.14025e980
mov r11, qword [rsp + 0x68]
test r11, r11
je 0x14007d833
mov rax, qword [r11 + 0x30]
test rax, rax
je 0x14007d791
test byte [rsp + 0x78], 2
jne 0x14007d791
lea rcx, [rsp + 0x68]
call rax
mov r11, qword [rsp + 0x68]
test r11, r11
je 0x14007d833
movsxd rax, dword [r11 + 0x60]
test eax, eax
je 0x14007d833
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14007d833
test byte [rsp + 0x78], 4
jne 0x14007d833
movzx ebx, byte [0x1403f216c]
mov r8, rax
mov rdx, rcx
mov r9, rax
test eax, eax
je 0x14007d7e5
nop
mov byte [rdx], bl
inc rdx
mov rax, rdx
and eax, 0xf
dec r9
lea rbx, [rbx + rax + 0x11]
jne 0x14007d7d0
movzx edx, bl
call fcn.14025f2d8
test rax, rax
je 0x14007d7f7
lea rbx, [rbx + rax + 0x3f]
mov rax, qword [0x1403f20b0]
mov byte [0x1403f216c], bl
mov rbx, qword [rbp - 0x80]
test rax, rax
je 0x14007d814
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007d833
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14007d842
call fcn.14001fc80
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14007d926
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14007d87d
test byte [rbp - 0x68], 2
jne 0x14007d87d
lea rcx, [rbp - 0x78]
call rdx
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14007d926
movsxd rcx, dword [rax + 0x60]
test ecx, ecx
je 0x14007d926
mov r10, qword [rbp - 0x60]
test r10, r10
je 0x14007d926
test byte [rbp - 0x68], 4
jne 0x14007d926
movzx ebx, byte [0x1403f216c]
mov r8, rcx
mov rdx, r10
mov r9, rcx
test ecx, ecx
je 0x14007d8d5
nop dword [rax]
mov byte [rdx], bl
inc rdx
mov rax, rdx
and eax, 0xf
dec r9
lea rbx, [rbx + rax + 0x11]
jne 0x14007d8c0
movzx edx, bl
mov rcx, r10
call fcn.14025f2d8
test rax, rax
je 0x14007d8ea
lea rbx, [rbx + rax + 0x3f]
mov rax, qword [0x1403f20b0]
mov byte [0x1403f216c], bl
mov rbx, qword [rbp - 0x60]
test rax, rax
je 0x14007d907
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007d926
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14007d934
call fcn.14001fc80
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14007da17
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14007d970
test byte [rsp + 0x58], 2
jne 0x14007d970
lea rcx, [rsp + 0x48]
call rdx
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14007da17
movsxd rcx, dword [rax + 0x60]
test ecx, ecx
je 0x14007da17
mov r10, qword [rsp + 0x60]
test r10, r10
je 0x14007da17
test byte [rsp + 0x58], 4
jne 0x14007da17
movzx ebx, byte [0x1403f216c]
mov r8, rcx
mov rdx, r10
mov r9, rcx
test ecx, ecx
je 0x14007d9c5
nop
mov byte [rdx], bl
inc rdx
mov rax, rdx
and eax, 0xf
dec r9
lea rbx, [rbx + rax + 0x11]
jne 0x14007d9b0
movzx edx, bl
mov rcx, r10
call fcn.14025f2d8
test rax, rax
je 0x14007d9da
lea rbx, [rbx + rax + 0x3f]
mov rax, qword [0x1403f20b0]
mov byte [0x1403f216c], bl
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14007d9f8
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007da17
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007da26
call fcn.14001fc80
test rdi, rdi
jle 0x14007da50
lea r8, [rbp + 0x120]
mov rcx, r12
mov rdx, rdi
sub r8, r12
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x14007da40
dec rsi
jne 0x14007d5b0
mov rsi, qword [rsp + 0x38]
mov edx, dword [rsp + 0x24]
mov rbx, qword [rsp + 0x30]
add r12, rdi
inc edx
sub r15d, dword [rsp + 0x28]
mov eax, reloc.WSOCK32.dll_sendto
mov dword [rsp + 0x24], edx
jne 0x14007d420
mov rcx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x58]
mov rdi, qword [rsp + 0x2b8]
mov r15, qword [rsp + 0x298]
mov r14, qword [rsp + 0x2a0]
mov r13, qword [rsp + 0x2a8]
mov r12, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2c0]
test r8, r8
je 0x14007db30
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14007dada
test byte [rbp + 0x68], 2
jne 0x14007dada
lea rcx, [rbp + 0x58]
call rax
mov rcx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x14007db30
movsxd rax, dword [r8 + 0x60]
test eax, eax
je 0x14007db30
test rcx, rcx
je 0x14007db30
test byte [rbp + 0x68], 4
jne 0x14007db30
mov rdx, rax
call fcn.140020010
mov rax, qword [0x1403f20b0]
mov rbx, qword [rbp + 0x70]
test rax, rax
je 0x14007db11
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007db30
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14007db3e
call fcn.14001fc80
xor eax, eax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14007dbd5
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14007db71
test byte [rbp + 0x88], 2
jne 0x14007db71
lea rcx, [rbp + 0x78]
call rdx
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14007dbd5
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x14007dbd5
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14007dbd5
test byte [rbp + 0x88], 4
jne 0x14007dbd5
call fcn.140020010
mov rax, qword [0x1403f20b0]
mov rbx, qword [rbp + 0x90]
test rax, rax
je 0x14007dbb6
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007dbd5
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14007dbe6
call fcn.14001fc80
xor eax, eax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14007dc7a
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14007dc1f
test byte [rbp + 0x48], 2
jne 0x14007dc1f
lea rcx, [rbp + 0x38]
call rdx
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14007dc7a
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x14007dc7a
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14007dc7a
test byte [rbp + 0x48], 4
jne 0x14007dc7a
call fcn.140020010
mov rax, qword [0x1403f20b0]
mov rbx, qword [rbp + 0x50]
test rax, rax
je 0x14007dc5b
xor edx, edx
mov rcx, rbx
call rax
mov rcx, rbx
call qword [fcn.14025db40]
mov r11, qword [0x1403f20b0]
test r11, r11
je 0x14007dc7a
mov edx, 1
xor ecx, ecx
call r11
mov rcx, qword [rbp + 0x40]
mov rbx, qword [rsp + 0x2c8]
test rcx, rcx
je 0x14007dc90
call fcn.14001fc80
mov eax, 1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14025db20
add rsp, 0x2d0
pop rbp
ret