Function at 0x140003c30
Capabilities:
Check os version

Disassembly:
sub rsp, 0x78
cmp qword [0x140036558], 0
je 0x140003c5c
cmp qword [0x140038568], 0
je 0x140003c5c
cmp qword [0x140030548], 0
je 0x140003c5c
mov eax, 1
jmp 0x140003f24
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140003c96
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x118], 0xa
je 0x140003c9d
xor eax, eax
jmp 0x140003f24
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140036560]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140003cd3
mov qword [rsp + 0x58], 1
mov qword [0x140036560], 1
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x40], rax
je 0x140003e8f
mov rax, qword [rsp + 0x40]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x60]
call fcn.140003bc0
mov qword [rsp + 0x38], rax
movabs rax, 0x5dc35dc35dc35dff
cmp qword [rsp + 0x38], rax
jne 0x140003d54
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [0x140038568], rax
jmp 0x140003dac
movabs rax, 0x5dc35dc35dc35e22
cmp qword [rsp + 0x38], rax
jne 0x140003dac
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [0x140036558], rax
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x30]
mov qword [rcx + rax], rdx
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x38]
mov qword [rcx + rax + 8], rdx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
jmp 0x140003dc8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [0x140036560]
jae 0x140003e1a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x30]
cmp qword [rcx + rax], rdx
je 0x140003e0e
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
lea rcx, [0x140036568]
mov rax, qword [rcx + rax + 8]
cmp qword [rsp + 0x38], rax
jne 0x140003e18
mov dword [rsp + 0x30], 1
jmp 0x140003e1a
jmp 0x140003dbe
cmp dword [rsp + 0x30], 0
jne 0x140003e67
imul rax, qword [0x140036560], 0x10
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x30]
mov qword [rcx + rax], rdx
imul rax, qword [0x140036560], 0x10
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x38]
mov qword [rcx + rax + 8], rdx
mov rax, qword [0x140036560]
inc rax
mov qword [0x140036560], rax
cmp qword [0x140036558], 0
je 0x140003e7d
cmp qword [0x140038568], 0
je 0x140003e7d
jmp 0x140003e8f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x140003cf2
cmp qword [0x140036558], 0
jne 0x140003edf
call fcn.140003f30
mov qword [0x140036558], rax
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140036568]
mov rdx, qword [0x140036558]
mov qword [rcx + rax], rdx
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140036568]
movabs rdx, 0x5dc35dc35dc35e22
mov qword [rcx + rax + 8], rdx
cmp qword [0x140030548], 0
jne 0x140003efd
lea rcx, str.kernelbase
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140030548], rax
cmp qword [0x140036558], 0
je 0x140003f22
cmp qword [0x140038568], 0
je 0x140003f22
cmp qword [0x140030548], 0
je 0x140003f22
mov eax, 1
jmp 0x140003f24
xor eax, eax
add rsp, 0x78
ret