Function at 0x180061860
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
test byte [rax + rbp*4], ah
add byte [rax], al
add bh, al
and al, 0x48
add byte [rax], al
add byte [rax], al
jmp 0x180061888
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jae 0x1800618fd
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jne 0x1800618bc
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
jmp 0x1800618d6
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x10]
mov eax, eax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rax
jbe 0x1800618f8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
jmp 0x1800c256d
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x50]
mov edx, eax
call 0x1800c3ae1
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xbc]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call 0x1800c3afc
cmp qword [rsp + 0x68], rax
je 0x180061955
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800c2b7e
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x30]
call qword [rsp + 0x110]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800619d6
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [rsp + 0x110]
xchg esp, eax
and al, 0x10
add dword [rax], eax
add byte [rax - 0x77], cl
and al, 0x38
cmp qword [rsp + 0x38], 0
jne 0x1800619d6
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800c2bff
mov rax, qword [rsp + 0x38]
shr rax, 0x20
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
shr rcx, 0x20
cmp rax, rcx
jae 0x180061ae5
mov ecx, 0x10
call 0x1800a21d6
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180061a5b
mov r9, qword [rsp + 0x138]
mov r8d, 0x8000
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [rsp + 0x110]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180061ae0
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x58]
call 0x1800c3bde
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800c2d09
jmp 0x1800c28bb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x78
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180061b54
mov r9, qword [rsp + 0x138]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x118]
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x58]
call 0x1800c3c52
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800c2d7d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x16]
and eax, 0x2000
test eax, eax
je 0x180061b7e
mov dword [rsp + 0x60], 1
jmp 0x180061b86
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x128]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x130]
mov qword [rax + 0x48], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x138]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xbc]
mov dword [rax + 0x68], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov edx, eax
mov rcx, qword [rsp + 0x108]
call 0x1800c3cfc
test eax, eax
jne 0x180061c35
jmp 0x1800c2e52
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
call 0x1800943a9
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x30], rcx
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call 0x1800c3b78
test eax, eax
jne 0x180061ce1
jmp 0x1800c2efe
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax + 0x30]
sub rax, rcx
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x180061d28
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
call 0x1800c345e
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x24], eax
jmp 0x180061d34
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x24], 1
mov rcx, qword [rsp + 0x30]
call 0x1800c311e
test eax, eax
jne 0x180061d47
jmp 0x1800c2f64
mov rcx, qword [rsp + 0x30]
call 0x1800c3731
test eax, eax
jne 0x180061d5a
jmp 0x1800c2f77
mov rcx, qword [rsp + 0x30]
call 0x1800c3684
test eax, eax
jne 0x180061d6d
jmp 0x1800c2f8a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
cmp dword [rax + 0x28], 0
je 0x180061e09
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x20], 0
je 0x180061de8
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0xb0]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jne 0x180061dda
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180061e1d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1c], 1
jmp 0x180061e07
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x60], rax
jmp 0x180061e16
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x30]
jmp 0x180061e29
mov rcx, qword [rsp + 0x30]
call 0x1800c2407
xor eax, eax
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call 0x180092fe9
add rsp, 0xf8
ret