Function at 0x1400e4830
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0xd0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1400e7eb0
mov rbx, qword [rdi]
mov rax, qword [0x140261678]
test rax, rax
je 0x1400e4af3
mov rcx, qword [0x140261680]
cmp rcx, rbx
ja 0x1400e4b2e
cmp rax, rbx
jb 0x1400e4b2e
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1400e4b2e
lea r8, [rsp + 0x30]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400e48d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400e4b2e
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov ebx, eax
call fcn.14011e5e0
mov r14, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call r14
call fcn.14011e5e0
call r13
mov ebx, eax
call fcn.14011e5e0
mov ecx, ebx
call r14
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x1402184a0]
movaps xmmword [rcx], xmm6
call fcn.14011ee30
lea rdx, [rsp + 0x100]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0xfc]
mov dword [r8], 0xaaaaaaaa
xor r14d, r14d
lea r9, [rsp + 0xf0]
mov qword [r9], r14
lea rax, [rsp + 0xe8]
mov qword [rax], r14
lea r10, [0x140215b78]
lea rcx, [rsp + 0x30]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.140127ca0
mov ebx, 0
mov r12d, 0
test al, al
je 0x1400e49e6
xorps xmm0, xmm0
lea r15, [rsp + 0x30]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
mov r8, r15
call fcn.140111910
xor r14d, r14d
mov ebx, 0
mov r12d, 0
test al, al
jne 0x1400e4b77
cmp byte [rsp + 0x47], 0
jns 0x1400e49e6
mov rcx, qword [rsp + 0x30]
call fcn.1401536dc
lea r15, [rsp + 0xd0]
mov qword [r15 + 0x10], rbp
movaps xmmword [r15], xmm6
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9d, SafeArrayCopy
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1400e4aee
mov ecx, 0x58
call fcn.1401536a0
mov r15, rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
call fcn.14011e5e0
call r13
mov ebp, eax
call fcn.14011e5e0
mov ecx, ebp
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, r13
mov r13, rax
call rax
lea rax, fcn.1400e4d00
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.14011e5e0
call rbp
mov ebp, eax
mov qword [r15 + 8], rdi
call fcn.14011e5e0
mov ecx, ebp
call r13
mov rax, qword [rsp + 0x40]
mov qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + 0x10], xmm0
test r12, r12
js 0x1400e4b63
mov qword [r15 + 0x28], rbx
mov qword [r15 + 0x30], r14
mov qword [r15 + 0x38], r12
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x60]
call fcn.14011ee50
xor edi, edi
test r12, r12
jns 0x1400e4acf
mov rcx, rbx
call fcn.1401536dc
lea rcx, [rsp + 0x60]
call fcn.14011f120
test rdi, rdi
je 0x1400e4b31
call fcn.14011e5e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400e4b31
xor r15d, r15d
jmp 0x1400e4ac2
movaps xmm0, xmmword [0x1402184a0]
lea rdi, [rsp + 0x30]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
mov qword [0x140261678], rax
mov qword [0x140261680], rcx
jmp 0x1400e488d
xor r15d, r15d
mov qword [rsi], r15
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, r14
call fcn.140103690
jmp 0x1400e4aaf
movzx eax, byte [rsp + 0x47]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs r15, qword [rsp + 0x30]
lea rdx, [rsp + 0xa8]
mov qword [rdx], r15
cmovs rcx, qword [rsp + 0x38]
mov qword [rdx + 8], rcx
lea r14, [rsp + 0xb8]
mov rcx, r14
call fcn.14011ef60
lea rbx, [rsp + 0xd0]
mov rcx, r14
mov rdx, rbx
call fcn.14011fff0
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14011f1a0
mov rcx, rbx
call fcn.14011f120
mov rcx, r14
call fcn.14011f120
mov qword [rbx + 0x10], rbp
movaps xmmword [rbx], xmm6
lea rdx, [rsp + 0x100]
mov rcx, rbx
call fcn.14009fd40
lea rax, [0x14022f640]
lea rdx, [rsp + 0x98]
mov qword [rdx], rax
mov qword [rdx + 8], 3
movzx eax, byte [rbx + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
lea rcx, [rsp + 0x88]
mov qword [rcx], rax
cmovs r8, qword [rbx + 8]
mov qword [rcx + 8], r8
mov r8, rbx
call fcn.1400a2fc0
mov edx, dword [rsp + 0xfc]
mov rcx, r14
call fcn.1400a3e30
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
js 0x1400e4c5e
and r8d, 0x7f
jmp 0x1400e4c6e
mov r8, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov rcx, rbx
mov rdx, r14
call fcn.14009abd0
cmp byte [rsp + 0xcf], 0
jns 0x1400e4c90
mov rcx, qword [rsp + 0xb8]
call fcn.1401536dc
movzx eax, byte [rsp + 0xe7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rbx, qword [rsp + 0xd0]
lea rdx, [rsp + 0x78]
mov qword [rdx], rbx
cmovs rcx, qword [rsp + 0xd8]
mov qword [rdx + 8], rcx
lea r15, [rsp + 0xb8]
mov rcx, r15
call fcn.140112280
mov rbx, qword [r15]
mov r14, qword [r15 + 8]
mov r12, qword [r15 + 0x10]
cmp byte [rsp + 0xe7], 0
jns 0x1400e49d5
mov rcx, qword [rsp + 0xd0]
call fcn.1401536dc
jmp 0x1400e49d5