Function at 0x14005a690
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, r9
mov r12, rdx
mov r15, rcx
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x31], rax
mov r14, qword [0x1400b12f8]
test rdx, rdx
je 0x14005aa91
test r14, r14
je 0x14005aa91
movsd xmm0, qword [str._FWXY]
movsd qword [rbp - 0x51], xmm0
movzx eax, word [0x14009c180]
mov word [rbp - 0x49], ax
cmp byte [0x14009c181], 0
je 0x14005a72d
mov byte [rbp - 0x51], WSAGetLastError
xor byte [rbp - 0x50], 0x32
xor byte [rbp - 0x4f], 0x33
xor byte [rbp - 0x4e], 0x34
xor byte [rbp - 0x4d], 0x35
xor byte [rbp - 0x4c], 0x36
xor byte [rbp - 0x4b], 0x37
xor byte [rbp - 0x4a], 0x38
xor byte [rbp - 0x49], 0x39
xor byte [rbp - 0x48], 0x3a
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 ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005a7b6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005a7b6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x30af9420
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005a7b1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x14005a790
cmp r8d, 0xab4b4cc1
je 0x14005a7bb
test r9d, r9d
jne 0x14005a770
mov rax, qword [rax]
jmp 0x14005a740
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
lea rcx, [rbp - 0x51]
call rdx
mov rsi, rax
test rax, rax
je 0x14005aa91
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x41], xmm0
movzx ecx, word [0x14009c0b0]
mov word [rbp - 0x39], cx
cmp byte [0x14009c0b1], 0
je 0x14005a82d
mov byte [rbp - 0x41], 0x4e
xor byte [rbp - 0x40], 0x32
xor byte [rbp - 0x3f], 0x33
xor byte [rbp - 0x3e], 0x34
xor byte [rbp - 0x3d], 0x35
xor byte [rbp - 0x3c], 0x36
xor byte [rbp - 0x3b], 0x37
xor byte [rbp - 0x3a], 0x38
xor byte [rbp - 0x39], 0x39
xor byte [rbp - 0x38], 0x3a
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 ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005a8b6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005a8b6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xcdbbc43a
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005a8b1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x14005a890
cmp r8d, 0x893c0952
je 0x14005a8bb
test r9d, r9d
jne 0x14005a870
mov rax, qword [rax]
jmp 0x14005a840
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rbp - 0x41]
mov rcx, rsi
call r8
mov rbx, rax
test rax, rax
je 0x14005aa91
mov word [rbp - 9], 0xb848
mov word [rbp + 1], 0xe0ff
mov qword [rbp - 7], r14
mov eax, select
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400b1370], ecx
jle 0x14005aa12
lea rcx, [0x1400b1370]
call fcn.14007ff08
cmp dword [0x1400b1370], 0xffffffff
jne 0x14005aa12
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x61], xmm0
movzx eax, word [0x14009c0b0]
mov word [rbp - 0x59], ax
cmp byte [0x14009c0b1], 0
je 0x14005a97b
mov byte [rbp - 0x61], 0x4e
xor byte [rbp - 0x60], 0x32
xor byte [rbp - 0x5f], 0x33
xor byte [rbp - 0x5e], 0x34
xor byte [rbp - 0x5d], 0x35
xor byte [rbp - 0x5c], 0x36
xor byte [rbp - 0x5b], 0x37
xor byte [rbp - 0x5a], 0x38
xor byte [rbp - 0x59], 0x39
xor byte [rbp - 0x58], 0x3a
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x61]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005a995
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x29]
call fcn.14005b270
nop
lea r8, [rbp - 0x29]
mov rdx, qword [0x1400b1078]
mov rcx, r15
call fcn.1400549c0
mov qword [0x1400b1310], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14005aa06
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aa00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005aa00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
nop
lea rcx, [0x1400b1370]
call fcn.14007fe9c
mov r8, qword [0x1400b1310]
test r8, r8
je 0x14005aa91
mov r9d, 0xc
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140053d30
test al, al
je 0x14005aa91
movzx eax, byte [rbp - 9]
cmp byte [rbp + 7], al
jne 0x14005aa58
movzx eax, byte [rbp - 8]
cmp byte [rbp + 8], al
jne 0x14005aa58
movzx eax, byte [rbp + 1]
cmp byte [rbp + 0x11], al
jne 0x14005aa58
movzx eax, byte [rbp + 2]
cmp byte [rbp + 0x12], al
je 0x14005aa91
lea r8, [rbp - 9]
mov rdx, qword [0x1400b1310]
mov rcx, r15
call fcn.140053dd0
test al, al
je 0x14005aa91
mov rdx, qword [rbp - 0x31]
mov rcx, r13
call rbx
mov byte [r12], al
lea r8, [rbp + 7]
mov rdx, qword [0x1400b1310]
mov rcx, r15
call fcn.140053dd0
jmp 0x14005aa93
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14007fe40
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret