Function at 0x4152f8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477936
mov eax, dword fs:[0]
push eax
mov eax, 0x1144
call fcn.004516d0
mov eax, dword [0x6673c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6b3e4c]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x415820
mov ecx, dword [0x6b3e48]
test ecx, ecx
je 0x415820
cmp ebx, eax
jae 0x415820
imul esi, ebx, 0x510
add esi, ecx
je 0x415820
lea eax, [ebp - 0x1078]
mov dword [ebp - 0x1078], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x1074]
mov dword [ebp - 0x1088], eax
lea eax, [ebp - 0x1038]
push 0x28
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov eax, dword [ebp - 0x102c]
push 0x400
mov dword [ebp - 0x1084], eax
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00452360
mov edi, dword [0x6b3e70]
add esp, 0xc
test edi, edi
jne 0x415439
push 0x6a9f00
lea eax, [ebp - 0x410]
push str._sfurmark_gpu_monitoring.xml
push eax
call fcn.0040674a
lea eax, [ebp - 0x410]
push 0x47c25c
push eax
call fcn.0045871f
add esp, 0x14
test eax, eax
je 0x415433
push eax
call fcn.0045862d
push 0xb0
call fcn.004510ea
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x1098], ecx
and dword [ebp - 4], edi
test ecx, ecx
je 0x415425
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00416359
mov edi, eax
jmp 0x415427
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [0x6b3e70], edi
jmp 0x415439
mov edi, dword [0x6b3e70]
movss xmm0, dword [esi + 0x424]
lea eax, [ebp - 0x610]
mulss xmm0, dword [0x47a200]
push 0x200
push 0
push eax
addss xmm0, dword [0x47a204]
movss dword [ebp - 0x1090], xmm0
call fcn.00452360
movss xmm4, dword [esi + 0x470]
add esp, 0xc
movss xmm1, dword [esi + 0x464]
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x46c]
movss xmm3, dword [esi + 0x424]
movss xmm5, dword [esi + 0x4a8]
movss xmm6, dword [esi + 0x478]
mov ecx, dword [esi + 0x4f8]
ucomiss xmm4, xmm0
push 0x44
pop edx
mov dword [ebp - 0x109c], ecx
movss dword [ebp - 0x108c], xmm4
movss dword [ebp - 0x1080], xmm1
lahf
movss dword [ebp - 0x107c], xmm2
movss dword [ebp - 0x1094], xmm3
movss dword [ebp - 0x10a0], xmm5
movss dword [ebp - 0x1098], xmm6
test dl, ah
jp 0x4154f9
movss xmm4, dword [esi + 0x45c]
movss dword [ebp - 0x108c], xmm4
ucomiss xmm1, xmm0
lahf
test dl, ah
jp 0x415511
movss xmm1, dword [esi + 0x448]
movss dword [ebp - 0x1080], xmm1
ucomiss xmm2, xmm0
lahf
test dl, ah
jp 0x415529
movss xmm2, dword [esi + 0x454]
movss dword [ebp - 0x107c], xmm2
ucomiss xmm1, xmm0
lahf
test dl, ah
jp 0x415541
movss xmm1, dword [0x6b3f48]
movss dword [ebp - 0x1080], xmm1
ucomiss xmm2, xmm0
lahf
test dl, ah
jp 0x415559
movss xmm2, dword [0x6b3f4c]
movss dword [ebp - 0x107c], xmm2
ucomiss xmm3, xmm0
lahf
test dl, ah
jp 0x415571
movss xmm3, dword [0x6b3f50]
movss dword [ebp - 0x1094], xmm3
test edi, edi
je 0x415632
push ecx
push dword [ebp - 0x1084]
cvtps2pd xmm0, xmm2
lea eax, [esi + 8]
push dword [ebp - 0x1088]
sub esp, 0x10
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push dword [0x6a98b8]
movss xmm0, dword [esi + 0x45c]
push dword [0x64a904]
cvtps2pd xmm0, xmm0
push dword [0x64a900]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x6b3f74]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x6a9ef8]
cvtps2pd xmm0, xmm5
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm6
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x1090]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm3
movsd qword [esp], xmm0
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x610]
push str._t_gpu_data_gpu__d__name__s__core_temp__.1f__core_temp_fahrenheit__.1f__core_load__.1f__gpu_power__.1f__fps__d__seconds__.1f__vddc__.3f__width__d__height__d__msaa__d__core_clock__.1f__memory_clock__.1f__sys_mem_load__d__proc_mem_load__d__gpu_mem_load__d___
push eax
call fcn.0040674a
mov ecx, dword [0x6b3e70]
lea eax, [ebp - 0x610]
add esp, 0x6c
push eax
call fcn.00417ce5
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.00452360
push 0x6aa300
lea eax, [ebp - 0x1010]
push 0x47c604
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x6a9f00
lea eax, [ebp - 0x410]
push str._sfurmark_gpu_monitoring.csv
push eax
call fcn.0040674a
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.0045a245
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x4156c3
lea eax, [ebp - 0x410]
push 0x47c660
push eax
call fcn.0045871f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4156c3
push edi
push 1
push 0x47c668
call fcn.00456390
pop ecx
push eax
push str.Renderer_Driver_MSAA_width_height_FPS_seconds_core_temp_core_temp_fahrenheit_core_vddc_core_load_gpu_power_core_clock_mem_clock_sys_mem_load_proc_mem_load_gpu_mem_load_n
call fcn.0045b4ba
push edi
call fcn.0045862d
add esp, 0x14
lea eax, [ebp - 0x410]
push 0x47c7c4
push eax
call fcn.0045871f
pop ecx
pop ecx
test eax, eax
je 0x41581c
push eax
call fcn.0045862d
mov dword [esp], 0x200
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00452360
add esp, 0xc
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x1150]
push eax
call fcn.004164a8
push dword [ebp - 0x109c]
movss xmm0, dword [ebp - 0x107c]
lea eax, [esi + 8]
push dword [ebp - 0x1084]
cvtps2pd xmm0, xmm0
mov dword [ebp - 4], 1
push dword [ebp - 0x1088]
sub esp, 0x40
movsd qword [esp + 0x38], xmm0
movss xmm0, dword [ebp - 0x1080]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
movss xmm0, dword [ebp - 0x10a0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [ebp - 0x1098]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [ebp - 0x108c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebp - 0x1090]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x1094]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x6b3f74]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x6a9ef8]
push dword [0x64a8fc]
push dword [0x64a8f8]
push dword [0x6a98b8]
push 0x6a99c0
push eax
lea eax, [ebp - 0x810]
push str.__s____s___d__d__d__d__.1f__.1f__.1f__.3f__.1f__.1f__.1f__.1f__d__d__d
push eax
call fcn.0040674a
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1150]
push eax
call fcn.0041583c
add esp, 0x74
push eax
call fcn.00415be2
pop ecx
lea ecx, [ebp - 0x1150]
mov dword [ebp - 4], 2
call fcn.0041741e
lea ecx, [ebp - 0x1150]
call fcn.00416960
mov al, 1
jmp 0x415822
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004510dc
leave
ret