Function at 0x1400a6520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401741c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x20], rdx
xor r15d, r15d
mov dword [rsp + 0x40], 0xcbddc4c3
mov dword [rsp + 0x44], 0xd8d1dad4
mov word [rsp + 0x48], 0x100
mov ecx, r15d
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 8
jb 0x1400a6580
mov byte [rsp + 0x49], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a65c0
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a65d5
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a65d9
mov rax, qword [rbp + 0x20]
lea rcx, [rsi + 0x140]
mov rdx, rax
call fcn.140098050
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a6629
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a6624
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa4c4
mov dword [rsp + 0x38], 0x100c7df
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 2
jb 0x1400a6640
mov byte [rsp + 0x3b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3a]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6680
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6695
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a6699
mov rax, qword [rbp + 0x20]
lea rcx, [rsi + 0x160]
mov rdx, rax
call fcn.140098050
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a66e9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a66e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a66e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa4c4
mov dword [rsp + 0x38], 0xddd1c0de
mov word [rsp + 0x3c], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a6700
mov byte [rsp + 0x3d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6740
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6755
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a6759
mov rax, qword [rbp + 0x20]
movzx ebx, byte [rax]
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x1400a6776
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14003dbe0
mov word [rsp + 0x3c], 0x100
mov rcx, r15
test bl, bl
jne 0x1400a67d1
mov dword [rsp + 0x38], 0xdcd6d8d8
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a6790
mov byte [rsp + 0x3d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d90
lea rcx, [rsi + 0x180]
lea rdx, [rsp + 0x50]
call fcn.14009f330
jmp 0x1400a6849
mov dword [rsp + 0x38], 0xddd1c0de
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a67e0
mov byte [rsp + 0x3d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6820
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6835
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a6839
mov rax, qword [rbp + 0x20]
lea rcx, [rsi + 0x180]
mov rdx, rax
call fcn.140098050
nop
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x1400a6863
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14003dbe0
mov dword [rsp + 0x40], 0xd8ddc5d5
mov dword [rsp + 0x44], 0xdcd8dece
mov dword [rsp + 0x48], 0x100daca
mov rcx, r15
nop
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400a6880
mov byte [rsp + 0x4b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4a]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a68c0
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a68d5
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a68d9
mov rax, qword [rbp + 0x20]
lea rcx, [rsi + 0x1a0]
mov rdx, rax
call fcn.140098050
nop
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x1400a6903
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14003dbe0
mov dword [rsp + 0x40], 0xcdcbd6da
mov dword [rsp + 0x44], 0xd4dbd4d6
mov word [rsp + 0x48], Ordinal_211
mov byte [rsp + 0x4a], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x1400a6930
mov byte [rsp + 0x4a], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x49]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6970
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6985
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
jmp 0x1400a6989
mov rax, qword [rbp + 0x20]
lea rcx, [rsi + 0x1c0]
mov rdx, rax
call fcn.140098050
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a69d9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a69d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a69d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa4c4
mov r12d, r15d
mov r13, qword [rbp + 0x20]
mov dword [rbp - 0x80], 0xcadac2c5
mov dword [rbp - 0x7c], 0xcdd5c9d9
mov dword [rbp - 0x78], 0xafafd6ca
mov word [rbp - 0x74], 0xb1
mov byte [rbp - 0x72], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0xd
jb 0x1400a6a10
mov byte [rbp - 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x73]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6a4d
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6a66
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 8]
call fcn.14009f810
mov qword [rbp - 0x28], rax
jmp 0x1400a6a6a
mov rax, qword [rbp - 0x28]
movzx edx, byte [rax]
test edx, edx
je 0x1400a6a9d
sub edx, 1
je 0x1400a6a93
cmp edx, 1
je 0x1400a6a82
mov ebx, 1
jmp 0x1400a6aa0
mov rax, qword [rax + 8]
mov rbx, qword [rax + 8]
sub rbx, qword [rax]
sar rbx, 4
jmp 0x1400a6aa0
mov rax, qword [rax + 8]
mov rbx, qword [rax + 8]
jmp 0x1400a6aa0
mov rbx, r15
movsxd rsi, r12d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a6ae0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a70fd
call fcn.1400fa4c4
cmp rsi, rbx
jae 0x1400a7127
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov dword [rbp - 0x70], 0xcadac2c5
mov dword [rbp - 0x6c], 0xcdd5c9d9
mov dword [rbp - 0x68], 0xafafd6ca
mov word [rbp - 0x64], 0xb1
mov byte [rbp - 0x62], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0xd
jb 0x1400a6b40
mov byte [rbp - 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x63]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 8]
call fcn.140001d90
nop
cmp byte [rdi], 0
jne 0x1400a6b7c
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6b91
lea rdx, [rbp - 8]
mov rcx, qword [rdi + 8]
call fcn.14009f810
mov r13, rax
movsxd r14, r12d
mov rbx, qword [rbp + 0x20]
cmp byte [r13], 0
jne 0x1400a6bbd
mov byte [r13], 2
mov ecx, Ordinal_26
call fcn.1400fa488
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [r13 + 8], rax
cmp byte [r13], 2
jne 0x1400a6c34
mov rbx, qword [r13 + 8]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 4
cmp r14, rax
jb 0x1400a6c26
mov byte [rbp - 0x48], 0
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14009eb20
nop
mov rax, qword [r13 + 8]
mov r8, qword [rax + 8]
mov rdx, r8
sub rdx, qword [rax]
sar rdx, 4
mov r9, r14
sub r9, rdx
inc r9
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400a4c30
nop
movzx edx, byte [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.1400a18a0
mov rax, qword [r13 + 8]
mov rbx, r14
shl rbx, 4
add rbx, qword [rax]
mov dword [rsp + 0x70], 0xcadac2c5
mov dword [rsp + 0x74], 0xcdd5c9d9
mov dword [rsp + 0x78], 0xafafd6ca
mov word [rsp + 0x7c], 0x100
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0xc
jb 0x1400a6c60
mov byte [rsp + 0x7d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rbx], 0
jne 0x1400a6ca0
mov byte [rbx], 1
call fcn.14009a700
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400a6cb9
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14009f810
mov qword [rbp - 0x20], rax
jmp 0x1400a6cbd
mov rax, qword [rbp - 0x20]
cmp byte [rax], 3
jne 0x1400a6cc8
mov rcx, qword [rax + 8]
jmp 0x1400a6ccb
mov rcx, r15
mov r9, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400a6cd8
mov r9, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov rax, qword [rbp + 0x48]
cmp rsi, rax
ja 0x1400a6d0a
lea rbx, [rbp + 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x30]
mov qword [rbp + 0x40], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400a6d1a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.14009a110
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a6d57
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6d52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7104
call fcn.1400fa4c4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x1400a6da5
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6da0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a710b
call fcn.1400fa4c4
mov dword [rbp - 0x60], 0xcadac2c5
mov dword [rbp - 0x5c], 0xcdd5c9d9
mov dword [rbp - 0x58], 0xafafd6ca
mov word [rbp - 0x54], 0xb1
mov byte [rbp - 0x52], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0xd
jb 0x1400a6dd0
mov byte [rbp - 0x52], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x53]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.140001d90
nop
mov r14, qword [rbp - 0x50]
cmp byte [rdi], 0
jne 0x1400a6e10
mov byte [rdi], 1
call fcn.14009a700
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x1400a6e25
lea rdx, [rbp - 8]
mov rcx, qword [rdi + 8]
call fcn.14009f810
mov r14, rax
movsxd r15, r12d
mov rbx, qword [rbp - 0x50]
cmp byte [r14], 0
jne 0x1400a6e51
mov byte [r14], 2
mov ecx, Ordinal_26
call fcn.1400fa488
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [r14 + 8], rax
cmp byte [r14], 2
jne 0x1400a6ec7
mov rbx, qword [r14 + 8]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 4
cmp r15, rax
jb 0x1400a6eb9
mov byte [rbp - 0x38], 0
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14009eb20
nop
mov rax, qword [r14 + 8]
mov r8, qword [rax + 8]
mov rdx, r8
sub rdx, qword [rax]
sar rdx, 4
mov r9, r15
sub r9, rdx
inc r9
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.1400a4c30
nop
movzx edx, byte [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400a18a0
mov rax, qword [r14 + 8]
mov rbx, r15
shl rbx, 4
add rbx, qword [rax]
mov dword [rsp + 0x38], 0xd0c8cfd3
mov dword [rsp + 0x3c], 0x100c2c8
xor r15d, r15d
mov ecx, r15d
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 6
jb 0x1400a6ee0
mov byte [rsp + 0x3f], r15b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3e]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d90
nop
cmp byte [rbx], 0
jne 0x1400a6f20
mov byte [rbx], 1
call fcn.14009a700
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400a6f39
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14009f810
mov qword [rbp - 0x18], rax
jmp 0x1400a6f3d
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400a6f48
mov rcx, qword [rax + 8]
jmp 0x1400a6f4b
mov rcx, r15
mov r9, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400a6f58
mov r9, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov rax, qword [rbp + 0x68]
cmp rsi, rax
ja 0x1400a6f8a
lea rbx, [rbp + 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x50]
mov qword [rbp + 0x60], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x1400a6f9a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.14009a110
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a6fd7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7112
call fcn.1400fa4c4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x1400a7025
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7119
call fcn.1400fa4c4
mov rbx, qword [rbp - 0x10]
mov rsi, qword [rbx + 0x1e8]
cmp rsi, qword [rbx + 0x1f0]
je 0x1400a7063
mov qword [rsp + 0x40], rsi
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.140006170
nop
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x50]
call fcn.140006170
nop
add qword [rbx + 0x1e8], 0x40
jmp 0x1400a7077
lea r8, [rbp + 0x30]
mov rdx, rsi
lea rcx, [rbx + 0x1e0]
call fcn.140098ea0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400a70ae
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a70a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7120
call fcn.1400fa4c4
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400a70f5
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a70f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7120
call fcn.1400fa4c4
inc r12d
jmp 0x1400a69e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.1400a18a0
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400fa820
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret