Function at 0x140052490
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, 0xa0
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 r15, 0x90f9c52880981bfb
movabs rsi, 0x59194d8e2b40e046
xor r12d, r12d
mov eax, dword [r14 + r13]
cmp dword [0x1401d561c], eax
jle 0x140052824
lea rcx, [0x1401d561c]
call fcn.1400d23c8
cmp dword [0x1401d561c], 0xffffffff
jne 0x140052824
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], rbx
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rdi
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rsi
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [rbp - 0x49]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x49], xmm0
mov r15d, r12d
mov dword [rbp - 0x39], r12d
lea r9, [rbp - 0x39]
xor r8d, r8d
xor edx, edx
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140052738
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 0x140052627
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140052627
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 0x140052622
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 0x140052600
cmp edx, 0x9f5cbd2
je 0x140052acd
test r8d, r8d
jne 0x1400525e0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x14005263d
cmp qword [rax + 0x30], 0
jne 0x1400525b0
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 0x1400526e7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400526e7
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 0x1400526e2
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 0x1400526c0
cmp edx, 0xaab6aabb
je 0x140052aec
test r8d, r8d
jne 0x1400526a0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400526fd
cmp qword [rax + 0x30], 0
jne 0x140052670
mov r10, r12
mov edx, dword [rbp - 0x39]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call r10
mov r15, rax
lea r9, [rbp - 0x39]
mov r8d, dword [rbp - 0x39]
mov rdx, rax
mov ecx, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140052590
test eax, eax
jns 0x140052b0b
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 0x1400527d7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400527d7
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, 0xd9eb9217
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400527d2
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 0x1400527b0
cmp edx, 0x2d442f08
je 0x140052d05
test r8d, r8d
jne 0x140052790
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400527ed
cmp qword [rax + 0x30], 0
jne 0x140052760
mov r10, r12
mov r8d, 0x8000
xor edx, edx
mov rcx, r15
call r10
mov r14, r12
mov qword [0x1401d56d8], r14
lea rcx, [0x1401d561c]
call fcn.1400d235c
mov r14d, 4
movabs r15, 0x90f9c52880981bfb
mov eax, dword [r14 + r13]
cmp dword [0x1401d5688], eax
jle 0x14005297e
lea rcx, [0x1401d5688]
call fcn.1400d23c8
cmp dword [0x1401d5688], 0xffffffff
jne 0x14005297e
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 0x1400528e7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400528e7
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 0x1400528e2
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 0x1400528c0
cmp edx, 0x21a815c
je 0x140052d24
test r8d, r8d
jne 0x1400528a0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x1400528fd
cmp qword [rax + 0x30], 0
jne 0x140052870
mov r10, r12
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x49], rax
movabs rax, 0x59194d8e4e388568
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x41], rax
movabs rax, 0xfc97b743f3f76f95
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
movabs rax, 0x59194d8e2b40e046
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [rbp - 0x49]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x49], xmm0
xor edx, edx
mov r8d, 1
lea rcx, [rbp - 0x49]
call r10
mov qword [0x1401d56c0], rax
lea rcx, [0x1401d5688]
call fcn.1400d235c
mov eax, dword [r14 + r13]
cmp dword [0x1401d5678], eax
jle 0x1400529b9
lea rcx, [0x1401d5678]
call fcn.1400d23c8
cmp dword [0x1401d5678], 0xffffffff
jne 0x1400529b9
mov rax, qword [0x1401d56c0]
mov qword [0x1401d5660], rax
lea rcx, [0x1401d5678]
call fcn.1400d235c
mov ecx, 0x5a4d
mov rax, qword [0x1401d5660]
cmp word [rax], cx
jne 0x140052d57
mov eax, dword [r14 + r13]
cmp dword [0x1401d5658], eax
jle 0x140052a14
lea rcx, [0x1401d5658]
call fcn.1400d23c8
cmp dword [0x1401d5658], 0xffffffff
jne 0x140052a14
mov rax, qword [0x1401d5660]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401d56c0]
mov qword [0x1401d56b0], rdx
lea rcx, [0x1401d5658]
call fcn.1400d235c
mov rax, qword [0x1401d56b0]
cmp dword [rax], 0x4550
jne 0x140052d57
mov rbx, qword [0x1401d56c0]
mov ecx, dword [rax + 0x50]
movdqa xmm0, xmmword [0x1400fb110]
movdqu xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1400fb0f0]
movdqu xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [0x1400fb3b0]
movdqu xmmword [rbp + 0x17], xmm0
lea r10, [rbx + rcx]
mov rax, r10
cmp rcx, 0x18
jb 0x140052aac
lea r11, [r10 - 0x18]
mov r9, rbx
nop dword [rax]
mov rdx, r9
lea rcx, [rbp - 9]
nop word [rax + rax]
movzx r8d, word [rcx]
movzx eax, r8w
shr ax, 8
cmp al, 0x3f
je 0x140052a99
cmp byte [rdx], r8b
jne 0x140052d43
inc rdx
add rcx, 2
lea rax, [rbp + 0x27]
cmp rcx, rax
jne 0x140052a80
mov rax, r9
cmp rax, r10
cmovne r12, rax
mov eax, r12d
sub eax, ebx
test r12, r12
je 0x140052d57
add rax, qword [0x1401d56d8]
jmp 0x140052d59
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 0x140052640
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 0x140052700
mov ebx, r12d
cmp dword [r15], ebx
jbe 0x140052b66
mov eax, ebx
imul rcx, rax, 0x128
lea rdi, [r15 + rcx]
movzx eax, word [rdi + 0x2e]
add rax, r15
lea rdx, [rcx + 0x30]
add rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140044e90
nop
lea rcx, [rbp - 0x29]
call fcn.140045570
lea rdx, [rbp - 0x49]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140052c16
lea rcx, [rbp - 0x29]
call fcn.140044e30
inc ebx
cmp ebx, dword [r15]
jb 0x140052b13
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 0x140052bf7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140052bf7
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, 0xa08ab8aa
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140052bf2
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 0x140052bd0
cmp edx, 0x4c61685f
je 0x140052d05
test r8d, r8d
jne 0x140052bb0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x1400527ed
cmp qword [rax + 0x30], 0
jne 0x140052b80
jmp 0x1400527ed
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 0x140052cb3
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140052cb3
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, 0xb0069d06
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140052cae
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 0x140052c90
cmp edx, 0x7141eb9b
je 0x140052ce9
test r8d, r8d
jne 0x140052c70
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x140052cc9
cmp qword [rax + 0x30], 0
jne 0x140052c40
mov r10, r12
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call r10
nop
lea rcx, [rbp - 0x29]
call fcn.140044e30
jmp 0x140052801
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 0x140052ccc
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 0x1400527f0
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 0x140052900
mov rax, r10
cmp r9, r11
je 0x140052aac
inc r9
jmp 0x140052a70
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0xa0]
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