Function at 0x49e510
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8b10
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 + 0x50]
test eax, eax
je 0x49eb5c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp + 0x40]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x134], eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp + 0x2c]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp + 0x44]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 0x48]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xb4]
movzx eax, byte [edx]
test eax, eax
je 0x49e9f5
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x54], 0x32a3
mov dword [ebp - 0x114], str.fcko_yldhbo_lax_bhwb_acopptbq_tlwdhbr_wrkztj
cmp dword [ebp - 0x54], 0x34ba
jle 0x49e757
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [ebp - 0x24], 0
jmp 0x49e6b0
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5c45
jge 0x49e74f
mov dword [ebp - 0x20], 0
jmp 0x49e6cf
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x6473
jge 0x49e74a
mov dword [ebp - 0x28], 0
jmp 0x49e6ea
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x4195
jge 0x49e745
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
sar eax, cl
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.00409670
add esp, 0xc
mov ecx, eax
call fcn.004078f0
push eax
call fcn.004bef16
add esp, 4
lea ecx, [ebp - 0x168]
call fcn.00407870
jmp 0x49e6e1
jmp 0x49e6c6
jmp 0x49e6a7
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x309a
jge 0x49e77f
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004bef16
add esp, 4
jmp 0x49e79b
mov dword [ebp - 4], 0xffffffff
jmp 0x49e7ab
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x144], ecx
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004281c0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
cmp dword [eax], ecx
jge 0x49e7de
mov dword [ebp - 0x7c], 1
jmp 0x49e7e5
mov dword [ebp - 0x7c], 0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004281c0
mov edx, dword [ebp - 0x7c]
cmp edx, dword [eax]
je 0x49e7ff
mov dword [ebp - 0x44], 1
jmp 0x49e806
mov dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004281c0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jge 0x49e820
mov dword [ebp - 0x6c], 1
jmp 0x49e827
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x6c]
sub eax, 4
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
neg eax
mov ecx, dword [ebp - 0x1c]
imul eax, dword [ecx]
cmp dword [edx], eax
jl 0x49e84e
mov dword [ebp - 0x8c], 1
jmp 0x49e858
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
cmp dword [ebp - 0x8c], eax
jl 0x49e86e
mov dword [ebp - 0x38], 1
jmp 0x49e875
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x34174aa7
jne 0x49e887
mov dword [ebp - 0x74], 1
jmp 0x49e88e
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x74]
jne 0x49e8a1
mov dword [ebp - 0x5c], 1
jmp 0x49e8a8
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
neg eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
je 0x49e8cb
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x49e8cb
mov dword [ebp - 0x30], 1
jmp 0x49e8d2
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
cmp dword [ebp - 0x30], 0xffffffff
jb 0x49e8ec
mov dword [ebp - 0x84], 1
jmp 0x49e8f6
mov dword [ebp - 0x84], 0
push 3
mov ecx, dword [ebp - 0x18]
call fcn.004281c0
mov ecx, dword [ebp - 0x84]
imul ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
cmp ecx, dword [edx]
jne 0x49e919
mov dword [ebp - 0x64], 1
jmp 0x49e920
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0xfffffff8
jne 0x49e92f
mov dword [ebp - 0x3c], 1
jmp 0x49e936
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
cmp ecx, 0xf606
je 0x49e94f
mov dword [ebp - 0x40], 1
jmp 0x49e956
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
cmp dword [ebp - 0x40], eax
jge 0x49e96c
mov dword [ebp - 0x128], 1
jmp 0x49e976
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 0xfff7
jbe 0x49e9ab
mov dword [ebp - 0x50], 1
jmp 0x49e9b2
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xe38e
jle 0x49e9c4
mov dword [ebp - 0x58], 1
jmp 0x49e9cb
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
cmp dword [ebp - 0x58], eax
jle 0x49e9e1
mov dword [ebp - 0x60], 1
jmp 0x49e9e8
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
jmp 0x49eb5a
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0xe8]
cmp dword [edx], 0xb8a
jle 0x49eab1
mov dword [ebp - 0x68], 1
jmp 0x49eab8
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x68]
jl 0x49eace
mov dword [ebp - 0x78], 1
jmp 0x49ead5
mov dword [ebp - 0x78], 0
push 2
mov ecx, dword [ebp - 0xf8]
call fcn.004281c0
mov edx, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x78]
jl 0x49eafc
mov dword [ebp - 0x80], 1
jmp 0x49eb03
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
cmp dword [eax], edx
jne 0x49eb21
mov dword [ebp - 0x88], 1
jmp 0x49eb2b
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x88]
jne 0x49eb42
mov dword [ebp - 0x90], 1
jmp 0x49eb4c
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x90]
mov dword [ecx], edx
jmp 0x49eb95
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x120], ecx
push 0x582f
push 0x2574
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x120]
push eax
push 0
push 0x7bf7
call fcn.004ae960
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret