Function at 0x14004f350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14011fcc0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov qword [rbp - 0x38], r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp + 0x30], rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp + 0xf8], r8
xor esi, esi
mov dword [rbp - 0x60], esi
cmp byte [0x1401209e8], sil
jne 0x14004f3d7
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x58]
call fcn.14003f900
lea rcx, [rbp - 0x58]
call fcn.1400506a0
mov dword [rsp + 0x38], 0xf0eaf3bd
mov dword [rsp + 0x3c], 0xc6c8d2fa
mov word [rsp + 0x40], 0x9e
mov byte [rsp + 0x42], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x14004f400
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x78], 0xf3fcf2bd
mov dword [rsp + 0x7c], 0x1009dfa
mov dword [rbp - 0x80], 0xedf8efbd
mov dword [rbp - 0x7c], 0xcccec9ec
mov dword [rbp - 0x78], 0x98c0ca
mov byte [rbp - 0x74], 1
mov dword [rsp + 0x48], 0xf2f4fabd
mov dword [rsp + 0x4c], 0x9fc5c9fa
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x68], 0xfbede5ef
mov dword [rsp + 0x6c], 0xcec8c6a2
mov word [rsp + 0x70], Ordinal_200
mov byte [rsp + 0x72], 1
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14004f480
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.140044d90
nop
cmp byte [rsp + 0x72], 0
je 0x14004f4d5
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 9
jb 0x14004f4c0
mov byte [rsp + 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x71]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.140044d90
nop
lea r9, [rbp - 0x10]
lea r8, [rbp + 0xb8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14004b510
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x14004f550
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f54a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f54a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14004f58f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004f59c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14004da40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x78]
call fcn.1400457e0
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004f5f7
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004da40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x58]
call fcn.140045420
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004f646
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004da40
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004f690
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.14004da40
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004f6e7
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
call fcn.14004da40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14004f752
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f74d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f74d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004f7a1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f79c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f79c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14004f7f0
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f7eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14004f846
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f840
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14004f887
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f882
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14004f8e0
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f8da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14004f91e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x58], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x10]
call fcn.1400402a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], rsi
lea rsi, [rbp + 0x170]
mov r13, qword [rbp + 0x188]
cmp r13, 0x10
cmovae rsi, qword [rbp + 0x170]
movabs r15, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x180]
cmp rdi, r15
ja 0x140050078
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14004f9c0
mov qword [rbp + 0x120], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x110], xmm0
jmp 0x14004fa1b
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x14004f9d1
mov rbx, r15
jmp 0x14004f9d8
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x110]
call fcn.14004d900
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x130]
call fcn.1400567e0
nop
xor r14d, r14d
mov qword [rbp + 0xf0], r14
mov byte [rsp + 0x20], r14b
mov r9b, 1
lea r8, [rbp + 0xb8]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x100]
call fcn.140048b20
nop
mov dword [rsp + 0x58], 0xedeef9f6
mov dword [rsp + 0x5c], 0xc4c7fe
mov byte [rsp + 0x60], 1
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 7
jb 0x14004fa80
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140044d90
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x14004fada
mov byte [rbp + 0x100], 1
call fcn.140047560
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x14004fae1
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x14004faf5
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14004c7a0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x1400b3fe0]
movdqu xmmword [rbp + 0x160], xmm1
mov byte [rbp + 0x150], 0
mov dword [rbp - 0x60], 0x2ffe
cmp byte [rbx], 3
jne 0x14004fb34
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x150]
cmp rax, rdx
je 0x14004fb52
jmp 0x14004fb37
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004fb45
mov rdx, qword [rdx]
lea rcx, [rbp + 0x150]
call fcn.14004dad0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14004fb90
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fb8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fb8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x80]
call fcn.14004b200
mov rdx, rax
mov rcx, qword [rbp + 0x30]
call fcn.1400542b0
mov dword [rsp + 0x38], 0xfdfee9e8
mov dword [rsp + 0x3c], 0xd2d3fa
mov byte [rsp + 0x40], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14004fbe0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140044d90
nop
cmp byte [rbp + 0x100], 0
jne 0x14004fc2c
mov byte [rbp + 0x100], 1
call fcn.140047560
mov qword [rbp + 0x108], rax
jmp 0x14004fc33
mov rax, qword [rbp + 0x108]
cmp byte [rbp + 0x100], 1
jne 0x14004fc4d
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14004c7a0
mov rcx, rax
jmp 0x14004fc52
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14004fc9e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fc99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
test bl, bl
je 0x14004ff9e
mov dword [rsp + 0x48], 0xeaf3f3f8
mov dword [rsp + 0x4c], 0xd1d5cefa
mov word [rsp + 0x50], 0x100
mov rcx, r14
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14004fcc0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.140044d90
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x14004fd1a
mov byte [rbp + 0x100], 1
call fcn.140047560
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x14004fd21
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x14004fd35
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14004c7a0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400b3fe0]
movdqu xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x38], 0
mov dword [rbp - 0x60], 0xbdffe
cmp byte [rbx], 3
jne 0x14004fd68
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x38]
cmp rax, rdx
je 0x14004fd83
jmp 0x14004fd6b
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004fd79
mov rdx, qword [rdx]
lea rcx, [rbp + 0x38]
call fcn.14004dad0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x110]
call fcn.140051760
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14004fdd3
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fdcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fdcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004fe11
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fe0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
movdqa xmm0, xmmword [0x1400b3fe0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov rbx, qword [rbp + 0x120]
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdi, qword [rbp + 0x110]
cmp rbx, r15
ja 0x140050072
cmp rbx, 0x10
jae 0x14004fe74
mov qword [rbp - 0x70], rbx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], rdx
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x14004fed6
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov rax, rbx
or rax, 0xf
cmp rax, r15
ja 0x14004fe98
mov r15, rax
cmp rax, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb r15, rax
mov rdx, r15
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14004d900
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r15
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rdi, [rbp - 0x80]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x80]
add rdi, rbx
lea rsi, [rbp - 0x80]
cmp rdx, 0x10
cmovae rsi, qword [rbp - 0x80]
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
sub rdi, rsi
je 0x14004ff35
mov rdx, rdi
mov rcx, r12
call fcn.14004cc20
mov rbx, qword [r12]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r12 + 8], rax
lea rcx, [rbp - 0x80]
call fcn.1400408a0
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14004ff83
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ff7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ff7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a83e4
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x110], 0
jmp 0x14004ffac
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
mov r8, qword [rbp + 0x168]
cmp r8, 0x10
jb 0x14004ffd0
inc r8
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.14004ec60
nop
movzx edx, byte [rbp + 0x100]
lea rcx, [rbp + 0x108]
call fcn.14004ede0
nop
mov r8, qword [rbp + 0x148]
cmp r8, 0x10
jb 0x140050007
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.14004ec60
movdqa xmm0, xmmword [0x1400b3fe0]
mov byte [rbp + 0x130], 0
movdqu xmmword [rbp + 0x140], xmm0
cmp r13, 0x10
jb 0x14005003c
lea r8, [r13 + 1]
mov rdx, qword [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.14004ec60
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400408a0
mov rax, r12
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400a86c0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140043a40
nop
call fcn.140043a40
int3