Function at 0x140058840
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 - 0xf]
sub rsp, 0xa0
mov rax, qword [0x1400ad028]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13d, r9d
mov r12, rdx
mov r15, rcx
mov r14, qword [0x1400af208]
test rdx, rdx
je 0x140058c47
test r14, r14
je 0x140058c47
movsd xmm0, qword [str.GPYZ]
movsd qword [rbp - 0x61], xmm0
movzx eax, word [0x14009a008]
mov word [rbp - 0x59], ax
cmp byte [0x14009a009], 0
je 0x1400588d5
mov byte [rbp - 0x61], WSASetLastError
xor byte [rbp - 0x60], 0x33
xor byte [rbp - 0x5f], 0x34
xor byte [rbp - 0x5e], 0x35
xor byte [rbp - 0x5d], 0x36
xor byte [rbp - 0x5c], 0x37
xor byte [rbp - 0x5b], 0x38
xor byte [rbp - 0x5a], 0x39
xor byte [rbp - 0x59], 0x3a
xor byte [rbp - 0x58], 0x3b
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140058966
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140058966
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, 0xf9d52a2a
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140058961
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140058940
cmp r8d, 0x95763157
je 0x14005896b
test r9d, r9d
jne 0x140058920
mov rax, qword [rax]
jmp 0x1400588f0
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 - 0x61]
call rdx
mov rsi, rax
test rax, rax
je 0x140058c47
movsd xmm0, qword [str.GuQRvLVW_]
movsd qword [rbp - 0x51], xmm0
movzx ecx, word [0x140099fb0]
mov word [rbp - 0x49], cx
cmp byte [0x140099fb1], 0
je 0x1400589dd
mov byte [rbp - 0x51], 0x4e
xor byte [rbp - 0x50], 0x33
xor byte [rbp - 0x4f], 0x34
xor byte [rbp - 0x4e], 0x35
xor byte [rbp - 0x4d], 0x36
xor byte [rbp - 0x4c], 0x37
xor byte [rbp - 0x4b], 0x38
xor byte [rbp - 0x4a], 0x39
xor byte [rbp - 0x49], 0x3a
xor byte [rbp - 0x48], 0x3b
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 0x140058a66
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140058a66
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, 0x76e127e4
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140058a61
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140058a40
cmp r8d, 0x64a181a8
je 0x140058a6b
test r9d, r9d
jne 0x140058a20
mov rax, qword [rax]
jmp 0x1400589f0
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 - 0x51]
mov rcx, rsi
call r8
mov rbx, rax
test rax, rax
je 0x140058c47
mov word [rbp - 0x21], 0xb848
mov word [rbp - 0x17], 0xe0ff
mov qword [rbp - 0x1f], r14
mov eax, select
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov ecx, dword [rax + rcx]
cmp dword [0x1400af2e4], ecx
jle 0x140058bc2
lea rcx, [0x1400af2e4]
call fcn.14007e288
cmp dword [0x1400af2e4], 0xffffffff
jne 0x140058bc2
movsd xmm0, qword [str.GuQRvLVW_]
movsd qword [rbp - 0x71], xmm0
movzx eax, word [0x140099fb0]
mov word [rbp - 0x69], ax
cmp byte [0x140099fb1], 0
je 0x140058b2b
mov byte [rbp - 0x71], 0x4e
xor byte [rbp - 0x70], 0x33
xor byte [rbp - 0x6f], 0x34
xor byte [rbp - 0x6e], 0x35
xor byte [rbp - 0x6d], 0x36
xor byte [rbp - 0x6c], 0x37
xor byte [rbp - 0x6b], 0x38
xor byte [rbp - 0x6a], 0x39
xor byte [rbp - 0x69], 0x3a
xor byte [rbp - 0x68], 0x3b
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
lea rax, [rbp - 0x71]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140058b45
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.14005a950
nop
lea r8, [rbp - 0x41]
mov rdx, qword [0x1400af028]
mov rcx, r15
call fcn.140054b80
mov qword [0x1400af2b0], rax
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140058bb6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058bb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058bb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
nop
lea rcx, [0x1400af2e4]
call fcn.14007e21c
mov r8, qword [0x1400af2b0]
test r8, r8
je 0x140058c47
mov r9d, 0xc
lea rdx, [rbp - 0x11]
mov rcx, r15
call fcn.140054020
test al, al
je 0x140058c47
movzx eax, byte [rbp - 0x21]
cmp byte [rbp - 0x11], al
jne 0x140058c08
movzx eax, byte [rbp - 0x20]
cmp byte [rbp - 0x10], al
jne 0x140058c08
movzx eax, byte [rbp - 0x17]
cmp byte [rbp - 7], al
jne 0x140058c08
movzx eax, byte [rbp - 0x16]
cmp byte [rbp - 6], al
je 0x140058c47
lea r8, [rbp - 0x21]
mov rdx, qword [0x1400af2b0]
mov rcx, r15
call fcn.1400540c0
test al, al
je 0x140058c47
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
mov ecx, r13d
call rbx
mov qword [r12], rax
lea r8, [rbp - 0x11]
mov rdx, qword [0x1400af2b0]
mov rcx, r15
call fcn.1400540c0
jmp 0x140058c49
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14007e1c0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret