Function at 0x1001a022
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f59f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001a249
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1001a0da
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1001a0d5
push 0xec8
push 0x223b
push 1
push 1
push 0
push 0x4804
call fcn.10019b8a
add esp, 0x18
jmp 0x1001a244
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x1001a166
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1001a160
or eax, 0xffffffff
jne 0x1001a160
mov eax, 0x3ca955a6
test eax, eax
je 0x1001a166
and dword [ebp - 0x40], 0
jmp 0x1001a16d
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
test eax, eax
jle 0x1001a183
mov dword [ebp - 0x38], 1
jmp 0x1001a187
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jge 0x1001a1a0
mov dword [ebp - 0x48], 1
jmp 0x1001a1a4
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xffb9
jge 0x1001a1b6
mov dword [ebp - 0x30], 1
jmp 0x1001a1ba
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
imul eax, dword [ebp - 0x30], 0x2c36
cmp eax, 0x8d92
jne 0x1001a1d9
mov dword [ebp - 0x28], 1
jmp 0x1001a1dd
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 0
je 0x1001a1fc
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1001a1fc
mov dword [ebp - 0x78], 1
jmp 0x1001a200
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 1
mov ecx, dword [ebp - 0x80]
call fcn.10002242
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jl 0x1001a235
mov dword [ebp - 0x44], 1
jmp 0x1001a239
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x1001a385
mov dword [ebp - 0x4c], 0x4e3c
mov dword [ebp - 0x98], str.sxzfknxeu_jmiu_wqulgk_ben_fezj
cmp dword [ebp - 0x4c], 0x4eff
jle 0x1001a338
and dword [ebp - 0x1c], 0
jmp 0x1001a274
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1501
jge 0x1001a330
and dword [ebp - 0x20], 0
jmp 0x1001a28e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4f5
jge 0x1001a32b
and dword [ebp - 0x18], 0
jmp 0x1001a2a8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x42f2
jge 0x1001a326
and dword [ebp - 0x24], 0
jmp 0x1001a2be
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x27e5
jge 0x1001a321
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x18]
add edx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xc8]
call fcn.10002dd6
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.100048cd
push eax
call fcn.100476ff
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.100048c3
jmp 0x1001a2b7
jmp 0x1001a2a1
jmp 0x1001a287
jmp 0x1001a26d
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 1
push 0x77c0
call fcn.100190ea
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0x4db5
jge 0x1001a35f
push dword [ebp - 0x98]
call fcn.100476ff
pop ecx
jmp 0x1001a37b
or dword [ebp - 4], 0xffffffff
jmp 0x1001a385
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret