Function at 0x1002e560
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057f83
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10075098]
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 0x1002e5b1
call fcn.10007800
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 8]
call fcn.1002f490
mov byte [ebx + 4], 1
cmp dword [esi + 0x10], 0
je 0x1002e95a
push esi
call fcn.1000fb00
add esp, 4
test al, al
je 0x1002e95a
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.10001bce
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.10001bce
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.1002f6d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10005ff0
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.10001c4a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10001c4a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.10001c4a
lea eax, [ebp - 0xe8]
push eax
call fcn.1000fb00
add esp, 4
test al, al
jne 0x1002e6cf
push esi
call fcn.10010b80
add esp, 4
mov byte [ebp - 0x141], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.10001c4a
jmp 0x1002e961
lea eax, [ebp - 0xd0]
push eax
call fcn.10011230
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
push 0x10059660
call fcn.1000197e
mov byte [ebp - 4], 9
lea eax, [ebp - 0x128]
push 0x40
push 0
push eax
call fcn.10034380
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.10010b60
lea eax, [ebp - 0x70]
push eax
call fcn.100124a0
add esp, 8
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14c], edx
push esi
call fcn.100019af
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
push 0x3f
push 0x20
push eax
call fcn.1000ed90
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 0x1002e7df
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.1000f150
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.100019af
mov byte [ebp - 4], 0xe
sub esp, 0x18
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x14c], esp
mov ecx, esp
push eax
call fcn.100019af
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.1002fd90
add esp, 0x40
test al, al
jne 0x1002e8ee
push dword [ebp - 0x154]
call fcn.10010b80
add esp, 4
mov byte [ebp - 0x141], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.10001c4a
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.10001c4a
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.10001c4a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.10001c4a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.10001c4a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.10001c4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.10001c4a
jmp 0x1002e961
mov byte [ebp - 0x141], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.10007810
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.100321d8
mov esp, ebp
pop ebp
ret 0x10