Function at 0x1400595f0
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 [0x1400b1388]
test rdx, rdx
je 0x1400599f1
test r14, r14
je 0x1400599f1
movsd xmm0, qword [0x14009c178]
movsd qword [rbp - 0x51], xmm0
movzx eax, word [0x14009c180]
mov word [rbp - 0x49], ax
cmp byte [0x14009c181], 0
je 0x14005968d
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 0x140059716
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140059716
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 0x140059711
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400596f0
cmp r8d, 0xab4b4cc1
je 0x14005971b
test r9d, r9d
jne 0x1400596d0
mov rax, qword [rax]
jmp 0x1400596a0
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 0x1400599f1
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x41], xmm0
movzx ecx, word [0x14009c0b0]
mov word [rbp - 0x39], cx
cmp byte [0x14009c0b1], 0
je 0x14005978d
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 0x140059816
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140059816
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 0x140059811
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400597f0
cmp r8d, 0x893c0952
je 0x14005981b
test r9d, r9d
jne 0x1400597d0
mov rax, qword [rax]
jmp 0x1400597a0
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 0x1400599f1
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 [0x1400b1390], ecx
jle 0x140059972
lea rcx, [0x1400b1390]
call fcn.14007f8b8
cmp dword [0x1400b1390], 0xffffffff
jne 0x140059972
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x61], xmm0
movzx eax, word [0x14009c0b0]
mov word [rbp - 0x59], ax
cmp byte [0x14009c0b1], 0
je 0x1400598db
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 0x1400598f5
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x29]
call fcn.14005b280
nop
lea r8, [rbp - 0x29]
mov rdx, qword [0x1400b1078]
mov rcx, r15
call fcn.1400549d0
mov qword [0x1400b1350], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140059966
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059960
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fc40
nop
lea rcx, [0x1400b1390]
call fcn.14007f84c
mov r8, qword [0x1400b1350]
test r8, r8
je 0x1400599f1
mov r9d, 0xc
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140053d40
test al, al
je 0x1400599f1
movzx eax, byte [rbp - 9]
cmp byte [rbp + 7], al
jne 0x1400599b8
movzx eax, byte [rbp - 8]
cmp byte [rbp + 8], al
jne 0x1400599b8
movzx eax, byte [rbp + 1]
cmp byte [rbp + 0x11], al
jne 0x1400599b8
movzx eax, byte [rbp + 2]
cmp byte [rbp + 0x12], al
je 0x1400599f1
lea r8, [rbp - 9]
mov rdx, qword [0x1400b1350]
mov rcx, r15
call fcn.140053de0
test al, al
je 0x1400599f1
mov rdx, qword [rbp - 0x31]
mov rcx, r13
call rbx
mov qword [r12], rax
lea r8, [rbp + 7]
mov rdx, qword [0x1400b1350]
mov rcx, r15
call fcn.140053de0
jmp 0x1400599f3
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14007f7f0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret