Function at 0x140012570
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 + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400cb180]
xor rax, rsp
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
lea r12, [rbp + 0x5f]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 9], r13
mov qword [rbp - 1], r12
mov rax, qword [r12]
xor rax, r13
mov qword [rbp - 0x11], rax
xor ebx, ebx
mov qword [r12], rbx
mov rdx, qword [0x1400d2768]
test rdx, rdx
jne 0x140012697
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x140012677
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140012677
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140012672
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140012650
cmp edx, 0x53b2070f
je 0x140012acb
test r8d, r8d
jne 0x140012630
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14001268d
cmp qword [rax + 0x30], 0
jne 0x140012600
mov rdx, rbx
mov qword [0x1400d2768], rdx
movzx eax, word [0x1400b1be0]
mov word [rbp - 0x31], ax
movsd xmm0, qword [str.B_Y_v_vO]
movzx eax, byte [0x1400b1be2]
movsd qword [rbp - 0x39], xmm0
mov byte [rbp - 0x39], 0x77
xor byte [rbp - 0x38], 0x36
xor byte [rbp - 0x37], 0x37
xor byte [rbp - 0x36], 0x38
xor byte [rbp - 0x35], 0x39
xor byte [rbp - 0x34], 0x3a
xor byte [rbp - 0x33], 0x3b
xor byte [rbp - 0x32], 0x3c
xor byte [rbp - 0x31], 0x3d
xor byte [rbp - 0x30], 0x3e
xor al, 0x3f
mov byte [rbp - 0x2f], al
lea rcx, [rbp - 0x39]
call rdx
mov r15, rax
mov r10, qword [0x1400d2778]
test r10, r10
jne 0x1400127b7
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r14, qword [rcx]
mov rsi, r14
nop dword [rax]
nop word [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 0x140012797
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140012797
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140012792
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140012770
cmp edx, 0xf8f45725
je 0x140012ae7
test r8d, r8d
jne 0x140012750
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x1400127ad
cmp qword [rax + 0x30], 0
jne 0x140012720
mov r10, rbx
mov qword [0x1400d2778], r10
movzx eax, word [0x1400b1bd4]
mov word [rbp - 0x15], ax
movzx eax, byte [0x1400b1bd6]
mov ecx, dword [0x1400b1bd0]
movups xmm3, xmmword [str.BbKHrRW_4_f_67]
mov byte [rbp - 0x13], al
mov dword [rbp - 0x19], ecx
movups xmmword [rbp - 0x29], xmm3
cmp dword [0x1400cb1d8], 2
jl 0x1400129e5
movdqa xmm5, xmmword [0x1400b3c90]
movdqa xmm6, xmmword [0x1400b37c0]
movdqa xmm7, xmmword [0x1400b3860]
movdqa xmm2, xmmword [0x1400b3740]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x1400b3800]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x29], xmm2
movdqa xmm2, xmmword [0x1400b3760]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x25]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
movdqa xmm3, xmmword [0x1400b3770]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp - 0x21]
xorps xmm3, xmm0
movd dword [rbp - 0x21], xmm3
movdqa xmm2, xmmword [0x1400b3780]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x1d]
xorps xmm2, xmm0
movd dword [rbp - 0x1d], xmm2
movdqa xmm3, xmmword [0x1400b3790]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rbp - 0x19], xmm3
mov ebx, shutdown
mov eax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, bl
xor byte [r8], cl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x1400129f0
lea rdx, [rbp - 0x29]
mov rcx, r15
call r10
test rax, rax
je 0x140012b22
mov qword [0x1400d2770], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140012ac6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140012ac6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140012ac1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140012aa0
cmp r8d, 0xab45c5ee
je 0x140012b04
test r9d, r9d
jne 0x140012a80
mov rax, qword [rax]
jmp 0x140012a50
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov eax, dword [rdi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
jmp 0x140012690
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov eax, dword [rdi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r10d, dword [rcx + rax*4]
add r10, r9
jmp 0x1400127b0
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
mov rcx, r15
call rdx
mov al, 1
mov rcx, qword [rbp - 0x11]
xor rcx, r13
mov qword [r12], rcx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14009cee0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret