Function at 0x1175580
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0xb0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], reloc.OLEAUT32.dll_VarI4FromDisp
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1417bed
mov ecx, 0x78
mov qword [rsp + 0xa8], rbx
movaps xmmword [rsp + 0x90], xmm6
call fcn.0109c000
mov rdx, qword [rsp + 0x78]
movsd xmm6, qword [0x01174e80]
comisd xmm6, xmm0
jb 0x1417c47
test rdx, rdx
mulsd xmm0, qword [0x0116a978]
cvtsi2sd xmm1, rdx
js 0x1417c13
mulsd xmm0, xmm1
movsd xmm1, qword [0x0116c6b8]
xor eax, eax
comisd xmm0, xmm1
ja 0x1417c20
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x117560d
mov rcx, qword [0x039f11b0]
mov eax, 0xc800000
lea r8, [rsp + 0x38]
cmp rbx, rax
cmovb rbx, rax
lea rax, [rdx - 0xc800000]
cmp rbx, rax
cmova rbx, rax
xor edi, edi
xor r9d, r9d
lea edx, [rdi + 0x73]
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x1175844
mov rcx, qword [0x039f11b0]
lea r8, [rsp + 0xc8]
lea edx, [rdi + 0x74]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x1175844
mov rcx, qword [0x039f11b0]
mov qword [rsp + 0xa0], rsi
mov esi, 0x800000
lea r8, [rsp + 0xd0]
lea edx, [rdi + 0x75]
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x117583c
mov rcx, qword [0x039f11b0]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, 0x80
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x117583c
mov rcx, qword [0x039f11b0]
lea r8, [rsp + 0xd8]
mov r9, rsi
mov edx, 0x81
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x117583c
mov rcx, qword [0x039f11b0]
lea r8, [rsp + 0x48]
lea edx, [rdi + 0x7a]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.01174e90
test eax, eax
js 0x117583c
mov ecx, 0x84
call fcn.0109c000
mov r10, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
movsd qword [0x039f5158], xmm0
mov rcx, qword [rsp + 0xd8]
cmp r10, rbx
mov eax, 0xc00000
cmova r10, rbx
mov qword [0x039f5150], rbx
cmp r10, rax
cmovb r10, rax
mov rax, qword [rsp + 0x30]
lea rdx, [r10 - 0x400000]
mov qword [rsp + 0xc8], r10
mov qword [0x039f4098], r10
cmp r8, rdx
mov qword [0x039f5160], r10
cmova r8, rdx
cmp r8, rsi
cmovb r8, rsi
cmp rcx, rbx
cmova rcx, rbx
cmp rax, rdx
mov qword [rsp + 0xd0], r8
cmova rax, rdx
mov qword [rsp + 0xd8], rcx
mov qword [0x039f5128], rcx
mov qword [0x039f40b0], r8
shr r8, 1
mov rcx, r10
shr rcx, 1
mov qword [rsp + 0x30], rax
mov qword [0x039f5140], rax
add r8, rcx
mov qword [0x039f5138], rax
mov rax, qword [rsp + 0x38]
cmp rax, r10
mov qword [0x039f40b8], r8
jae 0x117581a
lea rdx, [rsp + 0x40]
movsd xmm0, xmm6
xor r9d, r9d
mov r8, r10
call fcn.01174ef0
test eax, eax
js 0x117583c
mov rcx, qword [0x039f4098]
mov rax, qword [rsp + 0x40]
shr rcx, 1
shr rax, 1
lea rax, [rax + rcx + 1]
mov qword [0x039f4f10], rax
shr rax, 1
lea rax, [rax + rcx + 1]
mov rcx, qword [0x039f11b0]
mov qword [0x039f5168], rax
call fcn.011758c0
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xb0
pop rdi
ret
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc1010014
mov edx, edi
mov qword [rsp + 0x20], 0x1000000f
call fcn.0124e580
add rsp, 0xb0
pop rdi
ret
addsd xmm1, qword [0x01276eb8]
jmp 0x11755eb
subsd xmm0, xmm1
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
comisd xmm0, xmm1
jbe 0x1175603
subsd xmm0, xmm1
add rax, rcx
jmp 0x1175603
movsd xmm1, qword [0x0116c6b8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1417c75
subsd xmm0, xmm1
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
comisd xmm0, xmm1
jbe 0x1417c75
subsd xmm0, xmm1
add rax, rcx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x117560d