Function at 0x140040220
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 [0x14032f070]
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
test r8, r8
jne 0x1400402f1
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 0x1400402d8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400402d8
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 0x1400402d3
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 0x1400402b0
cmp edx, 0x53b2070f
je 0x1400405ee
test r8d, r8d
jne 0x140040290
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140040260
mov r8, rbx
mov qword [0x14032f070], r8
movzx eax, word [0x140051d20]
lea rcx, [rbp - 0x50]
movsd xmm0, qword [str._QW_t_tI]
movsd qword [rbp - 0x50], xmm0
xor byte [rbp - 0x4f], 0x38
xor byte [rbp - 0x4e], 0x39
xor byte [rbp - 0x4d], 0x3a
xor byte [rbp - 0x4c], 0x3b
xor byte [rbp - 0x4b], 0x3c
xor byte [rbp - 0x4a], 0x3d
xor byte [rbp - 0x49], 0x3e
mov word [rbp - 0x48], ax
movzx eax, byte [0x140051d22]
xor byte [rbp - 0x48], 0x3f
xor al, 0x41
xor byte [rbp - 0x47], 0x40
mov byte [rbp - 0x46], al
mov byte [rbp - 0x50], 0x77
call r8
mov r10, qword [0x14032f068]
mov r15, rax
test r10, r10
jne 0x140040401
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 0x1400403e8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400403e8
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 0x1400403e3
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 0x1400403c0
cmp edx, 0xf8f45725
je 0x14004060b
test r8d, r8d
jne 0x1400403a0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140040370
mov r10, rbx
mov qword [0x14032f068], r10
cmp dword [0x14032ea50], 2
mov eax, dword [0x140051d38]
movups xmm0, xmmword [str.yLlINtPU__6]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140051d3c]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x140051d3e]
mov byte [rbp - 0x1a], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140040589
movdqa xmm0, xmmword [0x140052050]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140050be0]
movdqa xmm4, xmmword [0x140052040]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140052020]
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, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140052030]
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, 1
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 [0x140052030]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140040480
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x17
jge 0x1400405ce
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
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, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x17
jl 0x1400405a0
lea rdx, [rbp - 0x30]
mov rcx, r15
call r10
test rax, rax
jne 0x140040628
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 0x1400402ea
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 0x1400403fa
mov qword [0x14032ed90], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400406b7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400406b7
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 0x1400406b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140040690
cmp r8d, 0xab45c5ee
je 0x1400406bc
test r9d, r9d
jne 0x140040670
mov rax, qword [rax]
jmp 0x140040640
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