Function at 0x4c7050
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5120a3
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x158], ebx
test ebx, ebx
je 0x4c70a1
call fcn.0041e6f0
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 8]
call fcn.004ca490
mov byte [ebx + 4], 1
cmp dword [esi + 0x10], 0
je 0x4c744a
push esi
call fcn.004142b0
add esp, 4
test al, al
je 0x4c744a
push 0x11
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.2345PicDumper.exe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040ae30
mov byte [ebp - 4], 1
xor eax, eax
push 0x11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.2345PicDumper.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040ae30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004ca6d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00421180
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.0040a6f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0040a6f0
lea eax, [ebp - 0xe8]
push eax
call fcn.004142b0
add esp, 4
test al, al
jne 0x4c71bf
push esi
call fcn.00414480
add esp, 4
mov byte [ebp - 0x141], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040a6f0
jmp 0x4c7451
lea eax, [ebp - 0xd0]
push eax
call fcn.00417050
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
push 0x515928
call fcn.0040a780
mov byte [ebp - 4], 9
lea eax, [ebp - 0x128]
push 0x40
push 0
push eax
call fcn.004d4490
add esp, 0xc
mov dword [ebp - 0x128], 0x40
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x70]
push eax
call fcn.00420470
lea eax, [ebp - 0x70]
push eax
call fcn.00424c70
add esp, 8
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14c], edx
push esi
call fcn.0040a7e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
push 0x3f
push 0x20
push eax
call fcn.00412d70
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
add esp, 0xc
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x88]
cmp dword [edi + 0x14], 8
jb 0x4c72cf
mov edi, dword [edi]
mov dword [ebp - 0x148], edi
cmp dword [ebp - 0xa4], 8
lea edi, [ebp - 0xb8]
mov ecx, dword [ebp - 0x150]
lea esi, [ebp - 0xd0]
cmovae edi, dword [ebp - 0xb8]
lea edx, [ebp - 0xa0]
cmp dword [ebp - 0xbc], 8
push eax
push dword [ebp + 0x14]
cmovae esi, dword [ebp - 0xd0]
push dword [ebp + 0x10]
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0x14c]
cmovae edx, dword [ebp - 0xa0]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0xf8]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x108]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x118]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push dword [ebp - 0x148]
lea eax, [ebp - 0x58]
push edi
push esi
push edx
push str._send_minidump
push str._s__s_s_s_s_I64u_I64u_I64u_I64u_I64x_s
push eax
call fcn.00413310
add esp, 0x48
lea eax, [ebp - 0x58]
push 0
push 0
push 1
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push eax
call fcn.0040a7e0
mov byte [ebp - 4], 0xe
sub esp, 0x18
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x14c], esp
mov ecx, esp
push eax
call fcn.0040a7e0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.004b8f00
add esp, 0x40
test al, al
jne 0x4c73de
push dword [ebp - 0x154]
call fcn.00414480
add esp, 4
mov byte [ebp - 0x141], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.0040a6f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.0040a6f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.0040a6f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.0040a6f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.0040a6f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.0040a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040a6f0
jmp 0x4c7451
mov byte [ebp - 0x141], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0041e700
mov al, byte [ebp - 0x141]
mov dword [ebp - 0x158], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d12c9
mov esp, ebp
pop ebp
ret 0x10