Function at 0x1400188c0
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
push rbp
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rsi, rdx
mov qword [rbp + 0x60], rdx
movups xmm0, xmmword [0x14001b860]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x14001b870]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x14001b880]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x14001b890]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x14001b8a0]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [0x14001b8b0]
movups xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [0x14001b8c0]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [0x14001b8d0]
movsd qword [rbp + 0x50], xmm0
mov eax, dword [0x14001b8d8]
mov dword [rbp + 0x58], eax
xor r8d, r8d
mov r10d, dword [0x140021020]
cmp r10d, 2
jl 0x140018aa5
movdqa xmm5, xmmword [0x14001c330]
movdqa xmm4, xmmword [0x14001c380]
movdqa xmm6, xmmword [0x14001c350]
movdqa xmm0, xmmword [0x14001c390]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x1c]
mov edx, dword [rsp + 0x50]
nop
movd xmm2, r8d
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
psrad xmm1, 1
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
andps xmm2, xmmword [0x14001c370]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14001c370]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x78
jl 0x1400189a0
cmp r8d, 0x7c
jge 0x140018ae1
movsxd rax, r8d
lea r9, [rbp - 0x20]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x7c
jl 0x140018ab0
movups xmm0, xmmword [str.TMKVe]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x14001b820]
movups xmmword [rbp - 0x80], xmm0
mov eax, dword [0x14001b858]
movups xmm0, xmmword [str.m_6_51]
movups xmm1, xmmword [0x14001b810]
mov dword [rbp - 0x48], eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
movzx eax, byte [0x14001b85c]
movsd xmm0, qword [0x14001b850]
movups xmm1, xmmword [0x14001b830]
mov byte [rbp - 0x44], al
movsd qword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x70], xmm1
xor r8d, r8d
cmp r10d, 2
jl 0x140018c85
movdqa xmm5, xmmword [0x14001c330]
movdqa xmm4, xmmword [0x14001c380]
movdqa xmm6, xmmword [0x14001c350]
movdqa xmm0, xmmword [0x14001c390]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x50]
nop word [rax + rax]
movd xmm2, r8d
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
psrad xmm1, 1
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
andps xmm2, xmmword [0x14001c370]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14001c370]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x58
jl 0x140018b80
cmp r8d, 0x5d
jge 0x140018cc1
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x5d
jl 0x140018c90
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140018cd0
mov rdx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x140018f7d
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140018d00
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
mov r8, rsi
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140002880
nop
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140018d30
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140004890
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140018db8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018db3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018db3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400194d8
movdqa xmm0, xmmword [0x14001c320]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rax, qword [0x140021a70]
test rax, rax
jne 0x140018e82
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rdi, r14
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140018e63
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140018e63
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov eax, dword [rax + r11]
add rax, r9
mov edx, 0xa7a3b409
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140018e5e
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x140018e40
cmp edx, 0xd971fd68
je 0x140018ed2
test r8d, r8d
jne 0x140018e20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r14
je 0x140018e79
cmp qword [rax + 0x30], 0
jne 0x140018df0
xor eax, eax
mov qword [0x140021a70], rax
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rcx, qword [rbp + 0x68]
call rax
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140018ef0
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018eeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rbx + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x140018e7b
call fcn.1400194d8
movdqa xmm0, xmmword [0x14001c320]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140018f37
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140018f32
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018f76
mov rcx, r8
call fcn.1400194d8
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140019600
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004850
nop
int3