Function at 0x430340
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c138
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x603320]
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 esi, ecx
mov ecx, dword [0x61e5c0]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.004292e0
mov ecx, dword [ebx]
test ecx, ecx
jle 0x43049e
cmp ecx, eax
jg 0x43039c
cmp byte [esi + 0xb0], 0
je 0x43049e
lea edx, [ebp - 0x1bc]
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1bc], 0
call fcn.0051d8a0
mov eax, dword [ebp - 0x1c4]
cmp eax, 4
mov ecx, dword [ebx]
cmovb eax, dword [ebp - 0x1bc]
cmp eax, ecx
jge 0x430481
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x80
push str.app_not_cpu_number
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.00531580
mov edx, eax
add esp, 4
test edx, edx
jne 0x430445
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.00530690
lea eax, [ebp - 0x110]
push eax
call fcn.00531580
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x43045d
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.0040dd10
xor al, al
jmp 0x430aab
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430462
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040dd10
xor al, al
jmp 0x430aab
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], ecx
mov ecx, dword [0x61e5c0]
push eax
push str.advancedSettings.cpuCount
call fcn.00427850
mov ecx, dword [0x61e5c0]
call fcn.00429280
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jle 0x43058e
cmp ecx, eax
jg 0x4304c5
cmp byte [esi + 0xb1], 0
je 0x43058e
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b0], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a4]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jge 0x430571
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x80
push str.app_not_enough_memory
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.00531580
add esp, 4
test eax, eax
jne 0x430562
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.00530690
lea eax, [ebp - 0x110]
push eax
call fcn.00531580
add esp, 0xc
push eax
mov ecx, edi
call fcn.004103e0
xor al, al
jmp 0x430aab
mov ecx, dword [0x61e5c0]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1bc]
push eax
push str.advancedSettings.memorySize
call fcn.00427850
cmp dword [ebx + 0x38], 0
jle 0x430634
cmp dword [ebx + 0x3c], 0
jle 0x430634
cmp dword [ebx + 0x40], 0
jle 0x430634
mov ecx, dword [0x61e5c0]
lea eax, [ebp - 0x1c8]
push eax
call fcn.00427c30
mov eax, dword [eax]
cmp eax, dword [ebx + 0x38]
jne 0x4305ef
mov ecx, dword [0x61e5c0]
lea eax, [ebp - 0x1d0]
push eax
call fcn.00427c30
mov eax, dword [eax + 4]
cmp eax, dword [ebx + 0x3c]
jne 0x4305ef
mov ecx, dword [0x61e5c0]
call fcn.00427b00
cmp eax, dword [ebx + 0x40]
je 0x430634
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x1bc], ecx
push ecx
mov ecx, dword [0x61e5c0]
call fcn.00427240
mov eax, dword [ebx + 0x40]
mov ecx, dword [0x61e5c0]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1bc]
push eax
push str.advancedSettings.resolutionDpi
call fcn.00427850
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
je 0x43065c
mov ecx, dword [0x61e5c0]
test eax, eax
lea eax, [ebp - 0x1b4]
push eax
push str.basicSettings.rootMode
setne byte [ebp - 0x1b4]
call fcn.00427540
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x430684
mov ecx, dword [0x61e5c0]
test eax, eax
lea eax, [ebp - 0x1b4]
push eax
push str.basicSettings.astc
setne byte [ebp - 0x1b4]
call fcn.00427540
mov ecx, dword [ebx + 0xc8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0xc4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4308d1
mov ecx, dword [0x61e5c0]
lea eax, [ebp - 0x140]
push eax
call fcn.00428990
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc4]
mov edi, dword [ebx + 0xc8]
cmp esi, edi
je 0x43073d
xor eax, eax
mov dword [ebp - 0x144], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
call fcn.0040d950
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.dnutility.dll_public:_static_bool___cdecl_utility::ustring::isSubStringNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x430772
mov byte [ebp - 4], al
cmp dword [ebp - 0x144], 8
jb 0x430736
push dword [ebp - 0x158]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x4306d0
cmp dword [ebx + 0xbc], 0
jne 0x4307ac
mov ecx, dword [ebx + 0xc8]
mov eax, 0x2aaaaaab
mov esi, dword [ebx + 0xc4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4307b2
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp dword [ebp - 0x144], 8
jb 0x43078a
push dword [ebp - 0x158]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
jmp 0x430895
lea esi, [ebx + 0xac]
xor eax, eax
mov dword [ebp - 0x114], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.0040d950
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
mov ecx, dword [0x61e5c0]
push eax
push str.propertySettings.phoneModel
call fcn.00427690
mov byte [ebp - 4], 0
cmp dword [ebp - 0x114], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x430817
push dword [ebp - 0x128]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x128], ax
lea ecx, [ebp - 0x128]
lea eax, [ebx + 0x94]
mov dword [ebp - 0x118], 0
push eax
call fcn.0040d950
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
mov ecx, dword [0x61e5c0]
push eax
push str.propertySettings.phoneManufacturer
call fcn.00427690
cmp dword [ebp - 0x114], 8
jb 0x430878
push dword [ebp - 0x128]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x12c], 8
jb 0x4308b4
push dword [ebp - 0x140]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], cx
mov ecx, dword [ebx + 0xd4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0xd0]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x430a84
mov ecx, dword [0x61e5c0]
lea eax, [ebp - 0x170]
push eax
call fcn.00428990
mov dword [ebp - 4], 4
mov esi, dword [ebx + 0xd0]
mov edi, dword [ebx + 0xd4]
cmp esi, edi
je 0x430a65
xor eax, eax
mov dword [ebp - 0x114], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.0040d950
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.dnutility.dll_public:_static_bool___cdecl_utility::ustring::isSubStringNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
je 0x430a3e
xor eax, eax
mov dword [ebp - 0x12c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x140], ax
lea ecx, [ebp - 0x140]
lea eax, [ebx + 0xac]
mov dword [ebp - 0x130], 0
push eax
call fcn.0040d950
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 6
mov ecx, dword [0x61e5c0]
push eax
push str.propertySettings.phoneModel
call fcn.00427690
mov byte [ebp - 4], 5
cmp dword [ebp - 0x12c], 8
jb 0x4309d9
push dword [ebp - 0x140]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x12c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x140], ax
lea ecx, [ebp - 0x140]
lea eax, [ebx + 0x94]
mov dword [ebp - 0x130], 0
push eax
call fcn.0040d950
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 7
mov ecx, dword [0x61e5c0]
push eax
push str.propertySettings.phoneManufacturer
call fcn.00427690
cmp dword [ebp - 0x12c], 8
jb 0x430a3e
push dword [ebp - 0x140]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x114], 8
jb 0x430a5a
push dword [ebp - 0x128]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x430921
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x15c], 8
jb 0x430a84
push dword [ebp - 0x170]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [ebx + 0x184], 0
je 0x430aa9
mov ecx, dword [0x61f210]
lea edx, [ebp - 0x1b5]
mov byte [ebp - 0x1b5], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc4]
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.00576f50
mov esp, ebp
pop ebp
ret 8