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

Disassembly:
mov r11, rsp
push rbp
push r12
push r15
lea rbp, [r11 - 0x28]
sub rsp, 0x110
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rbp], rax
movzx eax, word [0x14004db60]
xor r12d, r12d
movsd xmm0, qword [str..EXTREM]
mov r15d, r12d
mov word [rsp + 0x48], ax
movzx eax, byte [0x14004db62]
mov byte [rsp + 0x4a], al
xor eax, eax
mov qword [rsp + 0x4b], rax
mov byte [rsp + 0x53], al
movzx eax, word [0x14004db70]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x14004db72]
mov byte [rsp + 0x5e], al
xor eax, eax
mov qword [rsp + 0x5f], rax
mov byte [rsp + 0x67], al
mov dword [rsp + 0x78], eax
movzx eax, word [0x14004db90]
mov word [rbp - 0x7c], ax
xor eax, eax
mov qword [rbp - 0x7a], rax
mov word [rbp - 0x72], ax
movzx eax, word [0x14004dba0]
mov word [rbp - 0x68], ax
movzx eax, byte [0x14004dba2]
mov byte [rbp - 0x66], al
xor eax, eax
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [str..ICEEXT]
mov qword [rbp - 0x65], rax
mov byte [rbp - 0x5d], al
movzx eax, word [0x14004dbb0]
movsd qword [rsp + 0x54], xmm0
movups xmm0, xmmword [str..NDBGMSG.VXD]
mov word [rbp - 0x54], ax
xor eax, eax
mov qword [rbp - 0x52], rax
mov word [rbp - 0x4a], ax
movabs rax, 0x5752545c2e5c5c
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x48], rax
xor eax, eax
movsd xmm0, qword [str..RING0]
movsd qword [rsp + 0x7c], xmm0
movsd xmm0, qword [str..SIWVID]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
mov eax, dword [0x14004dbc0]
movsd qword [rbp - 0x70], xmm0
movsd xmm0, qword [str..SYSER]
mov dword [rbp - 0x2c], eax
movzx eax, word [0x14004dbc4]
movsd qword [rbp - 0x5c], xmm0
movsd xmm0, qword [str..SYSERBOOT]
mov word [rbp - 0x28], ax
xor eax, eax
movsd qword [rbp - 0x34], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x26], rax
movups xmmword [rbp - 0x1e], xmm0
mov word [rbp - 0xe], ax
cmp byte [rsp + 0x40], al
je 0x140020d60
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
lea r14, [rsp + 0x40]
nop
movsxd rax, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov dword [rsp + 0x28], r12d
xor edx, edx
mov dword [rsp + 0x20], 3
lea rcx, [rax + rax*4]
lea rax, [rsp + 0x40]
lea rcx, [rax + rcx*4]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140020d27
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140020d07
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140020d07
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xabb276ab
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140020d02
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140020ce0
cmp r8d, 0xba440b7b
je 0x140020d0c
test r9d, r9d
jne 0x140020cc0
mov rcx, qword [rcx]
jmp 0x140020c90
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]
xor ecx, ecx
add rax, r10
call rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 0x14
inc r15d
cmp byte [r14], r12b
jne 0x140020c30
mov r14, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140049470
add rsp, 0x110
pop r15
pop r12
pop rbp
ret