Function at 0x180097600
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x18029b200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
mov r8d, dword [0x18029ef40]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x18029eae8], eax
jg 0x180097714
mov rbx, qword [0x18029eae0]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.180046d40
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsi + 8]
call rbx
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800976ad
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800976a8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800976e4
mov rcx, r8
call fcn.18011e6f0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18011eca0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x171f0
mov qword [0x18029eae0], rax
lea rcx, [0x18029eae8]
call fcn.18011eaa4
jmp 0x180097656
lea rcx, [0x18029eae8]
call fcn.18011eb10
cmp dword [0x18029eae8], 0xffffffff
jne 0x180097656
movups xmm0, xmmword [0x18016bb58]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x18016bb68]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x18016bb70]
mov word [rsp + 0x38], ax
movzx eax, byte [0x18016bb72]
mov byte [rsp + 0x3a], al
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800978a0
movdqa xmm4, xmmword [0x18012b970]
movdqa xmm3, xmmword [0x18016f270]
movdqa xmm5, xmmword [str.::::]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x24]
movdqa xmm6, xmmword [0x180132470]
mov r8d, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1800977b0
cmp ecx, 0x1b
jge 0x1800976eb
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x1800978b0
jmp 0x1800976eb