Function at 0x140040550
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x14024b028]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
call fcn.1400b01f0
mov rsi, rax
test rax, rax
jne 0x1400405e2
mov byte [rsp + 0x40], r12b
mov qword [rdi], r12
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400405c4
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005f2b0
jmp 0x140040bfe
lea r8, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x1400405f0
mov r8, qword [r8]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400b1760
movups xmm0, xmmword [0x14022f988]
movups xmmword [rbp - 0x78], xmm0
movzx eax, word [0x14022f998]
mov word [rbp - 0x68], ax
movzx eax, byte [0x14022f99a]
mov byte [rbp - 0x66], al
mov r8d, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140040773
movdqa xmm5, xmmword [0x140230000]
movdqa xmm4, xmmword [0x1402300b0]
mov eax, 1
movd xmm6, eax
movdqa xmm7, xmmword [0x140230020]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x74]
mov edx, dword [rsp + 0x50]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140040670
cmp r8d, 0x13
jge 0x1400407af
movsxd rax, r8d
lea r9, [rbp - 0x78]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140040780
lea rax, [rbp - 0x78]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x1400407c0
mov rdx, qword [r15 + 0x18]
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rdx
cmp rax, rcx
jb 0x140040c38
lea rax, [r15 + 8]
cmp qword [r15 + 0x20], 0x10
jb 0x1400407f4
mov rax, qword [rax]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.1400614e0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
xor ecx, ecx
call fcn.1400b1510
mov r15, rax
lea rcx, [rbp - 0x38]
call fcn.14005b500
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], r12
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
mov r8, r15
mov edx, 0x2727
mov rcx, rsi
call fcn.1400b1760
movsd xmm0, qword [str.MJ_IRSZA]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x14022f058]
mov word [rsp + 0x58], ax
cmp byte [0x14022f059], r12b
je 0x1400408a8
mov byte [rsp + 0x50], 0x75
xor byte [rsp + 0x51], 0x39
xor byte [rsp + 0x52], 0x3a
xor byte [rsp + 0x53], 0x3b
xor byte [rsp + 0x54], 0x3c
xor byte [rsp + 0x55], 0x3d
xor byte [rsp + 0x56], 0x3e
xor byte [rsp + 0x57], 0x3f
xor byte [rsp + 0x58], 0x40
xor byte [rsp + 0x59], 0x41
lea rax, [rsp + 0x50]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], r12b
jne 0x1400408b0
mov rdx, qword [0x140346670]
sub r14, rdx
cmp r14, rcx
jb 0x140040c32
lea rax, [0x140346660]
cmp qword [0x140346678], 0x10
cmovae rax, qword [0x140346660]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400614e0
nop
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae r8, qword [rbp - 0x58]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400b1760
nop
mov qword [rsp + 0x60], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.140075d20
mov qword [rax + 8], r12
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
movdqa xmm0, xmmword [0x14022ff80]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea r8, [0x140040520]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400b1760
lea r8, [rsp + 0x60]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400b1760
mov rcx, rsi
call fcn.1400b02a0
mov rcx, rsi
test eax, eax
je 0x140040a19
call fcn.1400b02d0
mov rcx, r15
call fcn.1400b1580
mov byte [rsp + 0x40], 0
mov qword [rdi], r12
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400409c3
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005f2b0
nop
mov edx, 3
lea rcx, [rsp + 0x44]
call fcn.140078220
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140040a0f
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r12
test rax, rax
je 0x140040a0f
mov qword [rax], r12
mov rax, qword [rax + 8]
test rax, rax
jne 0x140040a03
lea rcx, [rsp + 0x44]
jmp 0x140040b32
call fcn.1400b02d0
mov rcx, r15
call fcn.1400b1580
nop
mov qword [rdi], r12
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
mov ecx, reloc.WS2_32.dll_recv
call fcn.140075d20
mov qword [rax + 8], r12
mov qword [rdi], rax
mov qword [rax], rdi
mov edx, 3
cmp qword [rbp - 0x80], 0x10
jb 0x140040a94
lea rcx, [rsp + 0x44]
call fcn.140078220
mov rax, qword [rdi]
mov rcx, qword [rsp + 0x60]
mov qword [rdi], rcx
mov qword [rsp + 0x60], rax
test rcx, rcx
je 0x140040a80
mov qword [rcx], rdi
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140040a8d
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
lea rcx, [rsp + 0x44]
jmp 0x140040ad1
lea rcx, [rsp + 0x50]
call fcn.140078220
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140040acc
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r12
test rax, rax
je 0x140040acc
nop word [rax + rax]
mov qword [rax], r12
mov rax, qword [rax + 8]
test rax, rax
jne 0x140040ac0
lea rcx, [rsp + 0x50]
call fcn.140078300
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi + 8], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x18], xmm1
movdqa xmm0, xmmword [0x14022ff80]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov edx, 3
lea rcx, [rsp + 0x50]
call fcn.140078220
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140040b2d
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r12
test rax, rax
je 0x140040b2d
mov qword [rax], r12
mov rax, qword [rax + 8]
test rax, rax
jne 0x140040b21
lea rcx, [rsp + 0x50]
call fcn.140078300
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140040bbb
mov rsi, qword [rsp + 0x68]
test rsi, rsi
lea rbx, [rax + 1]
jne 0x140040bb0
test rbx, rbx
je 0x140040bb0
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14022b1ec]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3c7
lea rdx, [0x14022b1f0]
lea ecx, [r9 + 2]
call fcn.140188250
cmp eax, 1
jne 0x140040b8b
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3c7
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexmemory
lea rdx, [0x14022b324]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140188b80
mov rdx, rbx
mov rcx, rsi
call fcn.14005fc70
movdqa xmm0, xmmword [0x14022ff80]
mov rcx, qword [rsp + 0x60]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x60], r12
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
nop
lea rcx, [rbp - 0x60]
call fcn.14005b500
mov rcx, qword [rbp - 0x60]
mov qword [rbp - 0x60], r12
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400753c0
lea r11, [rsp + 0x130]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140038890
int3
call fcn.140038890
int3