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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401d91a8]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x70], rdx
xor ebx, ebx
mov dword [rbp - 0x30], ebx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140012836
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140012836
mov edi, dword [rsi + 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, 0x2502c5eb
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140012831
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140012810
cmp r8d, 0xfcb52a65
je 0x14001283b
test r9d, r9d
jne 0x1400127f0
mov rax, qword [rax]
jmp 0x1400127c0
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rsi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rbp - 0x30]
xor ecx, ecx
call r8
cmp eax, 0x6f
jne 0x140012c8d
mov ecx, dword [rbp - 0x30]
mov eax, 0x2c0
mul rcx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.14001465c
mov r15, rax
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [0x140016040]
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov esi, dword [rax + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140012926
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140012926
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [r10 + r9*4]
mov edx, dword [rax + rdi]
add rdx, r10
mov r8d, 0x3d237309
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140012921
nop dword [rax]
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140012900
cmp r8d, 0x6b93846d
je 0x14001292b
test r9d, r9d
jne 0x1400128e0
mov rcx, qword [rcx]
jmp 0x1400128b0
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rsi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edi, dword [rcx + rax*4]
add rdi, r10
movzx esi, byte [r15 + 0x19d]
movzx r12d, byte [r15 + 0x19c]
movzx r13d, byte [r15 + 0x19b]
movzx eax, byte [r15 + 0x19a]
mov dword [rsp + 0x40], eax
movzx eax, byte [r15 + 0x199]
mov dword [rsp + 0x44], eax
movzx eax, byte [r15 + 0x198]
mov dword [rsp + 0x48], eax
movups xmm0, xmmword [0x140016db8]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140016dc8]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [str.cj_c_nS]
mov dword [rbp - 0x78], eax
movzx eax, word [0x140016dd4]
mov word [rbp - 0x74], ax
cmp byte [0x140016dd5], bl
je 0x140012b4f
cmp dword [0x1401d91b0], 2
jl 0x140012b16
movdqa xmm5, xmmword [0x140016d00]
movdqa xmm4, xmmword [0x140016e00]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.9999]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x140016df0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140016d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140016d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140012a10
cmp ebx, 0x1e
jge 0x140012b4f
movsxd rax, ebx
lea r8, [rsp + 0x70]
add r8, rax
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1e
jl 0x140012b21
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x70]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x140012b66
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140001a90
nop
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
nop
inc r14
cmp byte [rdx + r14], 0
jne 0x140012ba0
mov r8, r14
lea rcx, [rsp + 0x50]
call fcn.140001a90
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [rbp - 0x70]
call rdi
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140012c30
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012c2b
call qword [0x140016288]
int3
call fcn.140013d34
movdqa xmm0, xmmword [0x140016cf0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140012c81
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012c7c
call qword [0x140016288]
int3
call fcn.140013d34
mov rcx, r15
call fcn.140013d34
mov al, 1
jmp 0x140012c8f
xor al, al
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.140014020
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret