Function at 0x1400d4410
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r12
push r13
push r14
push r15
mov eax, Ordinal_211
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdx, qword [rcx + 0x80]
mov rbx, rcx
mov r13, qword [rcx + 0x130]
xor r12d, r12d
mov ecx, dword [rcx + 0x19c]
and ecx, 0x20
mov eax, ecx
lea r14, [rdx + 0x120]
neg eax
sbb r15, r15
and r15d, 0x4000
test ecx, ecx
je 0x1400d44a1
cmp dword [rdx + 0xe8], r12d
jne 0x1400d44a1
mov edx, reloc.WLDAP32.dll_Ordinal_143
mov dword [rsp + 0x20], 0x14b
lea r9, [0x14032ef78]
lea r8d, [r12 + 0x44]
lea ecx, [rdx - 0x7b]
call fcn.1400a36f0
or eax, 0xffffffff
jmp 0x1400d4974
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x110], rsi
mov ebp, 0xffffff00
nop
cmp dword [rbx + 0x4c], 0xf1
jne 0x1400d44d3
cmp dword [rbx + 0x70], 5
jae 0x1400d45a1
mov rax, qword [rbx + 0x80]
xor r9d, r9d
mov rcx, rbx
mov r8d, dword [rax + 0xf8]
lea edx, [r9 + 5]
call fcn.1400d4180
test eax, eax
jle 0x1400d495c
mov r10, qword [rbx + 0x98]
mov rdi, qword [rbx + 0x68]
mov dword [rbx + 0x4c], 0xf1
test r10, r10
je 0x1400d4539
mov rax, qword [rbx + 0xa0]
mov r9, rdi
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rbx
xor ecx, ecx
mov r8d, 0x100
mov qword [rsp + 0x20], 5
call r10
movzx eax, byte [rdi]
mov dword [r14], eax
movzx eax, byte [rdi + 2]
movzx esi, byte [rdi + 1]
movzx edx, byte [rdi + 3]
shl si, 8
or si, ax
shl edx, 8
movzx eax, byte [rdi + 4]
or edx, eax
mov dword [r14 + 4], edx
cmp dword [rbx + 0x1a8], 0
jne 0x1400d4573
movsx eax, si
cmp eax, dword [rbx]
jne 0x1400d47db
and si, bp
mov eax, 0x300
cmp si, ax
jne 0x1400d4939
mov rax, qword [rbx + 0x80]
mov rcx, qword [rax + 0xf8]
sub rcx, 5
mov eax, edx
cmp rax, rcx
ja 0x1400d48fe
mov eax, dword [rbx + 0x70]
mov ecx, dword [r14 + 4]
sub eax, 5
cmp ecx, eax
jbe 0x1400d45d4
test ecx, ecx
jle 0x1400d4833
mov r8d, ecx
mov edx, ecx
mov rcx, rbx
mov r9d, 1
call fcn.1400d4180
mov ecx, eax
test eax, eax
jle 0x1400d4833
mov rdx, qword [rbx + 0x68]
lea rcx, [r15 + 0x4540]
mov dword [rbx + 0x4c], 0xf0
add rdx, 5
mov eax, dword [r14 + 4]
mov qword [r14 + 0x18], rdx
cmp rax, rcx
ja 0x1400d48e7
mov qword [r14 + 0x10], rdx
mov rcx, rbx
mov rax, qword [rbx + 8]
xor edx, edx
mov r8, qword [rax + 0xc8]
call qword [r8]
mov ebp, eax
test eax, eax
je 0x1400d48cd
test r13, r13
je 0x1400d474b
mov r8, qword [rbx + 0xd0]
test r8, r8
je 0x1400d474b
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x1400d4645
xor eax, eax
jmp 0x1400d4648
mov rax, qword [rcx]
test rax, rax
je 0x1400d474b
test rcx, rcx
je 0x1400d4995
mov rax, qword [rcx]
test rax, rax
je 0x1400d4995
mov esi, dword [rax + 8]
cmp esi, 0x40
ja 0x1400d49b7
mov r9d, dword [r14]
mov edx, dword [r14 + 4]
shr r9d, 8
add r9d, edx
cmp r9d, esi
jb 0x1400d483a
mov rax, qword [r8]
mov ecx, dword [rax + 0x10]
and ecx, 0xf0007
cmp ecx, 2
jne 0x1400d46cb
lea eax, [rsi + 1]
cmp r9d, eax
jb 0x1400d483a
cmp ecx, ecx
jne 0x1400d46cb
mov r8d, esi
lea rcx, [rsp + 0x80]
mov rdx, r14
lea rdi, [rsp + 0x80]
call fcn.14011f730
sub dword [r14 + 4], esi
jmp 0x1400d46d7
sub edx, esi
mov edi, edx
mov dword [r14 + 4], edi
add rdi, qword [r14 + 0x10]
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov r9, qword [rax + 0xc8]
call qword [r9 + reloc.WS2_32.dll_htonl]
test eax, eax
js 0x1400d4731
test rdi, rdi
je 0x1400d4731
xor r8b, r8b
xor edx, edx
test esi, esi
je 0x1400d4734
lea rax, [rsp + 0x40]
sub rdi, rax
nop dword [rax + rax]
lea rax, [rsp + 0x40]
add rax, rdx
inc rdx
movzx ecx, byte [rax + rdi]
movzx eax, byte [rax]
xor cl, al
or r8b, cl
cmp rdx, rsi
jb 0x1400d4710
test r8b, r8b
je 0x1400d4734
or ebp, 0xffffffff
mov eax, dword [r14 + 4]
lea rcx, [rsi + 0x4400]
add rcx, r15
cmp rax, rcx
ja 0x1400d48af
test ebp, ebp
js 0x1400d48af
cmp qword [rbx + 0xe0], 0
je 0x1400d4781
mov eax, dword [r14 + 4]
lea rcx, [r15 + 0x4400]
cmp rax, rcx
ja 0x1400d4874
mov rcx, rbx
call fcn.1400d49f0
test eax, eax
je 0x1400d4857
mov eax, dword [r14 + 4]
lea rcx, [r15 + 0x4000]
cmp rax, rcx
ja 0x1400d4898
mov dword [r14 + 8], 0
mov dword [rbx + 0x70], 0
cmp dword [r14 + 4], 0
jne 0x1400d488e
inc r12d
cmp r12d, 0x20
jbe 0x1400d44b9
mov edi, 0xa
mov dword [rsp + 0x20], 0x23e
lea r9, [0x14032f038]
mov r8d, Ordinal_301
jmp 0x1400d4918
mov edx, reloc.WLDAP32.dll_Ordinal_143
mov dword [rsp + 0x20], 0x16a
lea r9, [0x14032ef68]
lea ecx, [rdx - 0x7b]
lea r8d, [rdx + 0x7c]
call fcn.1400a36f0
movzx ecx, si
mov eax, ecx
xor eax, dword [rbx]
test eax, 0xff00
jne 0x1400d4829
cmp qword [rbx + 0xe8], 0
jne 0x1400d4829
cmp qword [rbx + 0xf0], 0
jne 0x1400d4829
cmp dword [r14], 0x15
je 0x1400d4959
mov dword [rbx], ecx
mov edi, 0x46
jmp 0x1400d4927
mov eax, ecx
jmp 0x1400d495c
mov edi, reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x20], 0x1ea
lea r9, [0x14032f008]
lea r8d, [rdi + 0x6e]
jmp 0x1400d4918
mov edi, reloc.WLDAP32.dll_Ordinal_30
mov dword [rsp + 0x20], 0x221
lea r9, [0x14032f018]
lea r8d, [rdi + 0x4d]
jmp 0x1400d4918
mov dword [rsp + 0x20], 0x21c
lea r9, [0x14032f028]
mov r8d, Ordinal_143
jmp 0x1400d4913
mov eax, 1
jmp 0x1400d495c
mov dword [rsp + 0x20], 0x228
lea r9, [0x14032f048]
mov r8d, __WSAFDIsSet
jmp 0x1400d4913
mov edi, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], 0x214
mov ecx, edi
lea r9, [0x14032eff8]
mov r8d, 0x119
jmp 0x1400d491d
mov edi, reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x20], 0x1c4
lea r9, [0x14032efa8]
lea r8d, [rdi + 0x6c]
jmp 0x1400d4918
mov dword [rsp + 0x20], 0x1b4
lea r9, [0x14032efb8]
mov r8d, __WSAFDIsSet
jmp 0x1400d4913
mov dword [rsp + 0x20], 0x188
lea r9, [0x14032ef88]
mov r8d, Ordinal_200
mov edi, reloc.WS2_32.dll_shutdown
mov ecx, reloc.WS2_32.dll_sendto
mov edx, reloc.WLDAP32.dll_Ordinal_143
call fcn.1400a36f0
mov r8d, edi
mov edx, 2
mov rcx, rbx
call fcn.1400d63b0
jmp 0x1400d4959
mov edx, reloc.WLDAP32.dll_Ordinal_143
mov dword [rsp + 0x20], 0x182
lea r9, [0x14032ef98]
lea ecx, [rdx - 0x7b]
lea r8d, [rdx + 0x7c]
call fcn.1400a36f0
or eax, 0xffffffff
mov rsi, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
mov edx, 0xa2
mov dword [rsp + 0x20], 0x139
lea r9, str..cryptoevpevp_lib.c
mov ecx, 6
lea r8d, [rdx - 3]
call fcn.1400a36f0
lea r9, [0x14032efd8]
mov r8d, 0x1d8
lea rdx, [0x14032efc8]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3