Function at 0x14003f410
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 + 0x58], 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 + 0x38], rax
test rax, rax
jne 0x14003f491
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 0x14003f99b
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x68]
mov qword [rsp + 0x30], r14
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x40], r13
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140048de0
nop
lea rdi, [rbp + 0x10]
mov rax, qword [rbp + 0x20]
cmp qword [rbp + 0x28], 8
jb 0x14003f4d6
mov rdi, qword [rbp + 0x10]
mov rbx, rdi
lea rsi, [rdi + rax*2]
jmp 0x14003f4e2
lea rcx, [rbp + 0x10]
lea rsi, [rcx + rax*2]
lea rbx, [rbp + 0x10]
cmp rbx, rsi
je 0x14003f506
sub rdi, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x14003f4f0
cmp r14, r13
jae 0x14003f8b6
nop
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 0x14003f8b1
cmp dword [rbp - 0x80], 0x1000
jne 0x14003f89e
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x14003f89e
cmp eax, 0x100
je 0x14003f89e
mov rsi, qword [rsp + 0x78]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
xor ebx, ebx
mov qword [rbp - 0x18], rbx
cmp rsi, 2
jb 0x14003f5d7
mov rdi, rsi
and rdi, 0xfffffffffffffffe
cmp rdi, 0x1000
jb 0x14003f5ab
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003f9c5
call fcn.1400b4294
mov rcx, rax
test rax, rax
je 0x14003f938
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003f5b8
test rdi, rdi
je 0x14003f5b8
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
xor ebx, ebx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, qword [rbp - 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003f928
mov qword [rbp - 0x10], rbx
mov rax, rbx
mov qword [rbp], rbx
mov r15d, 7
mov qword [rbp + 8], r15
mov word [rbp - 0x10], bx
mov r11, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
cmp r11, rdx
je 0x14003f670
sub rdx, r11
sar rdx, 1
lea rcx, [rbp - 0x10]
cmp rdx, r15
ja 0x14003f65c
mov qword [rbp], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r11
call sub.VCRUNTIME140.dll_memmove
xor r13d, r13d
mov word [rbp + rbx - 0x10], r13w
mov r11, qword [rbp - 0x28]
mov r15, qword [rbp + 8]
mov rax, qword [rbp]
jmp 0x14003f673
mov r9, r11
call fcn.14004acf0
mov r11, qword [rbp - 0x28]
mov r15, qword [rbp + 8]
mov rax, qword [rbp]
xor r13d, r13d
lea rdi, [rbp - 0x10]
mov r14, qword [rbp - 0x10]
cmp r15, 8
jb 0x14003f68d
mov rdi, r14
mov rbx, r14
lea rsi, [r14 + rax*2]
jmp 0x14003f699
lea rcx, [rbp - 0x10]
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x10]
cmp rbx, rsi
je 0x14003f6c7
sub rdi, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x14003f6a1
mov r11, qword [rbp - 0x28]
mov r15, qword [rbp + 8]
mov rax, qword [rbp]
mov r14, qword [rbp - 0x10]
lea rdi, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdi, qword [rbp + 0x10]
lea r12, [rbp - 0x10]
cmp r15, 8
cmovae r12, r14
mov rsi, qword [rbp + 0x20]
cmp rsi, rax
ja 0x14003f800
sub rax, rsi
test rsi, rsi
jne 0x14003f6fe
mov rbx, r13
jmp 0x14003f792
lea r13, [rax + 1]
lea r13, [r12 + r13*2]
mov rbx, r12
movzx r10d, word [rdi]
nop dword [rax]
mov rax, r13
sub rax, rbx
sar rax, 1
mov ecx, 0
je 0x14003f73c
cmp word [rbx], r10w
je 0x14003f739
cmp rax, 1
je 0x14003f73c
dec rax
add rbx, 2
cmp word [rbx], r10w
jne 0x14003f726
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x14003f800
mov r8, rsi
mov rdx, rdi
movzx eax, word [rcx]
movzx ecx, r10w
cmp ax, r10w
jb 0x14003f780
mov r9, rbx
sub r9, rdi
cmp ax, cx
ja 0x14003f780
cmp r8, 1
je 0x14003f786
dec r8
add rdx, 2
movzx eax, word [r9 + rdx]
movzx ecx, word [rdx]
cmp ax, cx
jae 0x14003f764
add rbx, 2
jmp 0x14003f710
sub rbx, r12
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x14003f800
mov rdi, qword [rbp - 0x38]
nop word [rax + rax]
mov rax, qword [rsp + 0x60]
lea rcx, [rax + rbx*2]
mov qword [rsp + 0x58], rcx
cmp rdi, qword [rbp - 0x30]
je 0x14003f7c5
mov qword [rdi], rcx
mov rdi, qword [rbp - 0x38]
add rdi, 8
mov qword [rbp - 0x38], rdi
jmp 0x14003f7da
lea r8, [rsp + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14004b9c0
mov rdi, qword [rbp - 0x38]
lea r8, [rbx + 1]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140048c20
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14003f7a0
mov r11, qword [rbp - 0x28]
mov r15, qword [rbp + 8]
mov r14, qword [rbp - 0x10]
cmp r15, 8
jb 0x14003f83f
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14003f833
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f931
mov rcx, r14
call fcn.1400b3dcc
mov r11, qword [rbp - 0x28]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
test r11, r11
je 0x14003f89e
mov rax, qword [rbp - 0x18]
sub rax, r11
sar rax, 1
lea rdx, [rax + rax]
mov rax, r11
cmp rdx, 0x1000
jb 0x14003f886
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f938
mov rcx, r11
call fcn.1400b3dcc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
add r14, qword [rsp + 0x78]
mov qword [rsp + 0x30], r14
cmp r14, r13
jb 0x14003f510
mov r15, qword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x30]
xor ebx, ebx
mov r8d, ebx
mov qword [rbp - 0x30], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], rbx
mov rax, qword [rbp - 0x40]
mov r9d, ebx
mov qword [rbp - 0x40], rbx
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14003f94c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f93f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f93f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r11, qword [rbp - 0x28]
jmp 0x14003f84e
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 + 0x20], rbx
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], bx
test r9, r9
je 0x14003f99b
sub r8, r9
and r8, 0xfffffffffffffff8
mov rax, r9
cmp r8, 0x1000
jb 0x14003f990
add r8, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f990
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.14003c230
nop
int3