Function at 0x74b890
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x777bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov esi, ebp
mov dword [esp + 0x20], ebp
call fcn.00451080
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov dword [ebp + method.Sexy::PopAnimListener.virtual_0], vtable.Sexy::PopAnimListener.0
mov dword [ebp], vtable.Sexy::Bej3App.0
mov dword [ebp + 4], vtable.Sexy::Bej3App.1.0
mov dword [ebp + method.Sexy::Bej3App.2.virtual_0], vtable.Sexy::Bej3App.2.0
mov edi, 0xf
mov dword [ebp + 0x9cc], edi
mov dword [ebp + 0x9c8], ebx
mov byte [ebp + 0x9b8], bl
mov dword [ebp + 0xa08], edi
mov dword [ebp + 0xa04], ebx
mov byte [ebp + 0x9f4], bl
mov dword [ebp + 0xa24], edi
mov dword [ebp + 0xa20], ebx
mov byte [ebp + 0xa10], bl
lea esi, [ebp + 0xa30]
mov byte [esp + 0xa4], 3
call fcn.0054a360
mov dword [ebp + 0xa90], edi
mov dword [ebp + 0xa8c], ebx
mov byte [ebp + 0xa7c], bl
mov dword [ebp + 0xaac], edi
mov dword [ebp + 0xaa8], ebx
mov byte [ebp + 0xa98], bl
push 0x404880
push 0x404cb0
push 5
push 0x20
lea eax, [ebp + 0xab4]
push eax
mov byte [esp + 0xb8], 6
call fcn.00644b0e
lea eax, [ebp + 0xb58]
push eax
mov byte [esp + 0xa8], 7
call fcn.00427590
mov edx, 7
xor ecx, ecx
mov dword [ebp + 0xb94], edx
mov dword [ebp + 0xb90], ebx
mov word [ebp + 0xb80], cx
lea eax, [ebp + 0xbec]
call fcn.004588c0
mov dword [ebp + 0xc24], edx
xor edx, edx
mov dword [ebp + 0xc20], ebx
mov word [ebp + 0xc10], dx
lea eax, [ebp + 0xca0]
push eax
mov byte [esp + 0xa8], 0xa
call fcn.00428920
lea ecx, [ebp + 0xcb8]
push ecx
mov byte [esp + 0xa8], 0xb
call fcn.00428920
lea edx, [ebp + 0xcd0]
push edx
mov byte [esp + 0xa8], 0xc
call fcn.00428920
lea eax, [ebp + 0xce8]
mov byte [esp + 0xa4], 0xd
push eax
call fcn.00428920
lea ecx, [ebp + 0xd00]
push ecx
mov byte [esp + 0xa8], 0xe
call fcn.00428920
lea edx, [ebp + 0xd18]
push edx
mov byte [esp + 0xa8], 0xf
call fcn.00428920
lea eax, [ebp + 0xd30]
push eax
mov byte [esp + 0xa8], 0x10
call fcn.00428920
lea ecx, [ebp + 0xd48]
push ecx
mov byte [esp + 0xa8], 0x11
call fcn.00428920
mov dword [ebp + 0xd8c], edi
mov dword [ebp + 0xd88], ebx
mov byte [ebp + 0xd78], bl
lea eax, [ebp + 0xd98]
push eax
mov byte [esp + 0xa8], 0x13
call fcn.0040c590
lea eax, [ebp + 0xdb8]
push eax
mov byte [esp + 0xa8], 0x14
call fcn.0040c590
mov byte [esp + 0xa4], 0x15
or edi, 0xffffffff
push 0x24
mov dword [ebp + 0x59c], 0x32
mov byte [ebp + 0x9d1], bl
mov dword [ebp + 0x9e4], ebx
mov byte [ebp + 0x9d4], bl
mov byte [ebp + 0x9d2], bl
mov dword [ebp + 0x9e0], 0x258
mov byte [ebp + 0x708], 1
mov byte [ebp + 0x738], 1
mov byte [ebp + 0x6d5], 1
mov byte [ebp + 0x9d3], bl
mov dword [ebp + 0xbf8], ebx
mov byte [ebp + 0x9b0], bl
mov dword [ebp + 0x9e8], ebx
mov byte [ebp + 0x9ec], bl
mov byte [ebp + 0x6e1], bl
mov dword [ebp + 0xf0], 0x20
mov byte [ebp + 0x9d5], bl
mov byte [ebp + 0x9d6], bl
mov byte [ebp + 0x9d7], bl
mov dword [ebp + 0x9dc], edi
mov dword [ebp + 0xa74], ebx
mov dword [ebp + 0xab0], ebx
mov dword [ebp + 0xbb8], ebx
mov dword [ebp + 0xbbc], edi
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xa4], 0x16
cmp esi, ebx
je 0x74bb95
push esi
call fcn.00419a30
mov byte [esi + 0x20], bl
jmp 0x74bb97
xor esi, esi
push 0xa
mov byte [esp + 0xa8], 0x15
push str.Bejeweled3
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0xba4], esi
mov byte [ebp + 0x6fa], 1
call fcn.004016e0
push 0x11
push str.PopCapBejeweled3
lea ecx, [ebp + 0x94]
call fcn.004016e0
push 0xb
push 0x80e874
lea ecx, [ebp + 0x78]
call fcn.00403a80
push 0xc
mov dword [ebp + 0xb78], ebx
mov dword [ebp + 0xb9c], ebx
mov dword [ebp + 0xb98], ebx
mov dword [ebp + 0xbd0], ebx
mov dword [ebp + 0xbd4], ebx
mov dword [ebp + 0xbc4], ebx
mov dword [ebp + 0xbc0], ebx
mov dword [ebp + 0xbc8], ebx
mov dword [ebp + 0xbcc], ebx
mov dword [ebp + 0xbe0], ebx
mov dword [ebp + 0xbe4], ebx
mov dword [ebp + 0xa28], ebx
mov dword [ebp + 0xbf8], ebx
mov dword [ebp + 0xbfc], edi
mov dword [ebp + 0xc00], ebx
mov dword [ebp + 0xc04], edi
mov dword [ebp + 0xb54], ebx
mov dword [ebp + 0xc2c], ebx
mov dword [ebp + 0xc30], ebx
mov dword [ebp + 0xc38], ebx
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bc70
mov dword [eax], vtable.Sexy::Bej3P3DListener.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x74bc72
xor eax, eax
mov dword [ebp + 0xc34], eax
lea esi, [ebp + 0xc3c]
mov edi, 7
push 0xc
mov dword [esi + 0x1c], ebx
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bca2
mov dword [eax], vtable.Sexy::Bej3P3DListener.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x74bca4
xor eax, eax
mov dword [esi], eax
add esi, 4
sub edi, 1
jne 0x74bc83
push 0xc
mov dword [ebp + 0xc78], ebx
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bcd0
mov dword [eax], vtable.Sexy::Bej3P3DListener.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x74bcd2
xor eax, eax
push 0x14
mov dword [ebp + 0xc74], eax
mov dword [ebp + 0xc80], ebx
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bcfa
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], vtable.Sexy::HyperTube3P3DListener.0
jmp 0x74bcfc
xor eax, eax
push 0xc
mov dword [ebp + 0xc7c], eax
mov dword [ebp + 0xc88], ebx
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bd24
mov dword [eax], vtable.Sexy::Bej3P3DListener.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x74bd26
xor eax, eax
push 0x2c
mov dword [ebp + 0xc84], eax
mov dword [ebp + 0xbd8], ebx
mov dword [ebp + 0xbdc], ebx
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xa4], 0x17
cmp esi, ebx
je 0x74bd8a
push 4
mov dword [esi], vtable.Sexy::GraphicsRecorder.0
lea edi, [esi + 0xc]
call fcn.006442a0
add esp, 4
cmp eax, ebx
je 0x74bd6f
mov dword [eax], edi
jmp 0x74bd71
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov dword [esi + 4], ebx
jmp 0x74bd8c
xor esi, esi
push pe_nt_image_headers32
lea edx, [esp + 0x28]
push ebx
mov byte [esp + 0xac], 0x15
push edx
mov dword [0x88b13c], esi
call fcn.0064edd0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], pe_nt_image_headers32
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
shrd eax, ecx, 0x14
shrd esi, edx, 0x14
mov dword [esp + 0x18], eax
shr ecx, 0x14
shr edx, 0x14
call fcn.00547400
push 0xe
push 0x80e88c
lea ecx, [esp + 0x6c]
mov edi, eax
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
mov byte [esp + 0xa4], 0x18
call fcn.00437cf0
movzx eax, al
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
call fcn.0046a440
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], 0x10
jb 0x74be44
mov edx, dword [esp + 0x68]
push edx
call fcn.006441c7
add esp, 4
push 0xd
push 0x80e89c
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
mov byte [esp + 0xa4], 0x19
call fcn.00437da0
movzx eax, al
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
call fcn.0046a440
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], 0x10
jb 0x74bea2
mov edx, dword [esp + 0x68]
push edx
call fcn.006441c7
add esp, 4
push 0x13
push str.compat_AppVidMemory
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea eax, [esp + 0x64]
push eax
push ebp
mov byte [esp + 0xac], 0x1a
call fcn.0046a510
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], 0x10
jb 0x74bef7
mov ecx, dword [esp + 0x68]
push ecx
call fcn.006441c7
add esp, 4
push 0x16
push str.compat_AppSysMemFreeMB
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea edx, [esp + 0x64]
push edx
push ebp
mov edi, esi
mov byte [esp + 0xac], 0x1b
call fcn.0046a510
mov esi, 0x10
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], esi
jb 0x74bf52
mov eax, dword [esp + 0x68]
push eax
call fcn.006441c7
add esp, 4
push 0x17
push str.compat_AppSysMemTotalMB
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xa8], 0x1c
mov edi, dword [esp + 0x1c]
push ebp
call fcn.0046a510
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], esi
jb 0x74bfaa
mov edx, dword [esp + 0x68]
push edx
call fcn.006441c7
add esp, 4
push 0x19
push str.compat_AppOrigScreenWidth
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xa8], 0x1d
mov edi, dword [ebp + 0x73c]
push ebp
call fcn.0046a510
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], esi
jb 0x74c004
mov ecx, dword [esp + 0x68]
push ecx
call fcn.006441c7
add esp, 4
push 0x1a
push str.compat_AppOrigScreenHeight
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xa8], 0x1e
mov edi, dword [ebp + 0x740]
push ebp
call fcn.0046a510
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], esi
jb 0x74c05e
mov eax, dword [esp + 0x68]
push eax
call fcn.006441c7
add esp, 4
xor edi, edi
cmp dword [ebp + 0x834], ebx
je 0x74c13d
push ebx
lea ecx, [esp + 0x68]
push ecx
call fcn.00404480
mov byte [esp + 0xa4], 0x1f
mov ecx, dword [ebp + 0x834]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x64]
push eax
push str.GetAppDefaultArtRes
call edx
test al, al
je 0x74c0a5
lea eax, [esp + 0x64]
call fcn.0049de30
mov edi, eax
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x8c], 8
jb 0x74c0c4
mov eax, dword [esp + 0x78]
push eax
call fcn.006441c7
add esp, 4
cmp edi, ebx
jle 0x74c13d
cmp edi, 0x4b0
je 0x74c135
cmp edi, 0x300
je 0x74c135
cmp edi, 0x258
je 0x74c135
push 0x37
push str.Default_art_resolution_must_be_either_1200__768__or_600
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016e0
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
mov byte [esp + 0xa8], 0x20
call fcn.00469540
mov byte [esp + 0xa4], 0x15
cmp dword [esp + 0x7c], esi
jb 0x74c135
mov edx, dword [esp + 0x68]
push edx
call fcn.006441c7
add esp, 4
mov dword [ebp + 0x9e0], edi
jmp 0x74c169
cmp dword [esp + 0x18], 0x200
jle 0x74c15f
cmp dword [ebp + 0x740], 0x258
jle 0x74c15f
mov dword [ebp + 0x9e0], 0x300
jmp 0x74c169
mov dword [ebp + 0x9e0], 0x258
fld qword [0x87d2f0]
mov edi, dword [ebp + 0x9e0]
fst qword [ebp + 0xf8]
mov ebx, 3
fld qword [str.333333]
lea eax, [ebx + 1]
fstp qword [ebp + 0x988]
lea esi, [esp + 0x18]
mov dword [ebp + 0xec], edi
fst qword [ebp + 0x990]
fldz
fstp qword [ebp + 0x998]
fld qword [0x82def0]
fstp qword [ebp + 0x9a0]
fstp qword [ebp + 0x9a8]
call fcn.004972e0
mov ecx, eax
mov eax, dword [ecx]
imul eax, edi
cdq
idiv dword [ecx + 4]
xor ebx, ebx
mov dword [ebp + 0xba0], ebx
mov dword [ebp + 0xbe8], ebx
mov dword [ebp + 0xd68], ebx
mov dword [ebp + 0xd6c], ebx
mov dword [ebp + 0xd70], ebx
mov dword [ebp + 0xba4], ebx
mov byte [ebp + 0xc28], bl
mov byte [ebp + 0x9d8], 1
lea ecx, [ebp + 0xa58]
mov dword [ebp + 0xe8], eax
mov eax, 0x80e7a8
lea ecx, [ecx]
mov edx, dword [eax]
mov dword [ecx], edx
add eax, 4
add ecx, 4
cmp eax, str.5Sec
jl 0x74c210
push 0xc0
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xa4], 0x21
cmp esi, ebx
je 0x74c264
push esi
call fcn.00466490
mov dword [esi], vtable.Sexy::UnderDialogWidget.0
mov byte [esi + 0x65], bl
mov byte [esi + 0x50], 1
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esi + 0x51], bl
jmp 0x74c266
xor esi, esi
mov byte [esp + 0xa4], 0x15
fldz
push 0x23
fstp dword [ebp + 0xd64]
push str.http:__labs.popcap.com_facebook_bj3
lea ecx, [ebp + 0x9b4]
mov dword [ebp + 0xd60], esi
mov dword [ebp + 0xd94], ebx
call fcn.004016e0
push 0x64
mov byte [ebp + 0x9d0], bl
call fcn.006442a0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xa4], 0x22
cmp eax, ebx
je 0x74c2bd
call fcn.006fadf0
mov esi, eax
jmp 0x74c2bf
xor esi, esi
mov dword [ebp + 0xa6c], esi
cmp byte [esi + 0x10], bl
jne 0x74c309
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x30]
push eax
push ecx
push 0xffff
call dword [sym.imp.user32.dll_PostMessageW]
mov edx, dword [esi + 0x14]
push 1
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x14], ebx
xor eax, eax
mov byte [ebp + 0xc29], bl
mov dword [ebp + 0xc8c], eax
mov dword [ebp + 0xc90], eax
mov dword [ebp + 0xc94], eax
mov dword [ebp + 0xc98], eax
mov dword [ebp + 0xc9c], eax
mov dword [ebp + 0x96c], ebx
mov dword [ebp + 0x970], ebx
mov dword [ebp + 0x974], ebx
mov dword [ebp + 0x978], ebx
mov dword [ebp + 0x97c], ebx
mov byte [ebp + 0x980], bl
mov eax, ebp
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00643db8
add esp, 0x94
ret 4