Function at 0x140051b70
Capabilities:
Access peb ldr_data
Encode data using xor
Get system information on windows
Hash data using fnv
Make suspicious ntquerysysteminformation call
Parse pe header
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 - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, 4
mov rax, qword gs:[0x58]
mov r13, qword [rax]
movabs rbx, 0x59194d8e4e388568
movabs rdi, 0xfc97b743f3f76f95
movabs rsi, 0x59194d8e2b40e046
movabs r15, 0x90f9c52880981bfb
xor r12d, r12d
mov eax, dword [r14 + r13]
cmp dword [0x1401d56cc], eax
jle 0x140051f04
lea rcx, [0x1401d56cc]
call fcn.1400d23c8
cmp dword [0x1401d56cc], 0xffffffff
jne 0x140051f04
mov qword [rbp - 0x49], r15
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rbx
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x49], rsi
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x59]
xorps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
mov r15d, r12d
mov dword [rbp - 0x49], r12d
lea r9, [rbp - 0x49]
xor r8d, r8d
xor edx, edx
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140051e18
nop dword [rax]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop word [rax + rax]
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov r11d, dword [rax + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x140051d07
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140051d07
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
mov edx, 0x548e8225
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140051d02
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140051ce0
cmp edx, 0x9f5cbd2
je 0x1400521cd
test r8d, r8d
jne 0x140051cc0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140051d1d
cmp qword [rax + 0x30], 0
jne 0x140051c90
mov r9, r12
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call r9
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140051dc7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140051dc7
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov eax, dword [rax + r9]
add rax, r9
mov edx, 0xe2fbad9f
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140051dc2
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 0x140051da0
cmp edx, 0xaab6aabb
je 0x1400521ec
test r8d, r8d
jne 0x140051d80
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140051ddd
cmp qword [rax + 0x30], 0
jne 0x140051d50
mov r10, r12
mov edx, dword [rbp - 0x49]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call r10
mov r15, rax
lea r9, [rbp - 0x49]
mov r8d, dword [rbp - 0x49]
mov rdx, rax
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140051c70
test eax, eax
jns 0x14005220b
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140051eb7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140051eb7
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
mov edx, 0xd9eb9217
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140051eb2
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140051e90
cmp edx, 0x2d442f08
je 0x140052405
test r8d, r8d
jne 0x140051e70
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140051ecd
cmp qword [rax + 0x30], 0
jne 0x140051e40
mov r10, r12
mov r8d, 0x8000
xor edx, edx
mov rcx, r15
call r10
mov r14, r12
mov qword [0x1401d5650], r14
lea rcx, [0x1401d56cc]
call fcn.1400d235c
mov r14d, 4
movabs r15, 0x90f9c52880981bfb
mov eax, dword [r14 + r13]
cmp dword [0x1401d56c8], eax
jle 0x14005205e
lea rcx, [0x1401d56c8]
call fcn.1400d23c8
cmp dword [0x1401d56c8], 0xffffffff
jne 0x14005205e
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140051fc7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140051fc7
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rdi]
add rcx, r9
mov edx, 0xa0168149
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140051fc2
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140051fa0
cmp edx, 0x21a815c
je 0x140052424
test r8d, r8d
jne 0x140051f80
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140051fdd
cmp qword [rax + 0x30], 0
jne 0x140051f50
mov r10, r12
mov qword [rbp - 0x49], r15
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x59], rax
movabs rax, 0x59194d8e4e388568
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x51], rax
movabs rax, 0xfc97b743f3f76f95
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
movabs rax, 0x59194d8e2b40e046
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x39]
xorps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
xor edx, edx
mov r8d, 1
lea rcx, [rbp - 0x59]
call r10
mov qword [0x1401d5670], rax
lea rcx, [0x1401d56c8]
call fcn.1400d235c
mov eax, dword [r14 + r13]
cmp dword [0x1401d5618], eax
jle 0x140052099
lea rcx, [0x1401d5618]
call fcn.1400d23c8
cmp dword [0x1401d5618], 0xffffffff
jne 0x140052099
mov rax, qword [0x1401d5670]
mov qword [0x1401d56a8], rax
lea rcx, [0x1401d5618]
call fcn.1400d235c
mov ecx, 0x5a4d
mov rax, qword [0x1401d56a8]
cmp word [rax], cx
jne 0x140052457
mov eax, dword [r14 + r13]
cmp dword [0x1401d5668], eax
jle 0x1400520f4
lea rcx, [0x1401d5668]
call fcn.1400d23c8
cmp dword [0x1401d5668], 0xffffffff
jne 0x1400520f4
mov rax, qword [0x1401d56a8]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401d5670]
mov qword [0x1401d5680], rdx
lea rcx, [0x1401d5668]
call fcn.1400d235c
mov rax, qword [0x1401d5680]
cmp dword [rax], 0x4550
jne 0x140052457
mov rbx, qword [0x1401d5670]
mov ecx, dword [rax + 0x50]
movdqa xmm0, xmmword [0x1400fb100]
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1400fb3a0]
movdqu xmmword [rbp - 9], xmm1
movdqa xmm0, xmmword [0x1400fb0e0]
movdqu xmmword [rbp + 7], xmm0
mov dword [rbp + 0x17], 0x3f003f00
mov dword [rbp + 0x1b], 0x78483f00
mov dword [rbp + 0x1f], 0x78c17803
mov word [rbp + 0x23], 0x78c3
lea r10, [rbx + rcx]
mov rax, r10
cmp rcx, 0x1f
jb 0x1400521ac
lea r11, [r10 - 0x1f]
mov r9, rbx
nop word [rax + rax]
mov rdx, r9
lea rcx, [rbp - 0x19]
nop word [rax + rax]
movzx r8d, word [rcx]
movzx eax, r8w
shr ax, 8
cmp al, 0x3f
je 0x140052199
cmp byte [rdx], r8b
jne 0x140052443
inc rdx
add rcx, 2
lea rax, [rbp + 0x25]
cmp rcx, rax
jne 0x140052180
mov rax, r9
cmp rax, r10
cmovne r12, rax
mov eax, r12d
sub eax, ebx
test r12, r12
je 0x140052457
add rax, qword [0x1401d5650]
jmp 0x140052459
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [r11 + 0x24]
add rax, r10
movzx eax, word [rax + r8*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
jmp 0x140051d20
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r10d, dword [rcx + rax*4]
add r10, r9
jmp 0x140051de0
mov ebx, r12d
cmp dword [r15], r12d
jbe 0x140052266
mov eax, ebx
imul rcx, rax, 0x128
lea rdi, [rcx + r15]
movzx edx, word [rdi + 0x2e]
add rcx, 0x30
add rdx, rcx
add rdx, r15
lea rcx, [rbp - 0x39]
call fcn.140044e90
nop
lea rcx, [rbp - 0x39]
call fcn.140045570
lea rdx, [rbp - 0x59]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140052316
lea rcx, [rbp - 0x39]
call fcn.140044e30
inc ebx
cmp ebx, dword [r15]
jb 0x140052213
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400522f7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400522f7
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0xa08ab8aa
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400522f2
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x1400522d0
cmp edx, 0x4c61685f
je 0x140052405
test r8d, r8d
jne 0x1400522b0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140051ecd
cmp qword [rax + 0x30], 0
jne 0x140052280
jmp 0x140051ecd
mov r14, qword [rdi + 0x18]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400523b3
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400523b3
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0xb0069d06
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400523ae
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140052390
cmp edx, 0x7141eb9b
je 0x1400523e9
test r8d, r8d
jne 0x140052370
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400523c9
cmp qword [rax + 0x30], 0
jne 0x140052340
mov r10, r12
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call r10
nop
lea rcx, [rbp - 0x39]
call fcn.140044e30
jmp 0x140051ee1
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r10d, dword [rcx + rax*4]
add r10, r9
jmp 0x1400523cc
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r10d, dword [rcx + rax*4]
add r10, r9
jmp 0x140051ed0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x140051fe0
mov rax, r10
cmp r9, r11
je 0x1400521ac
inc r9
jmp 0x140052170
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0xb0]
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