Function at 0x140032d30
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
push rsi
push r13
push r15
sub rsp, 0xc0
movzx eax, word [0x1400b5d90]
xor esi, esi
movups xmm0, xmmword [0x1400b5d80]
mov r15d, dword [reloc.WS2_32.dll_accept]
mov r8d, esi
mov word [rsp + 0x50], ax
movzx eax, byte [0x1400b5d92]
mov byte [rsp + 0x52], al
movaps xmmword [rsp + 0xa0], xmm6
movups xmmword [rsp + 0x40], xmm0
cmp r15d, 2
jl 0x140032eb7
movdqa xmm0, xmmword [0x1400b69d0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1400b6920]
movdqa xmm4, xmmword [0x1400b69c0]
movdqa xmm6, xmmword [0x1400b6940]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140032db0
cmp r8d, 0x13
jge 0x140032f01
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x22b63cbf
lea r9, [r9 + 1]
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x3a
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x140032ed0
mov qword [rsp + 0xe0], rbx
lea r8, [rsp + 0x40]
mov qword [rsp + 0xf0], rbp
xor edx, edx
mov qword [rsp + 0xf8], rdi
mov ecx, 0xf001f
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], r14
movaps xmmword [rsp + 0x90], xmm7
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov r13, rax
test rax, rax
je 0x1400333dc
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1400333d3
cmp dword [rax], 0x52545353
jne 0x1400333ca
cmp dword [rax + 4], 0x20000
jb 0x1400333ca
movzx r10d, byte [0x1400b5dae]
mov r12d, esi
movzx r11d, word [0x1400b5dac]
mov r14d, dword [0x1400b5da8]
movups xmm7, xmmword [str.hoonmW_3_t__:0]
nop
mov ebp, 1
cmp dword [rdi + 0x1c], ebp
jbe 0x1400333bd
nop
mov ebx, dword [rdi + 0x18]
mov eax, ebp
imul eax, dword [rdi + 0x14]
add rax, rdi
add rbx, rax
test r12d, r12d
je 0x1400331d2
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax + 0x100], sil
jne 0x140032fe0
test rax, rax
jne 0x1400331d2
mov eax, dword [0x1400b5da8]
mov ecx, esi
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400b5dac]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1400b5dae]
mov byte [rsp + 0x6e], al
movups xmm0, xmmword [str.hoonmW_3_t__:0]
movups xmmword [rsp + 0x58], xmm0
cmp r15d, 2
jl 0x140033164
movdqa xmm0, xmmword [0x1400b69d0]
lea rdx, [rsp + 0x5c]
movdqa xmm5, xmmword [0x1400b6920]
movdqa xmm4, xmmword [0x1400b69c0]
movdqa xmm6, xmmword [0x1400b6940]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140033060
cmp ecx, 0x17
jge 0x14003319d
movsxd rax, ecx
lea r8, [rsp + 0x58]
add r8, rax
nop
mov eax, 0x22b63cbf
lea r8, [r8 + 1]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3b
movzx eax, cl
inc ecx
sub al, dl
add al, 0x3a
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x140033170
lea r8, [rsp + 0x58]
mov edx, 0x100
lea rcx, [rbx + 0x100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movzx r10d, byte [0x1400b5dae]
movzx r11d, word [0x1400b5dac]
mov r14d, dword [0x1400b5da8]
movups xmm7, xmmword [str.hoonmW_3_t__:0]
mov dword [rsp + 0x80], r14d
mov r8d, esi
mov word [rsp + 0x84], r11w
mov byte [rsp + 0x86], r10b
movups xmmword [rsp + 0x70], xmm7
cmp r15d, 2
jl 0x140033337
movdqa xmm0, xmmword [0x1400b69d0]
lea rcx, [rsp + 0x74]
movdqa xmm5, xmmword [0x1400b6920]
movdqa xmm4, xmmword [0x1400b69c0]
movdqa xmm6, xmmword [0x1400b6940]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140033230
cmp r8d, 0x17
jge 0x140033381
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x22b63cbf
lea r9, [r9 + 1]
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x3a
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140033350
lea rax, [rbx + 0x100]
lea r8, [rsp + 0x70]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400333a3
inc rax
test ecx, ecx
jne 0x140033390
test edx, edx
je 0x1400333b4
inc ebp
cmp ebp, dword [rdi + 0x1c]
jb 0x140032fc0
jmp 0x1400333bd
cmp dword [rdi + 4], 0x2000c
jae 0x140033423
inc r12d
cmp r12d, 2
jb 0x140032fb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
movaps xmm7, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xc0
pop r15
pop r13
pop rsi
ret
mov ecx, dword [rsp + 0xe8]
lea rax, [rcx + 0x24]
cmp rax, 0x40000
ja 0x1400334ad
movss xmm0, dword [rsp + 0x120]
movss xmm1, dword [rsp + 0x128]
mov dword [rcx + rbx + 0x1220], esi
mov esi, 0x24
movss dword [rcx + rbx + 0x1218], xmm0
movss dword [rcx + rbx + 0x121c], xmm1
mov dword [rcx + rbx + 0x1200], 0x47523030
mov dword [rcx + rbx + 0x1204], 0x24
mov dword [rcx + rbx + 0x1208], 0x32
mov dword [rcx + rbx + 0x120c], 0xfffffffe
mov dword [rcx + rbx + 0x1210], 1
mov dword [rcx + rbx + 0x1214], 3
jmp 0x1400333ca
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400333de