Function at 0x140050530
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 [0x140106680]
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 [0x1401073d8], sil
jne 0x1400505b7
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.140040900
lea rcx, [rbp - 0x58]
call fcn.140051880
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 0x1400505e0
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 0x140050660
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.140046090
nop
cmp byte [rsp + 0x72], 0
je 0x1400506b5
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 9
jb 0x1400506a0
mov byte [rsp + 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x71]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.140046090
nop
lea r9, [rbp - 0x10]
lea r8, [rbp + 0xb8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14004c6f0
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x140050730
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005072a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005072a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14005076f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050769
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005077c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14004ec20
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.1400469c0
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400507d7
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004ec20
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.140046720
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140050826
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004ec20
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 0x140050870
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.14004ec20
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 0x1400508c7
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
call fcn.14004ec20
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 0x140050932
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005092d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005092d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140050981
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005097c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005097c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400509d0
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400509cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400509cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140050a26
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140050a67
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x140050ac0
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050aba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050aba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140050afe
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050af9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050af9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
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.1400412a0
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 0x140051258
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140050ba0
mov qword [rbp + 0x120], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x110], xmm0
jmp 0x140050bfb
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x140050bb1
mov rbx, r15
jmp 0x140050bb8
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x110]
call fcn.14004eae0
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.140057160
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.140049d00
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 0x140050c60
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140046090
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x140050cba
mov byte [rbp + 0x100], 1
call fcn.140048740
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x140050cc1
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x140050cd5
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14004d980
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x1400b51e0]
movdqu xmmword [rbp + 0x160], xmm1
mov byte [rbp + 0x150], 0
mov dword [rbp - 0x60], 0x2ffe
cmp byte [rbx], 3
jne 0x140050d14
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x150]
cmp rax, rdx
je 0x140050d32
jmp 0x140050d17
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050d25
mov rdx, qword [rdx]
lea rcx, [rbp + 0x150]
call fcn.14004ecb0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140050d70
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050d6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x80]
call fcn.14004c3e0
mov rdx, rax
mov rcx, qword [rbp + 0x30]
call fcn.140055490
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 0x140050dc0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140046090
nop
cmp byte [rbp + 0x100], 0
jne 0x140050e0c
mov byte [rbp + 0x100], 1
call fcn.140048740
mov qword [rbp + 0x108], rax
jmp 0x140050e13
mov rax, qword [rbp + 0x108]
cmp byte [rbp + 0x100], 1
jne 0x140050e2d
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14004d980
mov rcx, rax
jmp 0x140050e32
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 0x140050e7e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050e79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
test bl, bl
je 0x14005117e
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 0x140050ea0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.140046090
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x140050efa
mov byte [rbp + 0x100], 1
call fcn.140048740
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x140050f01
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x140050f15
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14004d980
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400b51e0]
movdqu xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x38], 0
mov dword [rbp - 0x60], 0xbdffe
cmp byte [rbx], 3
jne 0x140050f48
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x38]
cmp rax, rdx
je 0x140050f63
jmp 0x140050f4b
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050f59
mov rdx, qword [rdx]
lea rcx, [rbp + 0x38]
call fcn.14004ecb0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x110]
call fcn.140052940
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140050fb3
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050fad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140050ff1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050fec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050fec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
movdqa xmm0, xmmword [0x1400b51e0]
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 0x140051252
cmp rbx, 0x10
jae 0x140051054
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 0x1400510b6
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov rax, rbx
or rax, 0xf
cmp rax, r15
ja 0x140051078
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.14004eae0
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 0x140051115
mov rdx, rdi
mov rcx, r12
call fcn.14004de00
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.1400418a0
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140051163
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005115e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005115e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8d64
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x110], 0
jmp 0x14005118c
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
mov r8, qword [rbp + 0x168]
cmp r8, 0x10
jb 0x1400511b0
inc r8
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.14004fe40
nop
movzx edx, byte [rbp + 0x100]
lea rcx, [rbp + 0x108]
call fcn.14004ffc0
nop
mov r8, qword [rbp + 0x148]
cmp r8, 0x10
jb 0x1400511e7
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.14004fe40
movdqa xmm0, xmmword [0x1400b51e0]
mov byte [rbp + 0x130], 0
movdqu xmmword [rbp + 0x140], xmm0
cmp r13, 0x10
jb 0x14005121c
lea r8, [r13 + 1]
mov rdx, qword [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.14004fe40
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400418a0
mov rax, r12
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400a9040
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.140044d40
nop
call fcn.140044d40
int3