Function at 0x140052240
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
mov r8, qword [0x1403bc968]
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
test r8, r8
jne 0x140052311
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x10]
mov rsi, r14
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400522f8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400522f8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400522f3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400522d0
cmp edx, 0x53b2070f
je 0x1400525ed
test r8d, r8d
jne 0x1400522b0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140052280
mov r8, rbx
mov qword [0x1403bc968], r8
movzx eax, word [0x1400c7c58]
lea rcx, [rbp - 0x50]
movsd xmm0, qword [str.OPT_b]
movsd qword [rbp - 0x50], xmm0
xor byte [rbp - 0x4f], 0x39
xor byte [rbp - 0x4e], 0x3a
xor byte [rbp - 0x4d], 0x3b
xor byte [rbp - 0x4c], 0x3c
xor byte [rbp - 0x4b], 0x3d
xor byte [rbp - 0x4a], 0x3e
xor byte [rbp - 0x49], 0x3f
mov word [rbp - 0x48], ax
movzx eax, byte [0x1400c7c5a]
xor byte [rbp - 0x48], 0x40
xor al, 0x42
xor byte [rbp - 0x47], 0x41
mov byte [rbp - 0x46], al
mov byte [rbp - 0x50], 0x77
call r8
mov r10, qword [0x1403bc960]
mov r15, rax
test r10, r10
jne 0x140052421
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r14, qword [rdx + 0x10]
mov rsi, r14
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 0x140052408
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140052408
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140052403
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400523e0
cmp edx, 0xf8f45725
je 0x14005260a
test r8d, r8d
jne 0x1400523c0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140052390
mov r10, rbx
mov qword [0x1403bc960], r10
cmp dword [reloc.WS2_32.dll_accept], 2
mov eax, dword [0x1400c7c70]
movups xmm0, xmmword [str.vMoHYOwQ__7_t34_]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1400c7c74]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1400c7c76]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x14005258b
movdqa xmm0, xmmword [0x1400c87a0]
lea rcx, [rbp - 0x2c]
movdqa xmm4, xmmword [0x1400c6500]
movdqa xmm3, xmmword [0x1400c88d0]
movdqa xmm5, xmmword [0x1400c8780]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400c8790]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
mov eax, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400524a0
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x17
jge 0x1400525cd
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x1400525a0
lea rdx, [rbp - 0x30]
mov rcx, r15
call r10
test rax, rax
jne 0x140052627
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
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 r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x14005230a
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 0x14005241a
mov qword [0x1403bc4d0], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400526b7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400526b7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400526b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140052690
cmp r8d, 0xab45c5ee
je 0x1400526bc
test r9d, r9d
jne 0x140052670
mov rax, qword [rax]
jmp 0x140052640
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r15
add rax, r10
call rax
mov rbx, qword [rsp + 0xa0]
mov al, 1
add rsp, 0x70
pop r15
pop rdi
pop rbp
ret