Function at 0x430df0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565358
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x5e2320]
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 [0x5fb708]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.00428450
mov ecx, dword [ebx]
test ecx, ecx
jle 0x430f4e
cmp ecx, eax
jg 0x430e4c
cmp byte [esi + 0xb0], 0
je 0x430f4e
lea edx, [ebp - 0x1bc]
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1bc], 0
call fcn.00507650
mov eax, dword [ebp - 0x1c4]
cmp eax, 4
mov ecx, dword [ebx]
cmovb eax, dword [ebp - 0x1bc]
cmp eax, ecx
jge 0x430f31
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.0051b100
mov edx, eax
add esp, 4
test edx, edx
jne 0x430ef5
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.0051a210
lea eax, [ebp - 0x110]
push eax
call fcn.0051b100
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x430f0d
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.0040be00
xor al, al
jmp 0x43153b
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430f12
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040be00
xor al, al
jmp 0x43153b
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], ecx
mov ecx, dword [0x5fb708]
push eax
push str.advancedSettings.cpuCount
call fcn.00426810
mov ecx, dword [0x5fb708]
call fcn.004283f0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jle 0x43103e
cmp ecx, eax
jg 0x430f75
cmp byte [esi + 0xb1], 0
je 0x43103e
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 0x431021
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.0051b100
add esp, 4
test eax, eax
jne 0x431012
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.0051a210
lea eax, [ebp - 0x110]
push eax
call fcn.0051b100
add esp, 0xc
push eax
mov ecx, edi
call fcn.0040e440
xor al, al
jmp 0x43153b
mov ecx, dword [0x5fb708]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1bc]
push eax
push str.advancedSettings.memorySize
call fcn.00426810
cmp dword [ebx + 0x38], 0
jle 0x4310e4
cmp dword [ebx + 0x3c], 0
jle 0x4310e4
cmp dword [ebx + 0x40], 0
jle 0x4310e4
mov ecx, dword [0x5fb708]
lea eax, [ebp - 0x1c8]
push eax
call fcn.00426ca0
mov eax, dword [eax]
cmp eax, dword [ebx + 0x38]
jne 0x43109f
mov ecx, dword [0x5fb708]
lea eax, [ebp - 0x1d0]
push eax
call fcn.00426ca0
mov eax, dword [eax + 4]
cmp eax, dword [ebx + 0x3c]
jne 0x43109f
mov ecx, dword [0x5fb708]
call fcn.00426b70
cmp eax, dword [ebx + 0x40]
je 0x4310e4
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 [0x5fb708]
call fcn.00426200
mov eax, dword [ebx + 0x40]
mov ecx, dword [0x5fb708]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1bc]
push eax
push str.advancedSettings.resolutionDpi
call fcn.00426810
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
je 0x43110c
mov ecx, dword [0x5fb708]
test eax, eax
lea eax, [ebp - 0x1b8]
push eax
push str.basicSettings.rootMode
setne byte [ebp - 0x1b8]
call fcn.00426500
mov ecx, dword [ebx + 0xc4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0xc0]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x431361
mov ecx, dword [0x5fb708]
lea eax, [ebp - 0x140]
push eax
call fcn.00427a00
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc0]
mov edi, dword [ebx + 0xc4]
cmp esi, edi
je 0x4311cd
jmp 0x431160
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.0040ba20
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 0x431202
mov byte [ebp - 4], al
cmp dword [ebp - 0x144], 8
jb 0x4311c6
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 0x431160
cmp dword [ebx + 0xb8], 0
jne 0x43123c
mov ecx, dword [ebx + 0xc4]
mov eax, 0x2aaaaaab
mov esi, dword [ebx + 0xc0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x431242
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 0x43121a
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 0x431325
lea esi, [ebx + 0xa8]
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.0040ba20
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
mov ecx, dword [0x5fb708]
push eax
push str.propertySettings.phoneModel
call fcn.00426650
mov byte [ebp - 4], 0
cmp dword [ebp - 0x114], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4312a7
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 + 0x90]
mov dword [ebp - 0x118], 0
push eax
call fcn.0040ba20
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
mov ecx, dword [0x5fb708]
push eax
push str.propertySettings.phoneManufacturer
call fcn.00426650
cmp dword [ebp - 0x114], 8
jb 0x431308
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 0x431344
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 + 0xd0]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0xcc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x431514
mov ecx, dword [0x5fb708]
lea eax, [ebp - 0x170]
push eax
call fcn.00427a00
mov dword [ebp - 4], 4
mov esi, dword [ebx + 0xcc]
mov edi, dword [ebx + 0xd0]
cmp esi, edi
je 0x4314f5
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.0040ba20
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 0x4314ce
xor eax, eax
mov dword [ebp - 0x12c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x140], ax
lea ecx, [ebp - 0x140]
lea eax, [ebx + 0xa8]
mov dword [ebp - 0x130], 0
push eax
call fcn.0040ba20
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 6
mov ecx, dword [0x5fb708]
push eax
push str.propertySettings.phoneModel
call fcn.00426650
mov byte [ebp - 4], 5
cmp dword [ebp - 0x12c], 8
jb 0x431469
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 + 0x90]
mov dword [ebp - 0x130], 0
push eax
call fcn.0040ba20
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 7
mov ecx, dword [0x5fb708]
push eax
push str.propertySettings.phoneManufacturer
call fcn.00426650
cmp dword [ebp - 0x12c], 8
jb 0x4314ce
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 0x4314ea
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 0x4313b1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x15c], 8
jb 0x431514
push dword [ebp - 0x170]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [ebx + 0x180], 0
je 0x431539
mov ecx, dword [0x5fc178]
lea edx, [ebp - 0x1b1]
mov byte [ebp - 0x1b1], 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.005600c0
mov esp, ebp
pop ebp
ret 8