Function at 0x1400e5de0
Capabilities:
Get system information on windows
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x130
cmp qword [0x1404cb1d8], 0
je 0x1400e5e10
lea rdx, str.sys_page_size__0
lea rcx, str.assertion_failed:__s
call fcn.1400e36e0
nop word [rax + rax]
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x1404cb1d8], rax
cmp rax, 0x1ff
jbe 0x1400e5f30
lea rbx, [rax - 1]
and rbx, rax
jne 0x1400e5f48
mov r8d, pe_nt_image_headers64
movdqa xmm1, xmmword [0x1403a2d40]
mov rdx, rsi
movdqa xmm2, xmmword [0x1403a2d50]
lea rcx, str.G_SLICE
movaps xmmword [0x1404cb170], xmm1
movaps xmmword [0x1404cb180], xmm2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, eax
test rax, rax
je 0x1400e5f60
cmp rax, 0x7f
jbe 0x1400e60f8
lea r8, str.Unsupported_G_SLICE_value
mov edx, 0x10
lea rcx, [0x1403a1bda]
call fcn.1400d2190
mov dword [rsp + 0x30], 0x1001
xor edx, edx
mov rax, rsi
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
mov dword [rsp + 0x24], edx
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400e6120
movq xmm0, qword [0x1404cb1d8]
mov dword [0x1404cb170], 1
punpcklqdq xmm0, xmm0
movaps xmmword [0x1404cb160], xmm0
pxor xmm0, xmm0
xor eax, eax
movaps xmmword [0x1404cb1a0], xmm0
jmp 0x1400e6050
lea rdx, str.sys_page_size___2__LARGEALIGNMENT
lea rcx, str.assertion_failed:__s
call fcn.1400e36e0
nop dword [rax + rax]
lea rdx, str._sys_page_size___sys_page_size___1____0
lea rcx, str.assertion_failed:__s
call fcn.1400e36e0
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
lea rcx, [0x1403a1d4f]
cmp eax, 0xcb
je 0x1400e5ea3
lea rax, str.always_malloc
mov rdx, rsi
mov r8d, 2
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
lea rax, str.debug_blocks
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 2
call fcn.1400d0ee0
mov esi, dword [0x1404cb170]
test al, 1
je 0x1400e5fc9
mov dword [0x1404cb170], 1
mov esi, 1
test al, 2
je 0x1400e5fd7
mov dword [0x1404cb178], 1
mov rcx, rdi
call fcn.14034efb0
mov rcx, qword [0x1404cb1d8]
movq xmm0, rcx
punpcklqdq xmm0, xmm0
movaps xmmword [0x1404cb160], xmm0
test esi, esi
jne 0x1400e5f18
sub rcx, 0x30
mov edx, 4
shr rcx, 7
call fcn.1400d5370
mov edx, 8
mov qword [0x1404cb1a8], rax
mov rax, qword [0x1404cb168]
lea rcx, [rax - 0x30]
shr rcx, 7
call fcn.1400d5370
mov edx, 8
mov qword [0x1404cb1a0], rax
mov rax, qword [0x1404cb168]
lea rcx, [rax - 0x30]
shr rcx, 7
call fcn.1400d5370
mov qword [0x1404cb1c8], rax
mov rax, qword [0x1403a2d98]
lea rcx, [rsp + 0x28]
mov dword [0x1404cb1b0], 0
mov qword [0x1404cb1b4], rax
mov dword [0x1404cb1d0], 0
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
movabs rax, 0xcccccccccccccccd
movabs rdx, 0xfe624e212ac18000
add rdx, qword [rsp + 0x28]
mov dword [0x1404cb1b4], 0
mul rdx
movabs rax, 0x20c49ba5e353f7cf
shr rdx, 6
mul rdx
mov rax, qword [0x1404cb168]
shr rdx, 4
cmp qword [0x1404cb170], 0
mov dword [0x1404cb1b8], edx
jne 0x1400e60e1
sub rax, 0x30
shr rax, 3
mov rbx, rax
mov qword [0x1404cb190], rbx
add rsp, 0x130
pop rbx
pop rsi
pop rdi
ret
mov rcx, rsi
xor r8d, r8d
mov edx, 0xffffffff
call fcn.1402b36b0
mov rcx, rax
test rax, rax
je 0x1400e5ea3
mov rdi, rax
jmp 0x1400e5f7a
mov esi, dword [0x1404cb170]
xor edi, edi
jmp 0x1400e5fd7