Function at 0x43c110
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8578
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x6af320]
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 ebx, dword [ebp + 8]
mov ecx, 0x6d69c4
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x19c], 0
call fcn.00430320
mov ecx, dword [ebx]
test ecx, ecx
jle 0x43c246
cmp ecx, eax
jg 0x43c172
cmp byte [esi + 0xe8], 0
je 0x43c246
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x1ac], 0
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], 0
call fcn.00590080
mov eax, dword [ebp - 0x1ac]
cmp eax, 4
mov ecx, dword [ebx]
cmovb eax, dword [ebp - 0x1a4]
cmp eax, ecx
jge 0x43c222
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x80
push str.app_not_cpu_number
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.005aaf90
add esp, 4
test eax, eax
jne 0x43c213
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.005aa0a0
lea eax, [ebp - 0x110]
push eax
call fcn.005aaf90
add esp, 0xc
push eax
mov ecx, edi
call fcn.00415f50
xor al, al
jmp 0x43c7e5
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [0x6d69c4]
push eax
push str.advancedSettings.cpuCount
call fcn.0042e930
mov byte [ebp - 0x19c], 1
mov ecx, 0x6d69c4
call fcn.004302c0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jle 0x43c2ec
cmp ecx, eax
jg 0x43c26c
cmp byte [esi + 0xe9], 0
je 0x43c2ec
lea eax, [ebp - 0x198]
mov dword [ebp - 0x198], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jge 0x43c2c8
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x80
push str.app_not_enough_memory
jmp 0x43c1cd
mov ecx, dword [0x6d69c4]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push eax
push str.advancedSettings.memorySize
call fcn.0042e930
mov byte [ebp - 0x19c], 1
cmp dword [ebx + 0x38], 0
jle 0x43c396
cmp dword [ebx + 0x3c], 0
jle 0x43c396
cmp dword [ebx + 0x40], 0
jle 0x43c396
lea eax, [ebp - 0x1a8]
mov ecx, 0x6d69c4
push eax
call fcn.0042ed80
mov eax, dword [eax]
cmp eax, dword [ebx + 0x38]
jne 0x43c34a
lea eax, [ebp - 0x1a8]
mov ecx, 0x6d69c4
push eax
call fcn.0042ed80
mov eax, dword [eax + 4]
cmp eax, dword [ebx + 0x3c]
jne 0x43c34a
mov ecx, 0x6d69c4
call fcn.0042ec50
cmp eax, dword [ebx + 0x40]
je 0x43c396
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1a4], ecx
push ecx
mov ecx, dword [0x6d69c4]
call fcn.0042e440
mov eax, dword [ebx + 0x40]
mov ecx, dword [0x6d69c4]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push eax
push str.advancedSettings.resolutionDpi
call fcn.0042e930
mov byte [ebp - 0x19c], 1
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
je 0x43c3c5
mov ecx, dword [0x6d69c4]
test eax, eax
lea eax, [ebp - 0x19c]
push eax
push str.basicSettings.rootMode
setne byte [ebp - 0x19c]
call fcn.0042e5d0
mov byte [ebp - 0x19c], 1
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x43c3f4
mov ecx, dword [0x6d69c4]
test eax, eax
lea eax, [ebp - 0x19c]
push eax
push str.basicSettings.astc
setne byte [ebp - 0x19c]
call fcn.0042e5d0
mov byte [ebp - 0x19c], 1
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 0x43c5f2
lea eax, [ebp - 0x140]
mov ecx, 0x6d69c4
push eax
call fcn.0042f760
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc4]
mov edi, dword [ebx + 0xc8]
cmp esi, edi
je 0x43c4ac
nop
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.00413280
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0057a780
add esp, 8
test al, al
jne 0x43c4e1
mov byte [ebp - 4], al
cmp dword [ebp - 0x114], 8
jb 0x43c4a5
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 0x43c440
cmp dword [ebx + 0xbc], 0
jne 0x43c504
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 0x43c50a
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp dword [ebp - 0x114], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43c5d7
push dword [ebp - 0x128]
call esi
add esp, 4
jmp 0x43c5d7
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.00413280
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 2
mov ecx, dword [0x6d69c4]
push eax
push str.propertySettings.phoneModel
call fcn.0042e720
mov byte [ebp - 4], 0
cmp dword [ebp - 0x114], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43c56f
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.00413280
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
mov ecx, dword [0x6d69c4]
push eax
push str.propertySettings.phoneManufacturer
call fcn.0042e720
cmp dword [ebp - 0x114], 8
jb 0x43c5d0
push dword [ebp - 0x128]
call esi
add esp, 4
mov byte [ebp - 0x19c], 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x12c], 8
jb 0x43c5f2
push dword [ebp - 0x140]
call esi
add esp, 4
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 0x43c7aa
lea eax, [ebp - 0x158]
mov ecx, 0x6d69c4
push eax
call fcn.0042f760
mov dword [ebp - 4], 4
mov esi, dword [ebx + 0xd0]
mov edi, dword [ebx + 0xd4]
cmp esi, edi
je 0x43c78b
xor eax, eax
mov dword [ebp - 0x12c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
call fcn.00413280
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0057a780
add esp, 8
test al, al
je 0x43c764
xor eax, eax
mov dword [ebp - 0x114], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x128], ax
lea ecx, [ebp - 0x128]
lea eax, [ebx + 0xac]
mov dword [ebp - 0x118], 0
push eax
call fcn.00413280
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 6
mov ecx, dword [0x6d69c4]
push eax
push str.propertySettings.phoneModel
call fcn.0042e720
mov byte [ebp - 4], 5
cmp dword [ebp - 0x114], 8
jb 0x43c6f8
push dword [ebp - 0x128]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
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.00413280
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 7
mov ecx, dword [0x6d69c4]
push eax
push str.propertySettings.phoneManufacturer
call fcn.0042e720
cmp dword [ebp - 0x114], 8
jb 0x43c75d
push dword [ebp - 0x128]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 0x19c], 1
mov byte [ebp - 4], 4
cmp dword [ebp - 0x12c], 8
jb 0x43c780
push dword [ebp - 0x140]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x43c641
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x144], 8
jb 0x43c7aa
push dword [ebp - 0x158]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [ebx + 0x184], 0
je 0x43c7cf
mov ecx, dword [0x6d5a58]
lea edx, [ebp - 0x19d]
mov byte [ebp - 0x19d], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xb0]
cmp byte [ebp - 0x19c], 0
je 0x43c7e3
mov ecx, dword [0x6d69c4]
call fcn.005942a0
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.005f24e0
mov esp, ebp
pop ebp
ret 8