Function at 0x4b8bb0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595336
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov esi, dword [ebp + 0xc]
call fcn.004bb2f0
test al, al
jne 0x4b9022
call dword [sym.imp.RPCRT4.dll_RpcTestCancel]
test eax, eax
je 0x4b9022
mov ecx, esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0x10]
cmp ebx, 8
jne 0x4b8e5e
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x230]
lea ecx, [ebp - 0x64]
test eax, eax
je 0x4b8c82
push ecx
push eax
call fcn.00432fe0
add esp, 8
jmp 0x4b8c99
mov eax, dword [edi + 0x234]
test eax, eax
je 0x4b8c8f
push eax
jmp 0x4b8c94
push 0x5b34a4
call fcn.00413620
push str.Unable_to_allocate__s__memory_block_during_scan_file__s_
lea ecx, [ebp - 0x30]
call fcn.004343a0
mov byte [ebp - 4], 2
push esi
mov ecx, eax
call fcn.004460b0
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00442170
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00434790
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x94]
call fcn.00439330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.004100d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0041ba60
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
cmovae eax, dword [ebp - 0x94]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd4], 0x40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea ecx, [ebp - 0x30]
cmp eax, 1
jne 0x4b8db0
push str._s____Free_physical_memory:__I64d___Free_paging_file:__I64d___Free_virtual_memory:__I64d___
call fcn.004343a0
mov byte [ebp - 4], 6
push esi
mov ecx, eax
call fcn.004460b0
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.00466220
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.00466220
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00466220
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00434790
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x7c]
call fcn.00439330
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.004100d0
jmp 0x4b8e06
push str._s____Error_while_getting_memory_status:__d___
call fcn.004343a0
mov byte [ebp - 4], 9
push esi
mov ecx, eax
call fcn.004460b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
mov ecx, esi
call fcn.00440d50
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00434790
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x7c]
call fcn.00439330
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
call fcn.004100d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0041ba60
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
cmovae ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
push 2
push 0xbb
push 3
push 0x6428b4
call fcn.00440860
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.004100d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004100d0
mov ecx, dword [ebp - 0xe0]
mov eax, dword [edi + 0x260]
test eax, eax
je 0x4b9007
mov eax, dword [eax + 0x20]
test al, 0x10
je 0x4b9007
cmp ebx, 8
jne 0x4b8e87
test eax, 0x400000
je 0x4b9007
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
push eax
push ecx
call fcn.00432e40
mov byte [ebp - 0xd5], 0
push 0x4c6010
call fcn.00552218
mov esi, eax
mov dword [ebp - 0xe0], esi
push 0x4b1510
call fcn.005521dd
add esp, 0x10
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0x224]
test ecx, ecx
je 0x4b8f15
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
push dword [edi + 0x2c]
push ebx
push eax
push dword [ebp + 8]
push dword [edi + 0x1fc]
call edx
mov dword [edi + 0x268], eax
mov dword [ebp - 4], 0xd
jmp 0x4b8fbc
mov al, byte [ebp - 0xd5]
cmp dword [edi + 0x268], 0
jne 0x4b8fd6
test al, al
jne 0x4b8fd6
mov edi, 1
jmp 0x4b8fd8
xor edi, edi
mov byte [ebp - 4], 0xc
push esi
call fcn.00552218
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004100d0
mov eax, edi
jmp 0x4b902e
mov ecx, edi
call fcn.004bb340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004100d0
jmp 0x4b902c
mov dword [edi + 0x268], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 0xc