Function at 0x140020fb0
Capabilities:
Access peb ldr_data
Encode data using xor
Generate random numbers using a mersenne twister
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13b0]
mov eax, 0x14b0
call fcn.140039310
sub rsp, rax
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rbp + 0x13a0], rax
xor r12d, r12d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140021086
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140021086
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 0x140021081
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140021060
cmp r8d, 0x18017917
je 0x14002108b
test r9d, r9d
jne 0x140021040
mov rax, qword [rax]
jmp 0x140021010
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov ecx, dword [rcx + rax*4]
add rcx, r10
call rcx
mov r13, rax
mov ecx, 0x20
call fcn.140038b18
mov r14, rax
mov qword [rsp + 0x60], rax
movabs rax, 0xa971e50dccc93a05
mov qword [rbp + 0x1320], rax
movabs rax, 0x935689b4884a23c2
mov qword [rbp + 0x1328], rax
movabs rax, 0x2dea9497da668b87
mov qword [rbp + 0x1330], rax
movabs rax, 0x9be088ae0f1cbdac
mov qword [rbp + 0x1338], rax
movabs rax, 0x39e284c902fcc9c9
mov qword [rbp + 0x1340], rax
movabs rax, 0xe8a3516040b383b6
mov qword [rbp + 0x1348], rax
movabs rax, 0x69002913cb6fafcb
mov qword [rbp + 0x1350], rax
movabs rax, 0xfa22b40adc1a7020
mov qword [rbp + 0x1358], rax
movabs rax, 0x9e47d039fffb0b35
mov qword [rsp + 0x20], rax
movabs rax, 0xd513cdf7ca0b1afa
mov qword [rsp + 0x28], rax
movabs rax, 0x63a7d8dc902fc3c0
mov qword [rsp + 0x30], rax
movabs rax, 0xcdb5dcfd5d4dede3
mov qword [rsp + 0x38], rax
movabs rax, 0x5d81e6a858a5919e
mov qword [rsp + 0x40], rax
movabs rax, 0x84c83b0928d4e5d3
mov qword [rsp + 0x48], rax
movabs rax, 0x1d735b62bb00c1a6
mov qword [rsp + 0x50], rax
movabs rax, 0xfa22ce73a46d0655
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [rbp + 0x1320]
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rbp + 0x1330]
pxor xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rbp + 0x1340]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rbp + 0x1350]
pxor xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rax, [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140021230
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14000e5d0
nop
call fcn.140038254
mov edx, eax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov ebx, 1
mov ecx, ebx
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x6c], edx
inc rcx
cmp rcx, 0x270
jb 0x140021270
mov dword [rbp - 0x70], 0x270
lea rcx, [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
cmp qword [rbp - 0x80], 0x10
jb 0x1400212b1
mov rcx, qword [rsp + 0x68]
add rdx, rcx
jmp 0x1400212b9
add rdx, rcx
lea rcx, [rsp + 0x68]
lea r8, [rbp - 0x70]
call fcn.14002f9c0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
mov r15d, 0x40
mov r8d, r15d
cmp qword [rsp + 0x78], r15
cmovb r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.14000e5d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14002133b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002175d
call fcn.140038b10
nop
mov ecx, 0x20
call fcn.140038b18
mov rsi, rax
mov qword [rsp + 0x60], rax
movabs rax, 0xa971e50dccc93a05
mov qword [rbp + 0x1360], rax
movabs rax, 0x935689b4884a23c2
mov qword [rbp + 0x1368], rax
movabs rax, 0x2dea9497da668b87
mov qword [rbp + 0x1370], rax
movabs rax, 0x9be088ae0f1cbdac
mov qword [rbp + 0x1378], rax
movabs rax, 0x39e284c902fcc9c9
mov qword [rbp + 0x1380], rax
movabs rax, 0xe8a3516040b383b6
mov qword [rbp + 0x1388], rax
movabs rax, 0x69002913cb6fafcb
mov qword [rbp + 0x1390], rax
movabs rax, 0xfa22b40adc1a7020
mov qword [rbp + 0x1398], rax
movabs rax, 0x9e47d039fffb0b35
mov qword [rsp + 0x20], rax
movabs rax, 0xd513cdf7ca0b1afa
mov qword [rsp + 0x28], rax
movabs rax, 0x63a7d8dc902fc3c0
mov qword [rsp + 0x30], rax
movabs rax, 0xcdb5dcfd5d4dede3
mov qword [rsp + 0x38], rax
movabs rax, 0x5d81e6a858a5919e
mov qword [rsp + 0x40], rax
movabs rax, 0x84c83b0928d4e5d3
mov qword [rsp + 0x48], rax
movabs rax, 0x1d735b62bb00c1a6
mov qword [rsp + 0x50], rax
movabs rax, 0xfa22ce73a46d0655
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [rbp + 0x1360]
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rbp + 0x1370]
pxor xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rbp + 0x1380]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rbp + 0x1390]
pxor xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rax, [rsp + 0x20]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400214b3
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14000e5d0
nop
call fcn.140038254
mov ecx, eax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rbp + rbx*4 - 0x6c], ecx
inc rbx
cmp rbx, 0x270
jb 0x1400214f0
mov dword [rbp - 0x70], 0x270
lea rcx, [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
cmp qword [rbp - 0x80], 0x10
jb 0x140021531
mov rcx, qword [rsp + 0x68]
add rdx, rcx
jmp 0x140021539
add rdx, rcx
lea rcx, [rsp + 0x68]
lea r8, [rbp - 0x70]
call fcn.14002f9c0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
cmp qword [rsp + 0x78], 0x40
cmovb r15, qword [rsp + 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, r15
mov rcx, rsi
call fcn.14000e5d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400215b5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400215af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021763
call fcn.140038b10
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400215ef
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400215ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021757
mov rcx, r8
call fcn.140038b10
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov edx, 0x20
mov rcx, r14
call fcn.140038b10
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140021646
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140021641
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021757
mov rcx, r8
call fcn.140038b10
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov edx, 0x20
mov rcx, rsi
call fcn.140038b10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400216f6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400216f6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400216f1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400216d0
cmp r8d, 0x18017917
je 0x1400216fb
test r9d, r9d
jne 0x1400216b0
mov rax, qword [rax]
jmp 0x140021680
mov edx, dword [rbx + 0x24]
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov ecx, dword [rdx + r8*4]
add rcx, r10
call rcx
sub eax, r13d
mov ecx, 0x1006
cmp eax, 0x1e
cmova r12d, ecx
mov eax, r12d
mov rcx, qword [rbp + 0x13a0]
xor rcx, rsp
call fcn.140038af0
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140047290
nop
call fcn.140047290
nop
call fcn.140047290
int3