Function at 0x140058930
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 [0x1400af040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, r9
mov r13, rdx
mov r12, rcx
mov r15, qword [0x1400b12e0]
test rdx, rdx
je 0x140058d39
test r15, r15
je 0x140058d39
movsd xmm0, qword [0x14009c178]
movsd qword [rbp - 0x61], xmm0
movzx eax, word [0x14009c180]
mov word [rbp - 0x59], ax
cmp byte [0x14009c181], 0
je 0x1400589c5
mov byte [rbp - 0x61], WSAGetLastError
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
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140058a56
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140058a56
mov esi, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rsi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x30af9420
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140058a51
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140058a30
cmp r8d, 0xab4b4cc1
je 0x140058a5b
test r9d, r9d
jne 0x140058a10
mov rax, qword [rax]
jmp 0x1400589e0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 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 r14, rax
test rax, rax
je 0x140058d39
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x51], xmm0
movzx ecx, word [0x14009c0b0]
mov word [rbp - 0x49], cx
cmp byte [0x14009c0b1], 0
je 0x140058acd
mov byte [rbp - 0x51], 0x4e
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140058b56
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140058b56
mov esi, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rsi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0xcdbbc43a
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140058b51
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140058b30
cmp r8d, 0x893c0952
je 0x140058b5b
test r9d, r9d
jne 0x140058b10
mov rax, qword [rax]
jmp 0x140058ae0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 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, r14
call r8
mov rdi, rax
test rax, rax
je 0x140058d39
mov word [rbp - 0x21], 0xb848
mov word [rbp - 0x17], 0xe0ff
mov qword [rbp - 0x1f], r15
mov eax, select
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400b1324], ecx
jle 0x140058cb2
lea rcx, [0x1400b1324]
call fcn.14007f8b8
cmp dword [0x1400b1324], 0xffffffff
jne 0x140058cb2
movsd xmm0, qword [0x14009c0a8]
movsd qword [rbp - 0x71], xmm0
movzx eax, word [0x14009c0b0]
mov word [rbp - 0x69], ax
cmp byte [0x14009c0b1], 0
je 0x140058c1b
mov byte [rbp - 0x71], 0x4e
xor byte [rbp - 0x70], 0x32
xor byte [rbp - 0x6f], 0x33
xor byte [rbp - 0x6e], 0x34
xor byte [rbp - 0x6d], 0x35
xor byte [rbp - 0x6c], 0x36
xor byte [rbp - 0x6b], 0x37
xor byte [rbp - 0x6a], 0x38
xor byte [rbp - 0x69], 0x39
xor byte [rbp - 0x68], 0x3a
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 0x140058c35
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.14005b280
nop
lea r8, [rbp - 0x41]
mov rdx, qword [0x1400b1078]
mov rcx, r12
call fcn.1400549d0
mov qword [0x1400b12f0], rax
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140058ca6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fc40
nop
lea rcx, [0x1400b1324]
call fcn.14007f84c
mov r8, qword [0x1400b12f0]
test r8, r8
je 0x140058d39
mov r9d, 0xc
lea rdx, [rbp - 0x11]
mov rcx, r12
call fcn.140053d40
test al, al
je 0x140058d39
movzx eax, byte [rbp - 0x21]
cmp byte [rbp - 0x11], al
jne 0x140058cf8
movzx eax, byte [rbp - 0x20]
cmp byte [rbp - 0x10], al
jne 0x140058cf8
movzx eax, byte [rbp - 0x17]
cmp byte [rbp - 7], al
jne 0x140058cf8
movzx eax, byte [rbp - 0x16]
cmp byte [rbp - 6], al
je 0x140058d39
lea r8, [rbp - 0x21]
mov rdx, qword [0x1400b12f0]
mov rcx, r12
call fcn.140053de0
test al, al
je 0x140058d39
mov r9, qword [rbp + 0x7f]
mov r8, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x6f]
mov rcx, rbx
call rdi
mov qword [r13], rax
lea r8, [rbp - 0x11]
mov rdx, qword [0x1400b12f0]
mov rcx, r12
call fcn.140053de0
jmp 0x140058d3b
xor al, al
mov rcx, qword [rbp - 1]
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