Function at 0x140058040
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 [0x1403238f8]
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
test r8, r8
jne 0x140058111
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 0x1400580f8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400580f8
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 0x1400580f3
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 0x1400580d0
cmp edx, 0x53b2070f
je 0x14005840d
test r8d, r8d
jne 0x1400580b0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140058080
mov r8, rbx
mov qword [0x1403238f8], r8
movzx eax, word [0x14006a8c0]
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 [0x14006a8c2]
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 [0x1403238f0]
mov r15, rax
test r10, r10
jne 0x140058221
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 0x140058208
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140058208
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 0x140058203
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 0x1400581e0
cmp edx, 0xf8f45725
je 0x14005842a
test r8d, r8d
jne 0x1400581c0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140058190
mov r10, rbx
mov qword [0x1403238f0], r10
cmp dword [0x140322910], 2
mov eax, dword [0x14006a8d8]
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 [0x14006a8dc]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x14006a8de]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x1400583a9
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140068ff0]
movdqa xmm4, xmmword [0x14006b970]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x14006b8f0]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006b910]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006b910]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400582a0
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x17
jge 0x1400583ed
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [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 0x1400583c0
lea rdx, [rbp - 0x30]
mov rcx, r15
call r10
test rax, rax
jne 0x140058447
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 0x14005810a
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 0x14005821a
mov qword [0x140322e10], 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 0x1400584d7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400584d7
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 0x1400584d2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400584b0
cmp r8d, 0xab45c5ee
je 0x1400584dc
test r9d, r9d
jne 0x140058490
mov rax, qword [rax]
jmp 0x140058460
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