Function at 0x140020900
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 [0x14005b040]
xor rax, rsp
mov qword [rbp], rax
movzx eax, word [0x14004ab50]
xor r12d, r12d
movsd xmm0, qword [str..EXTREM]
mov r15d, r12d
mov word [rsp + 0x48], ax
movzx eax, byte [0x14004ab52]
mov byte [rsp + 0x4a], al
xor eax, eax
mov qword [rsp + 0x4b], rax
mov byte [rsp + 0x53], al
movzx eax, word [0x14004ab60]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x14004ab62]
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 [0x14004ab80]
mov word [rbp - 0x7c], ax
xor eax, eax
mov qword [rbp - 0x7a], rax
mov word [rbp - 0x72], ax
movzx eax, word [0x14004ab90]
mov word [rbp - 0x68], ax
movzx eax, byte [0x14004ab92]
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 [0x14004aba0]
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 [0x14004abb0]
movsd qword [rbp - 0x70], xmm0
movsd xmm0, qword [str..SYSER]
mov dword [rbp - 0x2c], eax
movzx eax, word [0x14004abb4]
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 0x140020ba0
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 0x140020b67
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 0x140020b47
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140020b47
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x15788ec1
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140020b42
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140020b20
cmp r8d, 0x5295ad61
je 0x140020b4c
test r9d, r9d
jne 0x140020b00
mov rcx, qword [rcx]
jmp 0x140020ad0
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 0x140020a70
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.140045f60
add rsp, 0x110
pop r15
pop r12
pop rbp
ret