Function at 0x1002767d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100675f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027c5a
lea eax, [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x98], 0x889
mov dword [ebp - 0xd0], 0x10009470
cmp dword [ebp - 0x98], 0x983
jle 0x10027738
and dword [ebp - 0x40], 0
jmp 0x100276e4
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x4e30
jge 0x10027730
and dword [ebp - 0x54], 0
jmp 0x100276fa
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x1f18
jge 0x1002772e
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x54]
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x100276f3
jmp 0x100276dd
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x98], 0x56b
jge 0x10027761
mov edx, dword [ebp - 0xd0]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1002777d
or dword [ebp - 4], 0xffffffff
jmp 0x10027787
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x10027b23
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x124], 0x513c61c7
mov dword [ebp - 0x30], 0
jmp 0x100277d7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x100277ed
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x150], 0
jmp 0x100277d0
mov dword [ebp - 0x50], 0
jmp 0x100277fd
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x14
jge 0x10027993
mov dword [ebp - 0x20], 0x5d09ea98
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x20], 2
jmp 0x10027828
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002798e
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x12c], 0xf48c443e
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x58], 0x3af7
mov dword [ebp - 0x9c], 0x100094a8
cmp dword [ebp - 0x58], 0x3dc6
jle 0x10027921
push 0x7b5
push 0xebb
push 0
call dword [sym.imp.USER32.dll_OffsetRect]
and dword [ebp - 0x38], 0
jmp 0x1002788d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3d7d
jge 0x10027921
and dword [ebp - 0x48], 0
jmp 0x100278a7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x7c5b
jge 0x1002791c
and dword [ebp - 0x28], 0
jmp 0x100278bd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc5d
jge 0x1002791a
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x168]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x168]
call fcn.10019ccf
jmp 0x100278b6
jmp 0x100278a0
jmp 0x10027886
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x58], 0x3757
jge 0x10027947
push dword [ebp - 0x9c]
call fcn.10051966
pop ecx
jmp 0x10027963
or dword [ebp - 4], 0xffffffff
jmp 0x1002796d
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x150], 0
je 0x10027989
jmp 0x1002798e
jmp 0x10027821
jmp 0x100277f6
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x7e434392
mov dword [ebp - 0x13c], 0x26fbd10c
mov dword [ebp - 0x130], 7
mov dword [ebp - 0x118], 0xfffffffb
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x18], 0x8807
jge 0x10027a0b
mov dword [ebp - 0x6c], 1
jmp 0x10027a0f
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x6c]
jl 0x10027a23
mov dword [ebp - 0xe0], 1
jmp 0x10027a2a
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x18], 0xfffffffd
jae 0x10027a4e
mov dword [ebp - 0x84], 1
jmp 0x10027a55
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
je 0x10027a75
cmp dword [ebp - 0x1c], 0
je 0x10027a75
mov dword [ebp - 0x74], 1
jmp 0x10027a79
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x74], eax
je 0x10027a90
cmp dword [ebp - 0x1c], 0
jne 0x10027a90
and dword [ebp - 0xb8], 0
jmp 0x10027a9a
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
je 0x10027ab7
mov dword [ebp - 0x94], 1
jmp 0x10027abe
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x94], eax
jge 0x10027ad2
mov dword [ebp - 0x7c], 1
jmp 0x10027ad6
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 1
jae 0x10027ae5
mov dword [ebp - 0x5c], 1
jmp 0x10027ae9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10027c55
mov dword [ebp - 0x70], 0x71ce
mov dword [ebp - 0xa4], 0x10009500
cmp dword [ebp - 0x70], 0x7442
jle 0x10027bec
push 0
push 0x2388
push 0x393
push 0xea9
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
and dword [ebp - 0x44], 0
jmp 0x10027b65
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1928
jge 0x10027bec
and dword [ebp - 0x3c], 0
jmp 0x10027b7b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x3b5e
jge 0x10027be7
and dword [ebp - 0x2c], 0
jmp 0x10027b91
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x27f8
jge 0x10027be5
and dword [ebp - 0x34], 0
jmp 0x10027ba7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6d66
jge 0x10027be3
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
shl eax, cl
and eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x10027ba0
jmp 0x10027b8a
jmp 0x10027b74
jmp 0x10027b5e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x70], 0x7076
jge 0x10027c18
mov edx, dword [ebp - 0xa4]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x10027c34
or dword [ebp - 4], 0xffffffff
jmp 0x10027c3e
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x10027de7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xbc], 0x50ba1bf2
mov dword [ebp - 0x4c], 0
jmp 0x10027c8d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10027ca0
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x64], 0xfffffffd
jmp 0x10027c86
mov dword [ebp - 0x14], 1
jmp 0x10027cb0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10027dbd
push 3
lea ecx, [ebp - 0x108]
call fcn.10019f2a
mov dword [ebp - 4], 6
mov dword [ebp - 0x24], 0
jmp 0x10027cde
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10027cfa
push dword [ebp - 0x24]
lea ecx, [ebp - 0x108]
call fcn.10019fc8
mov dword [eax], 7
jmp 0x10027cd7
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x64], 0x12af048
jne 0x10027d1a
mov dword [ebp - 0x78], 1
jmp 0x10027d1e
and dword [ebp - 0x78], 0
mov eax, 0x70669599
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x64]
imul ecx, eax
imul eax, ecx, 3
cmp eax, dword [ebp - 0x14]
jg 0x10027d41
mov dword [ebp - 0x80], 1
jmp 0x10027d45
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x80], eax
jne 0x10027d5d
mov dword [ebp - 0x88], 1
jmp 0x10027d64
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x64]
mov edx, dword [ebp - 0x88]
lea ecx, [ecx + edx - 0x795ed7c6]
cmp ecx, dword [ebp + eax*4 - 0x64]
jg 0x10027d8d
mov dword [ebp - 0x90], 1
jmp 0x10027d94
and dword [ebp - 0x90], 0
push 2
lea ecx, [ebp - 0x108]
call fcn.10019fc8
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10019fac
jmp 0x10027ca9
push 0x7d12
push 0
push dword [ebp - 0xc4]
push 0x52ea
push dword [ebp - 0xcc]
push 0x4910
push 0x626e
call fcn.10027f94
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret