Function at 0x68f4abae
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f5b575
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x68f6edd8]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0xa8]
push eax
call fcn.68f162b2
xor ebx, ebx
mov dword [esp + 0x100], ebx
cmp dword [esp + 0xa4], ebx
je 0x68f4ae13
mov ecx, dword [esp + 0xbc]
sub ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc0]
sub eax, dword [esp + 0xb8]
cmp ecx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x68f4ae13
cmp eax, ebx
je 0x68f4ae13
push eax
push ecx
push dword [esp + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x68f4acdb
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcess]
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
push eax
call edi
push 1
call esi
push eax
call edi
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
test eax, eax
jg 0x68f4aca9
call esi
jmp 0x68f4acb5
call esi
and eax, 0xffff
or eax, 0x80070000
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
push ebx
push 0x68f6f114
push str.CreateCompatibleBitmap_failed._Last_Win32_Error:_0x_x__Bitmap_width:__d__Bitmap_height:__d
push 0x80004005
push 0x2e6f6c73
call fcn.68f26eac
add esp, 0x20
push dword [esp + 0xa4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, ebx
jne 0x68f4acf8
push 0x2e617a61
call fcn.68ef2114
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0xbc]
neg eax
push eax
mov eax, dword [esp + 0xbc]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push dword [esp + 0x20]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x1c], ebx
je 0x68f4ad7e
push 0x3c
lea eax, [esp + 0x4c]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x28]
or dword [esp + 0x5c], 0xffffffff
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
push edx
mov dword [esp + 0x4c], 0x3c
mov dword [esp + 0x50], 1
mov dword [esp + 0x60], esi
call dword [eax]
jmp 0x68f4ad98
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
push edx
push esi
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 1
push eax
call dword [ecx + 0xc]
push 0xcc0020
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0xd0]
push dword [esp + 0xd0]
push dword [esp + 0xc4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x28]
push esi
call edi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
jne 0x68f4adee
push 0x2e617938
call fcn.68ef2114
push ebx
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x68f4ae13
push 0x2e617939
call fcn.68ef2114
or dword [esp + 0x100], 0xffffffff
lea eax, [esp + 0xa4]
push eax
call fcn.68f162e9
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.68f53fd7
mov esp, ebp
pop ebp
ret 0xc