Function at 0x1800e44c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov rdi, rcx
mov rax, qword [rbp + 0x77]
mov qword [rbp - 0x71], rax
mov rbx, qword [rbp + 0x6f]
xor r9d, r9d
mov qword [rcx], r9
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov dword [rcx + 0x18], r8d
mov qword [rcx + 0x20], 0xffffffffffffffff
mov r10, qword [rdx]
mov qword [rbp - 0x69], r10
mov ecx, dword [rbp + 0x7f]
cmp ecx, 0xffffffff
cmove ecx, r9d
cmp r8d, 0x80000000
je 0x1800e4557
cmp r8d, 0xc0000000
je 0x1800e46b4
cmp r8d, 0xc0000001
je 0x1800e46a6
cmp r8d, 0xc0000002
jne 0x1800e46fb
mov eax, 4
lea r8d, [rax - 2]
or ecx, eax
mov dword [rbp + 0x7f], ecx
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], r9d
xor edx, edx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
je 0x1800e472a
mov qword [rbp - 0x61], rax
mov rcx, qword [0x1802b0588]
test rcx, rcx
jne 0x1800e45a3
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x29]
xor edx, edx
mov rax, r13
div rcx
mov r14, rdx
mov r15, r13
sub r15, rdx
mov rax, qword [rbp - 0x71]
mov r12, rax
sub r12, rdx
test rax, rax
cmove r12, rax
test rbx, rbx
jne 0x1800e45fe
lea ecx, [rbx + 4]
call fcn.1800e98c0
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x11]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
jne 0x1800e475b
mov rbx, qword [rbp - 1]
cmp rbx, r13
jl 0x1800e47be
sub rbx, r13
lea rax, [rbx + r14]
mov r8, r15
shr r8, 0x20
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov edx, dword [rbp + 0x7f]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test rax, rax
je 0x1800e478d
add rax, r14
mov qword [rdi], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 8], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rdi + 0x20]
mov r8, rbx
mov rdx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1800e46c2
mov rax, rdi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
lea r8d, [rax + 7]
jmp 0x1800e4560
mov eax, 2
lea r8d, [rax + 2]
jmp 0x1800e4560
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1800e75f0
mov rcx, rdi
call fcn.1800ea900
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
int3
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rbp - 0x71]
call fcn.1800e7630
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1800e75f0
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1800e75f0
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1800e75f0
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
int3
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp - 0x71]
call fcn.1800e7630
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.1800e7690
lea rdx, [0x18027edf0]
lea rcx, [rbp - 0x51]
call fcn.18020aad0
int3