Function at 0x417080
Capabilities:
Get memory capacity
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473b34
mov eax, dword fs:[0]
push eax
mov eax, 0x117c
call fcn.0044e430
mov eax, dword [0x6051c4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x1098], 0
cmp ebx, dword [0x5ee7b4]
jb 0x4170ce
xor al, al
jmp 0x41775f
imul edi, ebx, 0x2dc
add edi, dword [0x5ee7b0]
je 0x4170c7
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.0044f220
mov esi, dword [0x5ee7d8]
add esp, 0xc
test esi, esi
jne 0x4171cc
push 0x647bc0
lea eax, [ebp - 0x410]
push str._sfurmark_gpu_monitoring.xml
push eax
call fcn.00405f60
lea eax, [ebp - 0x410]
push 0x479418
push eax
call fcn.00454a01
add esp, 0x14
test eax, eax
je 0x4171c6
push eax
call fcn.004548cf
push 0xb0
call fcn.0044dcc3
mov ecx, eax
add esp, 8
mov dword [ebp - 0x10a4], ecx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4171b5
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004185b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5ee7d8], esi
jmp 0x4171cc
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5ee7d8], esi
jmp 0x4171cc
mov esi, dword [0x5ee7d8]
movss xmm0, dword [edi + 0x21c]
lea eax, [ebp - 0x610]
mulss xmm0, dword [0x476fa0]
push 0x200
push 0
push eax
addss xmm0, dword [0x476fa4]
movss dword [ebp - 0x1090], xmm0
call fcn.0044f220
movss xmm4, dword [edi + 0x268]
add esp, 0xc
movss xmm1, dword [edi + 0x25c]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x264]
movss xmm3, dword [edi + 0x21c]
movss xmm5, dword [edi + 0x2a0]
movss xmm6, dword [edi + 0x270]
mov ecx, dword [edi + 0x2c8]
ucomiss xmm4, xmm0
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 - 0x10a4], xmm6
test ah, 0x44
jp 0x41728a
movss xmm4, dword [edi + 0x254]
movss dword [ebp - 0x108c], xmm4
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4172a3
movss xmm1, dword [edi + 0x240]
movss dword [ebp - 0x1080], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x4172bc
movss xmm2, dword [edi + 0x24c]
movss dword [ebp - 0x107c], xmm2
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4172d5
movss xmm1, dword [0x5ee820]
movss dword [ebp - 0x1080], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x4172ee
movss xmm2, dword [0x5ee824]
movss dword [ebp - 0x107c], xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x417307
movss xmm3, dword [0x5ee828]
movss dword [ebp - 0x1094], xmm3
test esi, esi
je 0x4173fa
push ecx
push dword [ebp - 0x1084]
cvtps2pd xmm0, xmm2
lea eax, [edi + 8]
push dword [ebp - 0x1088]
sub esp, 0x10
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push dword [0x647578]
movss xmm0, dword [edi + 0x254]
push dword [0x5ee78c]
cvtps2pd xmm0, xmm0
push dword [0x5ee788]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x5ee840]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x647bb8]
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.00405f60
mov ecx, dword [0x5ee7d8]
add esp, 0x6c
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp dword [eax + ecx + 0xc], 0
jne 0x4173fa
lea eax, [ebp - 0x610]
push eax
push ecx
call fcn.00417800
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.0041a900
movzx ecx, al
push ecx
mov ecx, esi
call fcn.0041a090
mov ecx, esi
call fcn.00419b50
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0044f220
push 0x647fc0
lea eax, [ebp - 0x1010]
push 0x47941c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x647bc0
lea eax, [ebp - 0x410]
push str._sfurmark_gpu_monitoring.csv
push eax
call fcn.00405f60
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00456326
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x417485
lea eax, [ebp - 0x410]
push 0x47958c
push eax
call fcn.00454a01
mov esi, eax
add esp, 8
test esi, esi
je 0x417485
push esi
push 1
push 0xa8
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.004573d1
push esi
call fcn.004548cf
add esp, 0x14
lea eax, [ebp - 0x410]
push 0x47963c
push eax
call fcn.00454a01
add esp, 8
test eax, eax
je 0x41775d
push eax
call fcn.004548cf
push 0x200
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0044f220
lea eax, [ebp - 0x1174]
mov dword [ebp - 0x1174], 0x47985c
add esp, 0x10
mov dword [ebp - 0x10ac], eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x1170]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1174]
mov dword [ebp - 0x1098], 1
call fcn.00417ef0
mov eax, dword [ebp - 0x1174]
push 0
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1178], eax
lea ecx, [ebp - 0x1170]
call fcn.00417e10
push 0x40
push 0xa
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1170]
call fcn.00419d70
test eax, eax
mov eax, dword [ebp - 0x1174]
mov ecx, dword [eax + 4]
jne 0x41759e
xor eax, eax
cmp dword [ebp + ecx - 0x113c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x1168]
and eax, 0x17
mov dword [ebp + ecx - 0x1168], eax
mov ecx, dword [ebp + ecx - 0x1164]
and ecx, eax
jne 0x41777b
jmp 0x4175c3
xor edx, edx
mov eax, 4
cmp dword [ebp + ecx - 0x113c], edx
cmovne eax, edx
mov dword [ebp + ecx - 0x1168], eax
test dword [ebp + ecx - 0x1164], eax
jne 0x4177c6
push dword [ebp - 0x109c]
movss xmm0, dword [ebp - 0x107c]
lea eax, [edi + 8]
push dword [ebp - 0x1084]
cvtps2pd xmm0, xmm0
mov dword [ebp - 4], 4
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 - 0x10a4]
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 [0x5ee840]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [0x647bb8]
push dword [0x5ee784]
push dword [0x5ee780]
push dword [0x647578]
push 0x647680
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.00405f60
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1174]
push eax
call fcn.00417800
mov esi, eax
add esp, 0x74
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.0041a900
movzx ecx, al
push ecx
mov ecx, esi
call fcn.0041a090
mov ecx, esi
call fcn.00419b50
lea ecx, [ebp - 0x1170]
mov dword [ebp - 4], 5
call fcn.00419840
test eax, eax
jne 0x417752
mov eax, dword [ebp - 0x1174]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x113c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x1168]
and eax, 0x17
mov dword [ebp + ecx - 0x1168], eax
mov ecx, dword [ebp + ecx - 0x1164]
and ecx, eax
je 0x417752
test cl, 4
je 0x41772a
mov esi, str.ios_base::badbit_set
jmp 0x41773a
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x10b0]
push 1
push eax
call fcn.00419ca0
add esp, 8
push eax
push esi
jmp 0x4177dd
lea ecx, [ebp - 0x1174]
call fcn.00419010
mov al, 1
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.0044dcb2
mov esp, ebp
pop ebp
ret
test cl, 4
je 0x417787
mov esi, str.ios_base::badbit_set
jmp 0x417797
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x10b0]
push 1
push eax
call fcn.00419ca0
add esp, 8
lea ecx, [ebp - 0x1188]
push eax
push esi
call fcn.00418950
push 0x4b3f40
lea eax, [ebp - 0x1188]
push eax
call fcn.0044f37a
lea eax, [ebp - 0x10a8]
push 1
push eax
call fcn.00419ca0
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x10c4]
call fcn.00418950
push 0x4b3f40
lea eax, [ebp - 0x10c4]
push eax
call fcn.0044f37a
int3