Function at 0x102903f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov al, byte [ebp + 0x34]
cmp byte [edi + 0x74], 0
mov byte [ebp - 0x9c], al
jne 0x10290b62
push 0x104542f0
push 0x10454280
push 4
call fcn.1029e230
mov eax, dword [ebp + 0x20]
cmp eax, 0x90
mov dword [edi + 0x64], eax
sete al
mov dword [edi + 0x68], ebx
mov byte [edi + 0x1ed], al
mov al, byte [ebp + 0x28]
mov byte [edi + 0x1ee], al
mov eax, dword [ebp - 0x98]
mov dword [edi + 0x6c], eax
mov al, byte [ebp + 0x30]
push 0xf660
mov byte [edi + 0x77], al
call fcn.1001ded0
add esp, 0x10
test eax, eax
je 0x10290c5d
push dword [ebp - 0x9c]
mov ecx, eax
push dword [edi + 0x68]
push dword [ebp - 0x90]
push dword [edi + 0x64]
push esi
call fcn.1029fe60
mov dword [edi + 0x1c], eax
test eax, eax
je 0x10290c64
mov ecx, eax
call fcn.102a1b50
mov eax, dword [ebp + 0x1c]
push 0x14
mov dword [edi + 0x5c], eax
call fcn.1001ded0
mov edx, eax
add esp, 4
test edx, edx
je 0x10290c54
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 0xc26f], 0
mov ecx, edx
sete byte [ebp - 0x90]
cmp dword [esi + 0x1469], 0x2000
push dword [ebp - 0x90]
setae al
movzx eax, al
push eax
push dword [ebp - 0xa0]
push dword [ebp - 0x98]
push ebx
call fcn.102bccf0
mov dword [edi + 0x58], eax
test eax, eax
je 0x10290c64
mov eax, dword [edi + 0x1c]
test dword [eax + 0xc3a0], 0x1000
je 0x1029055f
call fcn.1029cab0
mov ecx, edi
mov dword [edi + 8], eax
call fcn.10290040
mov ecx, 0x11cd3610
call fcn.100f5ff0
push eax
push 0x10454310
push 0
call fcn.1029e230
add esp, 0xc
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x1474], 2
je 0x102905d9
push eax
push esi
push edi
call fcn.1029d990
test eax, eax
js 0x102905d9
push 0x2220
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x102905d2
mov ecx, eax
call fcn.1029c590
mov dword [edi + 4], eax
test eax, eax
je 0x102905d9
push edi
mov ecx, eax
call fcn.1029d740
test eax, eax
jns 0x10290706
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10290706
call fcn.1029dcb0
mov esi, dword [edi + 4]
test esi, esi
je 0x102905d2
mov ecx, esi
call fcn.1029c5f0
push 0x2220
push esi
call fcn.1045088a
add esp, 8
mov dword [edi + 4], 0
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x1474], 2
sete al
movzx eax, al
push eax
call fcn.102ada20
push 0x578
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290c0a
push edi
mov ecx, eax
call fcn.1029ec60
mov dword [edi + 0x40], eax
test eax, eax
je 0x10290c11
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x190], 0x2000
jb 0x1029066c
push 0x44a0
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x1029071e
mov ecx, eax
call fcn.102a4b60
mov dword [edi + 0x60], eax
test eax, eax
je 0x10290725
cmp dword [edi + 0x64], 0xc0
push dword [ebp - 0x94]
setae cl
movzx ecx, cl
push ecx
push dword [ebp + 0x2c]
mov ecx, eax
push edi
call fcn.102a50d0
push 0x4b8
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290be1
push edi
mov ecx, eax
call fcn.1029fa50
mov dword [edi + 0x44], eax
test eax, eax
je 0x10290be8
push 8
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290bbb
push edi
mov ecx, eax
call fcn.102a77c0
mov dword [edi + 0x48], eax
test eax, eax
je 0x10290bc2
mov eax, dword [edi + 0x1c]
cmp byte [eax + 0xd715], 0
je 0x102906eb
cmp dword [edi + 0x64], 0xc0
jae 0x102906eb
push 0x20
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x1029074a
push edi
mov ecx, eax
call fcn.102a7e00
mov dword [edi + 0x50], eax
test eax, eax
je 0x10290751
push 0x138
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290773
push edi
mov ecx, eax
call fcn.102b1ca0
jmp 0x10290775
mov ecx, dword [edi + 4]
call fcn.1029ca90
push dword [edi + 0x64]
mov dword [edi + 8], eax
call fcn.1029cb40
jmp 0x102905d9
mov dword [edi + 0x60], 0
call fcn.1027e6c0
push eax
push 0x44a0
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x29b
jmp 0x10290c31
mov dword [edi + 0x50], 0
call fcn.1027e6c0
push eax
push 0x20
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x2b1
jmp 0x10290c31
xor eax, eax
push 0x88
mov dword [edi + 0x38], eax
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290793
push edi
mov ecx, eax
call fcn.102a2bc0
jmp 0x10290795
xor eax, eax
push 0x1c00
mov dword [edi + 0x34], eax
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x102907b2
mov ecx, eax
call fcn.102aee90
jmp 0x102907b4
xor eax, eax
push 0xc
mov dword [edi + 0x3c], eax
call fcn.1001ded0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1029083e
push 0
mov dword [ebx], edi
mov ecx, edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [edi + 0x1c]
mov edx, dword [edi]
push 0
push 0
imul eax, dword [eax + 0xd788], 0x220
push 2
push 2
push 0x100
shr eax, 8
push eax
call dword [edx]
mov dword [ebx + 8], eax
test eax, eax
je 0x10290840
mov ecx, dword [eax + 0x74]
push 0
push 1
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x94], ecx
mov ecx, eax
call fcn.102ac2e0
test eax, eax
js 0x10290840
mov eax, dword [ebx + 8]
push dword [ebp - 0x94]
push 0
mov esi, dword [eax + 0x2ac]
push esi
call fcn.10425c00
add esp, 0xc
mov dword [ebx + 4], esi
jmp 0x10290840
xor ebx, ebx
push 0x10
mov dword [edi + 0x1e8], ebx
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x1029085e
push edi
mov ecx, eax
call fcn.102bca40
jmp 0x10290860
xor eax, eax
cmp dword [edi + 0x38], 0
mov dword [edi + 0x30], eax
je 0x10290b9c
cmp dword [edi + 0x34], 0
je 0x10290b9c
cmp dword [edi + 0x3c], 0
je 0x10290b9c
test eax, eax
je 0x10290b9c
cmp dword [edi + 0x1e8], 0
je 0x10290b9c
mov ecx, edi
call fcn.1028ee70
test al, al
je 0x10290b77
cmp dword [edi + 0x2c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
jne 0x10290980
push 0x20
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x102908de
mov ecx, eax
call fcn.102b92e0
mov dword [edi + 0x2c], eax
test eax, eax
je 0x102908e5
push edi
mov ecx, eax
call fcn.102b9670
jmp 0x10290980
mov dword [edi + 0x2c], 0
push 0xffffffffffffffff
push 0x10469160
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x24]
push 0x20
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.1043cfe3
add esp, 0x10
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x44], 0x20
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x8c], 0x40
push eax
call esi
test eax, eax
je 0x1029094d
push 0xffffffffffffffff
push 0x10454240
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.1043cfe3
add esp, 0x10
call fcn.1027e6c0
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
push 0x10454590
push 0x6fe
push 0x10454320
push edi
push 0x8007000e
call fcn.1029c7f0
test eax, eax
setns al
test al, al
je 0x10290b77
cmp dword [edi + 0x24], 0
jne 0x10290a58
push 0x120
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x102909b6
push edi
mov ecx, eax
call fcn.102b9c40
mov dword [edi + 0x24], eax
test eax, eax
je 0x102909bd
mov ecx, eax
call fcn.102ba700
jmp 0x10290a58
mov dword [edi + 0x24], 0
push 0xffffffffffffffff
push 0x10469160
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x24]
push 0x20
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.1043cfe3
add esp, 0x10
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x44], 0x120
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x8c], 0x40
push eax
call esi
test eax, eax
je 0x10290a25
push 0xffffffffffffffff
push 0x10454240
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.1043cfe3
add esp, 0x10
call fcn.1027e6c0
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
push 0x104545c0
push 0x713
push 0x10454320
push edi
push 0x8007000e
call fcn.1029c7f0
test eax, eax
setns al
test al, al
je 0x10290b77
mov ecx, 0x11cd3610
call fcn.100f5ff0
mov ecx, 0x1046f760
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10290a87
test dl, dl
je 0x10290a83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10290a87
add eax, 2
add ecx, 2
test dl, dl
jne 0x10290a67
xor eax, eax
jmp 0x10290a8c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10290a9a
mov eax, dword [edi + 0x24]
mov byte [eax + 0x11c], 1
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x38]
add eax, 0x7431
push eax
call fcn.102b21b0
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x10290ac0
mov eax, dword [edi + 0x38]
push dword [eax + 8]
call fcn.102a2a90
mov ecx, dword [edi + 0x1c]
call fcn.102925b0
test al, al
jne 0x10290aed
mov ecx, edi
call fcn.10292590
test al, al
jne 0x10290aed
push 0x10454370
push 0x10454280
push 4
call fcn.1029e230
add esp, 0xc
jmp 0x10290b0a
push 0x10454370
push 0x10454280
push 4
call fcn.1029e230
add esp, 0xc
mov ecx, edi
push 1
call fcn.10291f50
push 0x58
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290b22
push edi
mov ecx, eax
call fcn.102b2f80
jmp 0x10290b24
xor eax, eax
push 4
mov dword [edi + 0x54], eax
call fcn.1001ded0
add esp, 4
test eax, eax
je 0x10290b59
push edi
mov ecx, eax
call fcn.102b2370
mov dword [edi + 0x4c], eax
xor eax, eax
mov byte [edi + 0x74], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x30
xor eax, eax
mov byte [edi + 0x74], 1
mov dword [edi + 0x4c], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x30
call fcn.1027e6c0
push eax
push 0x2e8
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x2d7
jmp 0x10290c31
call fcn.1027e6c0
push eax
push 0xc
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x2cf
jmp 0x10290c31
mov dword [edi + 0x48], 0
call fcn.1027e6c0
push eax
push 8
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x2a9
jmp 0x10290c31
mov dword [edi + 0x44], 0
call fcn.1027e6c0
push eax
push 0x4b8
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x2a3
jmp 0x10290c31
mov dword [edi + 0x40], 0
call fcn.1027e6c0
push eax
push 0x578
lea ecx, [ebp - 0x4c]
call fcn.1028e6a0
push eax
push 5
push 0x104542f0
push 0x293
push 0x10454320
push edi
push 0x8007000e
call fcn.1029c7f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x30
mov dword [edi + 0x58], 0
jmp 0x10290c64
mov dword [edi + 0x1c], 0
mov ecx, dword [ebp - 4]
mov eax, 0x8007000e
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x30