Function at 0x1800eb720
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
sub rsp, 0x198
mov qword [rsp + 0xf0], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.18017d2a8
lea rcx, [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x158]
test eax, eax
je 0x1800eb764
mov dword [rsp + 0x34], 1
jmp 0x1800eb76c
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [0x1803babd8], eax
mov ecx, 0x678
call fcn.18028fc4c
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1800eb7af
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x88]
call fcn.180290068
mov qword [rsp + 0x60], rax
jmp 0x1800eb7b8
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [0x1803bad80], rax
mov ecx, 0x1a0
call fcn.18017dc14
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1800eb805
mov rcx, qword [rsp + 0x80]
call fcn.18028cbc0
mov qword [rsp + 0x70], rax
jmp 0x1800eb80e
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [0x1803bad68], rax
mov rdx, qword [0x1803babf0]
lea rcx, [rsp + 0xd0]
call fcn.1801e63d0
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xf8]
call fcn.180003500
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x138]
call fcn.1800eb170
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.180073df0
lea rcx, [rsp + 0x138]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xf8]
call fcn.180073fc0
lea rcx, [rsp + 0xd0]
call fcn.180074060
mov rcx, rax
call fcn.1802be5d0
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
mov r8d, dword [rsp + 0x40]
lea rdx, [0x1803a7430]
lea rcx, [rsp + 0x118]
call fcn.1801e9260
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180074060
mov r8, rax
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x118]
call fcn.180073fc0
cmp qword [rsp + 0x38], 0
je 0x1800eb99f
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x1800eb99f
mov qword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x48], rax
mov edx, 8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800eb988
xor edx, edx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call fcn.1801e47e0
xor eax, eax
test eax, eax
jne 0x1800eb982
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xd0]
call fcn.180073fc0
mov ecx, 0xc8
call fcn.18017dc14
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1800eb9e0
xor r9d, r9d
mov r8, qword [0x1803babf0]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.1802c2e00
mov qword [rsp + 0x68], rax
jmp 0x1800eb9e9
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [0x1803babd0], rax
mov ecx, 0x30
call fcn.18017dc14
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800eba34
mov rdx, qword [0x1803babd0]
mov rcx, qword [rsp + 0x78]
call fcn.1800c3e80
mov qword [rsp + 0x50], rax
jmp 0x1800eba3d
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [0x1803babe8], rax
xor ecx, ecx
call fcn.18017c8d4
mov dword [rsp + 0x44], eax
mov r8d, 3
lea rdx, [0x1803a7480]
mov rcx, qword [0x1803babd0]
call fcn.1802bef40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1800eba92
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x44], eax
jle 0x1800eba96
mov al, 1
jmp 0x1800eba9e
xor eax, eax
test eax, eax
jne 0x1800eba96
xor al, al
add rsp, 0x198
ret