Function at 0x140002d30
Capabilities:
Access pe header
Access peb ldr_data
Check os version

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
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14034dac0]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
lea rcx, [0x14013cb58]
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x60], rax
mov r12, rax
lea r13, [0x14013cb6c]
test rax, rax
je 0x140002fd1
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
xorps xmm0, xmm0
mov qword [rbp - 0x48], 0x18
mov rsi, rax
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x20], rax
lea rdi, [rbp - 0x30]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x10]
xor eax, eax
lea rdx, [rbp - 0x14]
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], rax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp - 0x10], eax
lea rdi, [rbp - 0x18]
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x18], 6
jne 0x140002e07
cmp dword [rbp - 0x14], 2
jne 0x140002e07
mov rbx, r12
mov rcx, rsi
jmp 0x140002efb
xor eax, eax
lea rdi, [rbp - 0x18]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x10]
mov dword [rbp - 0x10], eax
lea rdx, [rbp - 0x14]
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x18], 6
jne 0x140002e39
cmp dword [rbp - 0x14], 3
je 0x140002e43
mov eax, r14d
seta al
test eax, eax
je 0x140002e55
mov rbx, r12
lea r13, str..mrdata
mov rcx, rsi
jmp 0x140002efb
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x18]
add r15, 0x10
mov rsi, qword [r15]
cmp rsi, r15
je 0x140002fd1
movabs r12, 0xaabbcc11ffee00
mov rdi, qword [rsi + 0x30]
lea r14, [rsi]
mov rsi, qword [rsi]
test rdi, rdi
je 0x140002ec2
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140002ec2
movsxd rdx, dword [rdi + 0x3c]
movzx ecx, word [rdx + rdi + 6]
lea eax, [rcx + rcx*4]
lea eax, [rdx + rax*8]
cdqe
cmp qword [rax + rdi + 0x108], r12
jne 0x140002ec2
cmp qword [rax + rdi + 0x118], rdi
je 0x140002ed6
test rbx, rbx
je 0x140002ed2
cmp qword [r14 + 0x30], rbx
cmovb rbx, qword [r14 + 0x30]
jmp 0x140002ed6
mov rbx, qword [r14 + 0x30]
cmp rsi, r15
jne 0x140002e80
mov r12, qword [rbp - 0x60]
test rbx, rbx
je 0x140002fd1
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, qword [rbp - 0x58]
xor r14d, r14d
mov rcx, rax
test rcx, rcx
je 0x140002fd1
test rsi, rsi
je 0x140002fd1
cmp dword [rcx + 0xa4], 0
je 0x140002f25
mov eax, dword [rcx + 0xa0]
add rax, rbx
mov qword [rbp - 0x30], rax
jmp 0x140002f29
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rbx
lea r8, [rbp - 0x50]
mov eax, dword [rcx + 0x50]
mov rdx, r13
mov dword [rbp - 0x20], eax
mov eax, dword [rcx + 0xa4]
mov rcx, r12
mov dword [rbp - 0x1c], eax
call fcn.140002ae0
test eax, eax
js 0x140002fd1
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbp - 0x40]
lea rdi, [rbp - 0x18]
xor eax, eax
lea r8, [rbp - 0x10]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x14]
mov dword [rbp - 0x10], eax
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x18], 6
jne 0x140002f96
cmp dword [rbp - 0x14], 2
je 0x140002fa0
mov eax, r14d
seta al
test eax, eax
je 0x140002faf
cmp dword [rbx - 0xc], 0x200
jne 0x140002fbe
cmp dword [rbx - 4], 0
je 0x140003000
cmp dword [rbx - 0xc], 0x200
jne 0x140002fbe
cmp dword [rbx - 8], 0
je 0x140003000
lea r8, [rbp - 0x50]
mov rdx, r13
mov rcx, r12
call fcn.140002ae0
test eax, eax
jns 0x140002f60
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006ee80
lea r11, [rsp + 0x80]
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
lea rax, [rbx - 0x10]
jmp 0x140002fd3