Function at 0x14003ee10
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400e1088]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, r8
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rcx
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14003ee91
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov qword [r15], rcx
mov qword [r15 + 8], rdx
mov qword [r15 + 0x10], r8
jmp 0x14003f3cc
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x68]
mov qword [rsp + 0x40], r14
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x38], r13
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140048fb0
nop
lea rdi, [rbp - 0x10]
mov rsi, qword [rbp]
cmp qword [rbp + 8], 0x10
jb 0x14003eed5
mov rdi, qword [rbp - 0x10]
mov rbx, rdi
add rsi, rdi
jmp 0x14003eee0
lea rcx, [rbp - 0x10]
add rsi, rcx
lea rbx, [rbp - 0x10]
cmp rbx, rsi
je 0x14003ef04
sub rdi, rbx
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x14003eef0
cmp r14, r13
jae 0x14003f2ea
movabs rbx, 0x7fffffffffffffff
nop word [rax + rax]
mov r9d, Ordinal_50
lea r8, [rsp + 0x60]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14003f2e5
cmp dword [rbp - 0x80], 0x1000
jne 0x14003f2d2
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x14003f2d2
cmp eax, 0x100
je 0x14003f2d2
mov rdi, qword [rsp + 0x78]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rax
test rdi, rdi
je 0x14003efdf
cmp rdi, rbx
ja 0x14003f3f6
cmp rdi, 0x1000
jb 0x14003efba
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003f3fc
call fcn.1400b4294
mov rcx, rax
test rax, rax
je 0x14003f365
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003efc2
mov rcx, rdi
call fcn.1400b4294
mov qword [rbp - 0x28], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x18], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x20], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, qword [rbp - 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003f355
mov qword [rbp + 0x10], 0
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], al
mov rdi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
cmp rdi, r8
je 0x14003f042
sub r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140049b30
mov rdi, qword [rbp - 0x28]
mov rax, qword [rbp + 0x20]
lea rsi, [rbp + 0x10]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14003f065
mov rsi, rcx
mov rbx, rcx
lea r14, [rax + rcx]
jmp 0x14003f070
lea r14, [rbp + 0x10]
add r14, rax
lea rbx, [rbp + 0x10]
cmp rbx, r14
je 0x14003f0a9
sub rsi, rbx
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x14003f080
mov rdi, qword [rbp - 0x28]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rbp + 0x28]
lea r14, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r14, qword [rbp - 0x10]
lea r15, [rbp + 0x10]
cmp rdx, 0x10
cmovae r15, rcx
mov rsi, qword [rbp]
cmp rsi, rax
ja 0x14003f23e
sub rax, rsi
test rsi, rsi
jne 0x14003f0dc
xor ebx, ebx
jmp 0x14003f152
lea r12, [r15 + rax]
movsx r13d, byte [r14]
lea r8, [r12 + 1]
sub r8, r15
mov edx, r13d
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14003f22f
nop dword [rax]
nop word [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003f145
inc rbx
lea r8, [r12 + 1]
sub r8, rbx
mov edx, r13d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14003f110
jmp 0x14003f22f
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x14003f22f
mov rdi, qword [rbp - 0x38]
nop word [rax + rax]
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x58], rcx
cmp rdi, qword [rbp - 0x30]
je 0x14003f184
mov qword [rdi], rcx
mov rdi, qword [rbp - 0x38]
add rdi, 8
mov qword [rbp - 0x38], rdi
jmp 0x14003f199
lea r8, [rsp + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14004b9c0
mov rdi, qword [rbp - 0x38]
inc rbx
lea r14, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r14, qword [rbp - 0x10]
lea r13, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x58], rax
cmp qword [rbp + 0x28], 0x10
cmovae r13, rax
mov rsi, qword [rbp]
mov rax, qword [rbp + 0x20]
cmp rsi, rax
ja 0x14003f22b
sub rax, rsi
cmp rbx, rax
ja 0x14003f22b
test rsi, rsi
je 0x14003f221
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [r14]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x14003f22b
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003f21e
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x14003f1ed
sub rbx, r13
cmp rbx, 0xffffffffffffffff
jne 0x14003f160
mov rdi, qword [rbp - 0x28]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x14003f27a
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f35e
call fcn.1400b3dcc
mov rdi, qword [rbp - 0x28]
mov r14, qword [rsp + 0x40]
test rdi, rdi
je 0x14003f2c8
mov rdx, qword [rbp - 0x18]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003f2b0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f365
mov rcx, rdi
call fcn.1400b3dcc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
movabs rbx, 0x7fffffffffffffff
add r14, qword [rsp + 0x78]
mov qword [rsp + 0x40], r14
cmp r14, r13
jb 0x14003ef20
mov r15, qword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x30]
xor r8d, r8d
mov qword [rbp - 0x30], r8
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], r8
mov rax, qword [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], r9
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14003f379
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f36c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f36c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rbp - 0x28]
jmp 0x14003f27f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400b3dcc
mov r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x40]
mov qword [rbp], 0
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
test r9, r9
je 0x14003f3cc
sub r8, r9
and r8, 0xfffffffffffffff8
mov rax, r9
cmp r8, 0x1000
jb 0x14003f3c1
add r8, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f3c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r8
mov rcx, r9
call fcn.1400b3dcc
mov rax, r15
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400b3b10
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004b540
nop
call fcn.14003c230
int3