Function at 0x10034e83
Capabilities:
Get memory capacity

Disassembly:
mov eax, 0x1006583d
call fcn.10064598
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x38]
push 4
call fcn.100099bf
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push 3
mov dword [ebp - 0x1c], 0xeeda5852
pop edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], ebx
jmp 0x10034ec4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10034eb7
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x10034faa
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x24], 0x2415
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
cmp dword [eax + ecx*4], ebx
jne 0x10034f03
cmp dword [ebp - 0x1c], ebx
jne 0x10034f03
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
cmp dword [eax + ecx*4], ebx
jne 0x10034f03
mov esi, ebx
jmp 0x10034f06
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x38]
cmp esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x1c]
sete dl
xor ecx, ecx
cmp eax, edx
setl cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, 0x62d7bc35
setg cl
cmp dword [ebp - 0x14], ecx
jge 0x10034f43
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
cmp dword [eax + ecx*4], ebx
je 0x10034f43
xor edi, edi
inc edi
jmp 0x10034f45
mov edi, ebx
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
cmp dword [eax + ecx*4], 0xfffffffd
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
setne dl
sub edx, edi
neg edx
sbb edx, edx
inc edx
imul ecx, edx
add ecx, dword [eax + esi*4]
mov byte [ebp - 0xd], bl
je 0x10034f95
cmp byte [ebp - 0xd], bl
je 0x10034fa1
push ebx
push 0x264a
push 0x1cbe
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
jmp 0x10034fa1
cmp byte [ebp - 0xd], bl
je 0x10034fa1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
dec dword [ebp - 0x14]
jns 0x10034ed6
cmp dword [ebp - 0x38], ebx
je 0x10034fc1
push dword [ebp - 0x38]
call fcn.1004c427
pop ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], 0x1f53
cmp dword [ebp - 0x24], 0xd4c
jge 0x10035063
lea eax, [ebp - 0x18]
push eax
push 0x10007ae8
call fcn.1004c09b
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, eax
lea ecx, [ebp - 0x44]
push eax
call fcn.100099bf
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x44]
add eax, eax
test eax, eax
jle 0x1003501e
mov edi, esi
push edi
push 0x10007ae8
call fcn.1004c09b
mov eax, dword [ebp - 0x18]
inc ebx
add eax, eax
add edi, 4
pop ecx
pop ecx
cmp ebx, eax
jl 0x10035004
mov edx, dword [ebp - 0x40]
xor ebx, ebx
mov eax, edx
mov byte [ebp - 0x28], bl
push dword [ebp - 0x28]
sub eax, esi
mov ecx, esi
sar eax, 2
push eax
call fcn.10034204
mov edx, dword [ebp - 0x18]
mov ecx, 0x10007b8c
mov edi, 0x10007b90
mov eax, dword [esi + edx*4 - 4]
cmp eax, dword [esi + edx*4]
cmovge ecx, edi
push ecx
call fcn.1004c476
add esp, 0xc
test esi, esi
je 0x10035063
push esi
call fcn.1004c427
pop ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [eax]
mov dword [eax], ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret