Function at 0x510350
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x60e305
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x15b4
call fcn.005f2c90
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x15b0], eax
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x15f8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x48], eax
lea ebx, [eax + 0x2c]
mov eax, dword [0x6d4784]
push 0
mov ecx, ebx
push dword [eax + 0x6c]
call fcn.005b0e50
push str.systemInfoLabel
mov ecx, ebx
call fcn.005aa3d0
push str.cpuInfoLabel
mov ecx, ebx
mov edi, eax
call fcn.005aa3d0
mov esi, eax
mov ecx, ebx
push str.totalMemoryLabel
mov dword [esp + 0x40], esi
call fcn.005aa3d0
push str.availableMemoryLabel
mov ecx, ebx
mov dword [esp + 0x9c], eax
call fcn.005aa3d0
push str.graphicsCardLabel
mov ecx, ebx
mov dword [esp + 0x58], eax
call fcn.005aa3d0
push str.graphicsCard2Label
mov ecx, ebx
mov dword [esp + 0x54], eax
call fcn.005aa3d0
push str.graphicsCard3Label
mov ecx, ebx
mov dword [esp + 0x90], eax
call fcn.005aa3d0
push str.openGLLabel
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.005aa3d0
push str.playerPathLabel
mov ecx, ebx
mov dword [esp + 0x50], eax
call fcn.005aa3d0
push str.logPathLabel
mov ecx, ebx
mov dword [esp + 0x88], eax
call fcn.005aa3d0
push str.playerVersionLabel
mov ecx, ebx
mov dword [esp + 0x68], eax
call fcn.005aa3d0
push str.VTLabel
mov ecx, ebx
mov dword [esp + 0x6c], eax
call fcn.005aa3d0
push str.playerSettingsLabel
mov ecx, ebx
mov dword [esp + 0x64], eax
call fcn.005aa3d0
push str.resolutionLabel
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.005aa3d0
push str.mainboardLabel
mov ecx, ebx
mov dword [esp + 0x98], eax
call fcn.005aa3d0
push str.remotePathLabel
mov ecx, ebx
mov dword [esp + 0x70], eax
call fcn.005aa3d0
mov dword [esp + 0x90], eax
lea eax, [esp + 0x118]
push eax
call fcn.00573790
add esp, 4
mov dword [esp + 0x1600], 0
call fcn.00573b20
push 1
lea ecx, [esp + 0x11c]
push 0x638edc
test al, al
je 0x510590
call fcn.004245a0
push 0x100
lea eax, [esp + 0x3c0]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x3bc]
push 0x80
push str.diagnosis_64_bit
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x3bc]
push eax
call fcn.005aaf90
mov edx, eax
add esp, 4
test edx, edx
jne 0x51056a
lea eax, [esp + 0x3bc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x3c4]
push eax
call fcn.005aaf90
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x510577
xor ecx, ecx
jmp 0x510626
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x510580
jmp 0x51061e
call fcn.004245a0
push 0x100
lea eax, [esp + 0x3c0]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x3bc]
push 0x80
push str.diagnosis_32_bit
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x3bc]
push eax
call fcn.005aaf90
mov edx, eax
add esp, 4
test edx, edx
jne 0x510604
lea eax, [esp + 0x3bc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x3c4]
push eax
call fcn.005aaf90
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x51060e
xor ecx, ecx
jmp 0x510626
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x510613
sub ecx, esi
mov esi, dword [esp + 0x3c]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x120]
call fcn.004245a0
push 2
push 0x658604
lea ecx, [esp + 0x120]
call fcn.004245a0
lea eax, [esp + 0xb4]
push eax
call fcn.00576770
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x160c], 1
call fcn.0042da40
mov byte [esp + 0x1600], 0
cmp dword [esp + 0xc8], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x510694
push dword [esp + 0xb4]
call ebx
add esp, 4
cmp dword [esp + 0x12c], 8
lea ecx, [esp + 0x118]
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x118]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
lea ecx, [esp + 0x5c]
call fcn.0056c9c0
mov byte [esp + 0x1600], 2
lea ecx, [esp + 0x178]
push 0x2e
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], 0
mov byte [esp + 0x180], 0
call fcn.0042d440
push 0x20119
lea eax, [esp + 0x17c]
mov byte [esp + 0x1604], 3
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x68]
call fcn.0057e030
test eax, eax
je 0x510730
push str.not_find_cpu
push 0x47
push str.DNPCInfoFrame::InitWindow
call fcn.0056c830
add esp, 0xc
mov dword [esp + 0x1bc], 0xf
mov dword [esp + 0x1b8], 0
mov byte [esp + 0x1a8], 0
mov byte [esp + 0x1600], 4
lea ecx, [esp + 0x9c]
push 0x13
push str.ProcessorNameString
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
call fcn.0042d440
lea eax, [esp + 0x1a8]
mov byte [esp + 0x1600], 5
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x64]
call fcn.0057e130
mov byte [esp + 0x1600], 4
cmp dword [esp + 0xb0], 0x10
jb 0x5107c6
push dword [esp + 0x9c]
call ebx
add esp, 4
lea eax, [esp + 0x1a8]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0057a310
add esp, 8
mov ecx, eax
mov byte [esp + 0x1600], 6
cmp dword [ecx + 0x14], 8
jb 0x5107f0
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
cmp dword [esp + 0xc8], 8
jb 0x51080e
push dword [esp + 0xb4]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x1d4], 7
mov dword [esp + 0x1d0], 0
mov word [esp + 0x1c0], ax
mov dword [esp + 0x1ec], 7
mov dword [esp + 0x1e8], eax
mov word [esp + 0x1d8], ax
push 0xffffffffffffffff
push eax
push 0x6d5aec
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x160c], 8
call fcn.00413280
push 0xffffffffffffffff
push 0
push 0x6d5b04
lea ecx, [esp + 0x1e4]
call fcn.00413280
push 0x638edc
lea edx, [esp + 0x1dc]
lea ecx, [esp + 0xb8]
call fcn.00425c20
add esp, 4
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x1600], 9
push ecx
mov edx, eax
lea ecx, [esp + 0xa0]
call fcn.004774a0
add esp, 4
mov ecx, eax
mov byte [esp + 0x1600], 0xa
cmp dword [ecx + 0x14], 8
jb 0x5108c7
mov ecx, dword [ecx]
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x3c]
cmp dword [esp + 0xb0], 8
jb 0x5108e9
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x1600], 8
cmp dword [esp + 0xc8], 8
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
jb 0x510927
push dword [esp + 0xb4]
call ebx
add esp, 4
lea eax, [esp + 0x26c]
mov dword [esp + 0x26c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x278]
mov ecx, dword [esp + 0x274]
call fcn.005f300e
mulsd xmm0, qword [0x66e380]
mov edx, dword [esp + 0x280]
mov ecx, dword [esp + 0x27c]
movsd qword [esp + 0x6c], xmm0
call fcn.005f300e
mulsd xmm0, qword [0x66e380]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x5c4], ax
lea eax, [esp + 0x5c6]
push eax
movsd qword [esp + 0x48], xmm0
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
mov word [esp + 0xdbc], ax
push 0x7fe
push eax
lea eax, [esp + 0xdc6]
push eax
call sub.MSVCR120.dll_memset
movsd xmm0, qword [esp + 0x78]
lea eax, [esp + 0x5c8]
mov esi, dword [sym.imp.MSVCR120.dll_swprintf_s]
add esp, 4
movsd qword [esp], xmm0
push str._0.1f_GB
push 0x400
push eax
call esi
movsd xmm0, qword [esp + 0x50]
lea eax, [esp + 0xdd0]
add esp, 0xc
movsd qword [esp], xmm0
push str._0.1f_GB
push 0x400
push eax
call esi
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x5d0]
add esp, 0x14
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0xdbc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
mov dword [esp + 0x174], 0xf
mov dword [esp + 0x170], 0
mov byte [esp + 0x160], 0
mov dword [esp + 0x234], 0xf
mov dword [esp + 0x230], 0
mov byte [esp + 0x220], 0
mov byte [esp + 0x1600], 0xd
lea edx, [esp + 0x220]
mov ecx, dword [0x6d5a58]
push edx
lea edx, [esp + 0x164]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xec]
push edx
call dword [eax + 0xe4]
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0057a310
add esp, 8
mov byte [esp + 0x1600], 0xe
cmp dword [eax + 0x14], 8
jb 0x510ae1
mov eax, dword [eax]
push eax
push str.current_gpu_is__s
push 0x69
push str.DNPCInfoFrame::InitWindow
call fcn.0056c830
add esp, 0x10
mov byte [esp + 0x1600], 0xd
cmp dword [esp + 0xc8], 8
jb 0x510b14
push dword [esp + 0xb4]
call ebx
add esp, 4
push 1
push 0
push 0x6527a8
lea ecx, [esp + 0xf0]
call fcn.00436d10
test eax, eax
jle 0x510ba8
push eax
push 0
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xf0]
call fcn.00436c10
mov esi, eax
lea eax, [esp + 0xe4]
cmp eax, esi
je 0x510b92
cmp dword [esp + 0xf8], 0x10
jb 0x510b67
push dword [esp + 0xe4]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0xe8]
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], 0
mov byte [esp + 0xe8], 0
call fcn.0042cf10
cmp dword [esp + 0xc8], 0x10
jb 0x510ba8
push dword [esp + 0xb4]
call ebx
add esp, 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1600], 0xf
call fcn.004e1960
mov ecx, dword [esp + 0x70]
mov eax, 0x51eb851f
mov edi, dword [esp + 0x6c]
sub ecx, edi
imul ecx
mov dword [esp + 0x3c], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x54], eax
jne 0x510eca
push 0x6527a8
lea edx, [esp + 0xe8]
lea ecx, [esp + 0xb8]
call fcn.004d7840
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x1600], 0x10
push ecx
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.004e99f0
add esp, 4
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x1604], 0x11
push eax
call fcn.0057a310
add esp, 8
mov ecx, eax
mov byte [esp + 0x1600], 0x12
cmp dword [ecx + 0x14], 8
jb 0x510c61
mov ecx, dword [ecx]
mov edx, dword [esp + 0x50]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x3c]
cmp dword [esp + 0xb0], 8
jb 0x510c83
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
cmp dword [esp + 0xe0], 0x10
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
jb 0x510cb9
push dword [esp + 0xcc]
call ebx
add esp, 4
mov byte [esp + 0x1600], 0xf
cmp dword [esp + 0xc8], 0x10
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
jb 0x510cf5
push dword [esp + 0xb4]
call ebx
add esp, 4
lea eax, [esp + 0xb4]
mov ecx, 0x6d59e0
push eax
call fcn.004e3430
mov ecx, eax
mov byte [esp + 0x1600], 0x18
cmp dword [ecx + 0x14], 8
jb 0x510d19
mov ecx, dword [ecx]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x3c]
mov byte [esp + 0x1600], 0xf
cmp dword [esp + 0xc8], 8
jb 0x510d43
push dword [esp + 0xb4]
call ebx
add esp, 4
mov edi, dword [esp + 0x48]
push str.hyperBtn
lea ecx, [edi + 0x2c]
call fcn.005aa3d0
mov esi, eax
mov dword [esp + 0xb0], 7
push 2
xor eax, eax
mov dword [esp + 0x50], esi
push 0x658644
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
call fcn.00413650
push 0x100
lea eax, [esp + 0x4c0]
mov byte [esp + 0x1604], 0x19
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x4bc]
push 0x80
push str.open_hyper
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x4bc]
push eax
call fcn.005aaf90
add esp, 4
test eax, eax
jne 0x510e00
lea eax, [esp + 0x4bc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x4c4]
push eax
call fcn.005aaf90
add esp, 0xc
lea ecx, [esp + 0x9c]
mov edx, eax
push ecx
lea ecx, [esp + 0xd0]
call fcn.00434c90
add esp, 4
mov ecx, eax
mov byte [esp + 0x1600], 0x1a
cmp dword [ecx + 0x14], 8
jb 0x510e2b
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
cmp dword [esp + 0xe0], 8
jb 0x510e49
push dword [esp + 0xcc]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x1600], 0xf
cmp dword [esp + 0xb0], 8
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
jb 0x510e87
push dword [esp + 0x9c]
call ebx
add esp, 4
push str.hyperLabel
lea ecx, [edi + 0x2c]
call fcn.005aa3d0
mov edi, eax
call fcn.004e4390
mov esi, dword [edi]
xor edx, edx
test al, al
je 0x511250
mov ecx, str.enable_setting
call fcn.004180f0
push eax
mov ecx, edi
call dword [esi + 0x3c]
mov ecx, dword [esp + 0x4c]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe0]
jmp 0x511260
cmp eax, 1
jne 0x510fd7
push edi
lea ecx, [esp + 0x3c0]
call fcn.004e36a0
xor eax, eax
mov byte [esp + 0x1600], 0x13
push 0xffffffffffffffff
push eax
mov word [esp + 0xa4], ax
lea ecx, [esp + 0xa4]
lea eax, [esp + 0x3c4]
mov dword [esp + 0xb8], 7
push eax
mov dword [esp + 0xb8], 0
call fcn.00413280
push 2
push 0x651594
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1608], 0x14
call fcn.004245a0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3f8]
push eax
lea ecx, [esp + 0xa8]
call fcn.0042da40
push 1
push 0x6388bc
lea ecx, [esp + 0xa4]
call fcn.004245a0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x9c]
cmp dword [esp + 0xb0], 8
cmovae ecx, dword [esp + 0x9c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
cmp dword [esp + 0xb0], 8
jb 0x510f9e
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
lea ecx, [esp + 0x3bc]
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
mov byte [esp + 0x1600], 0xf
call fcn.004e1e40
jmp 0x510cf5
mov ecx, dword [esp + 0x8c]
xor esi, esi
mov edx, dword [esp + 0x50]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd4], ecx
test eax, eax
je 0x510cf5
cmp esi, 3
jge 0x510cf5
cmp eax, esi
jbe 0x511245
push edi
lea ecx, [esp + 0x3c0]
call fcn.004e36a0
mov byte [esp + 0x1600], 0x15
mov edi, dword [esp + esi*4 + 0xcc]
mov ecx, edi
push 1
mov eax, dword [edi]
call dword [eax + 0xe0]
xor eax, eax
mov dword [esp + 0xb0], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0xa4], ax
lea ecx, [esp + 0xa4]
lea eax, [esp + 0x3c4]
mov dword [esp + 0xb4], 0
push eax
call fcn.00413280
push 2
push 0x651594
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1608], 0x16
call fcn.004245a0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3f8]
push eax
lea ecx, [esp + 0xa8]
call fcn.0042da40
push 1
push 0x6388bc
lea ecx, [esp + 0xa4]
call fcn.004245a0
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0057a310
push eax
lea eax, [esp + 0xa8]
mov byte [esp + 0x160c], 0x17
push eax
call fcn.0057a780
add esp, 0x10
mov byte [esp + 0x1600], 0x16
cmp dword [esp + 0xc8], 8
mov byte [esp + 0x37], al
jb 0x51110f
push dword [esp + 0xb4]
call ebx
mov al, byte [esp + 0x3b]
add esp, 4
test al, al
je 0x5111bf
push 0x100
lea eax, [esp + 0x4c0]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x4bc]
push 0x80
push str.diagnosis_graphics_using
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x4bc]
push eax
call fcn.005aaf90
mov edx, eax
add esp, 4
test edx, edx
jne 0x511186
lea eax, [esp + 0x4bc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x4c4]
push eax
call fcn.005aaf90
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x511190
xor ecx, ecx
jmp 0x5111b1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x58], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5111a0
sub ecx, dword [esp + 0x58]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xa4]
call fcn.004245a0
cmp dword [esp + 0xb0], 8
lea ecx, [esp + 0x9c]
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x9c]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
cmp dword [esp + 0xb0], 8
jb 0x5111f4
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
lea ecx, [esp + 0x3bc]
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
mov byte [esp + 0x1600], 0xf
call fcn.004e1e40
mov edi, dword [esp + 0x3c]
inc esi
mov eax, dword [esp + 0x54]
add edi, 0x64
mov dword [esp + 0x3c], edi
cmp esi, eax
jb 0x511005
jmp 0x510cf5
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov ecx, str.disable_setting
call fcn.004180f0
push eax
mov ecx, edi
call dword [esi + 0x3c]
mov edi, dword [esp + 0x48]
push str.rootLabel
lea ecx, [edi + 0x2c]
call fcn.005aa3d0
cmp dword [0x6d69c8], 2
mov esi, eax
mov ecx, dword [0x6d69c4]
lea eax, [esp + 0x37]
push eax
push str.basicSettings.rootMode
setne byte [esp + 0x3f]
call fcn.004306b0
xor edx, edx
mov ecx, str.enable_setting
test al, al
jne 0x5112a4
mov ecx, str.disable_setting
call fcn.004180f0
mov ecx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
lea eax, [esp + 0x9c]
mov ecx, 0x6d6910
push eax
lea eax, [esp + 0xd0]
push eax
sub esp, 0x18
push esp
call fcn.005967f0
push 0
lea ecx, [esp + 0x120]
call fcn.00594360
mov ecx, eax
mov byte [esp + 0x1608], 0x1b
call fcn.00595960
mov ecx, eax
mov byte [esp + 0x1604], 0x1c
call fcn.0042e2b0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x1f4]
call fcn.00418050
cmp dword [esp + 0xb0], 8
jb 0x511327
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
cmp dword [esp + 0xe0], 8
jb 0x51135d
push dword [esp + 0xcc]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
mov byte [esp + 0x1600], 0x1f
cmp dword [esp + 0x114], 8
jb 0x51139b
push dword [esp + 0x100]
call ebx
add esp, 4
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x1f0]
xor eax, eax
mov dword [esp + 0x114], 7
cmp dword [esp + 0x204], 8
mov word [esp + 0x100], ax
cmovae ecx, dword [esp + 0x1f0]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov dword [esp + 0x114], 0
call dword [eax + 0x3c]
push 0x63a350
lea ecx, [esp + 0x23c]
call fcn.0042d560
push 3
push 0x6586a4
lea ecx, [esp + 0x240]
mov byte [esp + 0x1608], 0x20
call fcn.00437ef0
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0057a310
add esp, 8
mov ecx, eax
mov byte [esp + 0x1600], 0x21
cmp dword [ecx + 0x14], 8
jb 0x511437
mov ecx, dword [ecx]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x3c]
mov byte [esp + 0x1600], 0x20
cmp dword [esp + 0xc8], 8
jb 0x511461
push dword [esp + 0xb4]
call ebx
add esp, 4
lea eax, [esp + 0x9c]
mov ecx, 0x6d6910
push eax
lea eax, [esp + 0xd0]
push eax
sub esp, 0x18
push esp
call fcn.005967f0
push 0
lea ecx, [esp + 0x274]
call fcn.00594360
mov byte [esp + 0x1608], 0x22
call fcn.005958d0
mov ecx, eax
mov byte [esp + 0x1604], 0x23
call fcn.0042e2b0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x20c]
call fcn.00418050
cmp dword [esp + 0xb0], 8
jb 0x5114d3
push dword [esp + 0x9c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
cmp dword [esp + 0xe0], 8
jb 0x511509
push dword [esp + 0xcc]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
mov byte [esp + 0x1600], 0x26
cmp dword [esp + 0x268], 8
jb 0x511547
push dword [esp + 0x254]
call ebx
add esp, 4
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x208]
xor eax, eax
mov dword [esp + 0x268], 7
cmp dword [esp + 0x21c], 8
mov word [esp + 0x254], ax
cmovae ecx, dword [esp + 0x208]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov dword [esp + 0x268], 0
call dword [eax + 0x3c]
push str.vtBtn
lea ecx, [edi + 0x2c]
call fcn.005aa3d0
push 0x658644
lea ecx, [esp + 0x100]
mov edi, eax
call fcn.00413780
mov esi, eax
push 0x100
lea eax, [esp + 0x4c0]
mov byte [esp + 0x1604], 0x27
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x4bc]
push 0x80
push str.open_VT_2
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x4bc]
push eax
call fcn.005aaf90
add esp, 4
test eax, eax
jne 0x51161f
lea eax, [esp + 0x4bc]
push eax
push eax
call fcn.005aa0a0
lea eax, [esp + 0x4c4]
push eax
call fcn.005aaf90
add esp, 0xc
push esi
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00434c90
add esp, 4
mov ecx, eax
mov byte [esp + 0x1600], 0x28
cmp dword [ecx + 0x14], 8
jb 0x511643
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
cmp dword [esp + 0xc8], 8
jb 0x511661
push dword [esp + 0xb4]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x1600], 0x26
cmp dword [esp + 0x110], 8
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
jb 0x51169f
push dword [esp + 0xfc]
call ebx
add esp, 4
mov ebx, dword [esp + 0x60]
xor edx, edx
mov eax, dword [0x6d5a64]
mov esi, dword [ebx]
sub eax, edx
je 0x5116d7
dec eax
je 0x5116c5
mov ecx, str.vt_unknown_2
call fcn.004180f0
push eax
mov ecx, ebx
call dword [esi + 0x3c]
jmp 0x5116f3
mov ecx, str.enable_setting
call fcn.004180f0
push eax
mov ecx, ebx
call dword [esi + 0x3c]
jmp 0x5116f3
mov ecx, str.disable_setting
call fcn.004180f0
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0xe0]
mov ecx, 0x6d69c4
call fcn.00430320
mov ecx, 0x6d69c4
mov esi, eax
call fcn.004302c0
mov ecx, dword [0x6d69bc]
mov dword [esp + 0x64], eax
mov byte [esp + 0x37], 1
test ecx, ecx
je 0x51172f
lea eax, [esp + 0x37]
push eax
push str.vmdkFastMode
call fcn.004306b0
mov byte [esp + 0x37], al
mov ecx, 0x6d69c4
call fcn.0042ec00
mov ebx, eax
mov ecx, 0x6d69c4
lea eax, [esp + 0x84]
push eax
call fcn.0042ed80
mov ecx, 0x6d69c4
call fcn.0042ec50
sub esp, 0x18
mov dword [esp + 0x98], 0
mov edi, eax
lea ecx, [esp + 0x98]
mov edx, esp
mov eax, dword [esp + 0x60]
mov dword [edx], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_d7e1b6030fdcbb34e8cbf5652575e116___0___class_std::allocator_class_std::_Func_class_void__int____void__int_.0
mov dword [edx + 8], ecx
mov ecx, 0x6d6910
mov dword [edx + 4], eax
mov dword [edx + 0x10], edx
mov byte [esp + 0x1618], 0x26
call fcn.00596dd0
lea ecx, [esp + 0x334]
call fcn.005a6e20
push esi
mov edx, str.cpu_core_count_text
mov byte [esp + 0x1604], 0x2a
lea ecx, [esp + 0x3c0]
call fcn.00425080
add esp, 4
mov esi, eax
mov byte [esp + 0x1600], 0x2b
xor edx, edx
movzx ecx, byte [esp + 0x37]
push ecx
mov ecx, str.multiplay_vmdk_mode_fast
call fcn.004180f0
push eax
push dword [esp + 0x88]
xor edx, edx
mov ecx, str.diagnosis_running_count
call fcn.004180f0
push eax
push dword [esp + 0x74]
xor edx, edx
mov ecx, str.ram_size
call fcn.004180f0
push eax
mov ecx, esi
call fcn.00424550
push eax
lea eax, [esp + 0x350]
push str.CPU__s___s__dM___s__d___s__d_
push eax
call fcn.005a75f0
add esp, 0x24
mov byte [esp + 0x1600], 0x2a
lea ecx, [esp + 0x3bc]
call fcn.005a6ee0
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x334]
mov esi, dword [esi]
call fcn.00424550
mov ecx, dword [esp + 0x38]
push eax
call dword [esi + 0x3c]
lea ecx, [esp + 0x2ac]
call fcn.005a6e20
push ebx
push edi
mov byte [esp + 0x1608], 0x2c
lea eax, [esp + 0x2b4]
push dword [esp + 0x90]
push dword [esp + 0x90]
push str._dx_d_dpi__d_fps__d
push eax
call fcn.005a75f0
mov edi, dword [esp + 0xac]
lea ecx, [esp + 0x2c4]
add esp, 0x18
mov esi, dword [edi]
call fcn.00424550
push eax
mov ecx, edi
call dword [esi + 0x3c]
push str.Not_start
lea ecx, [esp + 0x194]
call fcn.00413780
mov byte [esp + 0x1600], 0x2d
mov ecx, dword [0x6d5a5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x511a92
mov ecx, dword [0x6d5a58]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x3c]
mov byte [esp + 0x3b], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x3f]
push edx
call dword [eax + 0xa4]
xor edx, edx
mov ecx, str.disk_totoal_size
call fcn.004180f0
push eax
lea ecx, [esp + 0x14c]
call fcn.00413780
mov byte [esp + 0x1600], 0x2e
lea ecx, [esp + 0xfc]
mov eax, dword [esp + 0x38]
add eax, 0x400
cdq
and edx, 0x3ff
add edx, eax
sar edx, 0xa
call fcn.0042eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x160c], 0x2f
call fcn.0042da40
mov byte [esp + 0x1600], 0x2e
cmp dword [esp + 0x110], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x51197e
push dword [esp + 0xfc]
call esi
add esp, 4
push 3
push 0x638ee0
lea ecx, [esp + 0x150]
call fcn.004245a0
xor edx, edx
mov ecx, str.dsik_surplus
call fcn.004180f0
push eax
lea ecx, [esp + 0x14c]
call fcn.00423d50
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xfc]
cmp eax, 0x400
jge 0x511a01
mov edx, eax
call fcn.0042eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x160c], 0x30
call fcn.0042da40
mov byte [esp + 0x1600], 0x2e
cmp dword [esp + 0x110], 8
jb 0x5119fa
push dword [esp + 0xfc]
call esi
add esp, 4
push 0x638ef8
jmp 0x511a4e
cdq
and edx, 0x3ff
add edx, eax
sar edx, 0xa
call fcn.0042eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x160c], 0x31
call fcn.0042da40
mov byte [esp + 0x1600], 0x2e
cmp dword [esp + 0x110], 8
jb 0x511a49
push dword [esp + 0xfc]
call esi
add esp, 4
push 0x638f00
lea ecx, [esp + 0x14c]
call fcn.00423d50
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x19c]
call fcn.00413280
mov byte [esp + 0x1600], 0x2d
cmp dword [esp + 0x15c], 8
jb 0x511a98
push dword [esp + 0x148]
call esi
add esp, 4
jmp 0x511a98
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [esp + 0x48]
push str.diskInfoLabel
lea ecx, [ecx + 0x2c]
call fcn.005aa3d0
cmp dword [esp + 0x1a4], 8
lea ecx, [esp + 0x190]
cmovae ecx, dword [esp + 0x190]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
lea ecx, [esp + 0xb4]
call fcn.004e6d90
push eax
lea ecx, [esp + 0x134]
call fcn.00418050
mov byte [esp + 0x1600], 0x32
cmp dword [esp + 0xc8], 8
jb 0x511aff
push dword [esp + 0xb4]
call esi
add esp, 4
push 4
xor eax, eax
mov dword [esp + 0xcc], 7
push str.log
lea ecx, [esp + 0x138]
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
call fcn.004245a0
lea eax, [esp + 0x130]
push eax
call fcn.0057a5c0
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x134]
add esp, 4
cmp dword [esp + 0x144], 8
cmovae ecx, dword [esp + 0x130]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
cmp dword [esp + 0x144], 8
jb 0x511b7e
push dword [esp + 0x130]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x144], 7
cmp dword [esp + 0x1a4], 8
mov dword [esp + 0x140], 0
mov word [esp + 0x130], ax
jb 0x511bb4
push dword [esp + 0x190]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x1a4], 7
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x1a0], 0
mov word [esp + 0x190], ax
mov byte [esp + 0x1600], 0x2a
call fcn.005a6ee0
lea ecx, [esp + 0x334]
mov byte [esp + 0x1600], 0x26
call fcn.005a6ee0
cmp dword [esp + 0x21c], 8
jb 0x511c12
push dword [esp + 0x208]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x21c], 7
cmp dword [esp + 0x24c], 0x10
mov dword [esp + 0x218], 0
mov word [esp + 0x208], ax
jb 0x511c48
push dword [esp + 0x238]
call esi
add esp, 4
cmp dword [esp + 0x204], 8
mov dword [esp + 0x24c], 0xf
mov dword [esp + 0x248], 0
mov byte [esp + 0x238], 0
jb 0x511c7c
push dword [esp + 0x1f0]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x204], 7
lea ecx, [esp + 0x6c]
mov dword [esp + 0x200], 0
mov word [esp + 0x1f0], ax
call fcn.004e93b0
cmp dword [esp + 0x234], 0x10
jb 0x511cbb
push dword [esp + 0x220]
call esi
add esp, 4
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x234], 0xf
mov dword [esp + 0x230], 0
mov byte [esp + 0x220], 0
jb 0x511cef
push dword [esp + 0x160]
call esi
add esp, 4
cmp dword [esp + 0xf8], 0x10
mov dword [esp + 0x174], 0xf
mov dword [esp + 0x170], 0
mov byte [esp + 0x160], 0
jb 0x511d23
push dword [esp + 0xe4]
call esi
add esp, 4
cmp dword [esp + 0x1ec], 8
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
jb 0x511d57
push dword [esp + 0x1d8]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x1ec], 7
cmp dword [esp + 0x1d4], 8
mov dword [esp + 0x1e8], 0
mov word [esp + 0x1d8], ax
jb 0x511d8d
push dword [esp + 0x1c0]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x1d4], 7
cmp dword [esp + 0x1bc], 0x10
mov dword [esp + 0x1d0], 0
mov word [esp + 0x1c0], ax
jb 0x511dc3
push dword [esp + 0x1a8]
call esi
add esp, 4
cmp dword [esp + 0x18c], 0x10
mov dword [esp + 0x1bc], 0xf
mov dword [esp + 0x1b8], 0
mov byte [esp + 0x1a8], 0
jb 0x511df7
push dword [esp + 0x178]
call esi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], 0
mov byte [esp + 0x178], 0
mov byte [esp + 0x1600], 0
call fcn.0057e010
cmp dword [esp + 0x12c], 8
jb 0x511e3c
push dword [esp + 0x118]
call esi
add esp, 4
mov ecx, dword [esp + 0x15f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x15b0]
xor ecx, esp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret