Function at 0x40901d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aecc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4092f9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x4090d4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x4090cf
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x4090b5
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x4090cf
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x4090cf
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x4092f7
mov dword [ebp - 0x40], 0xb22
mov dword [ebp - 0x68], str.dhfrwuaz_nwwtfws_efrc_prcgjug_ducq_rsaug_ynnncnjil
cmp dword [ebp - 0x40], 0xc54
jle 0x40918c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
and dword [ebp - 0x38], 0
jmp 0x409104
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3804
jge 0x40918c
and dword [ebp - 0x20], 0
jmp 0x40911a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4e91
jge 0x409187
and dword [ebp - 0x30], 0
jmp 0x409130
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2cf
jge 0x409185
and dword [ebp - 0x28], 0
jmp 0x409146
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7456
jge 0x409183
mov ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
shl eax, cl
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x40913f
jmp 0x409129
jmp 0x409113
jmp 0x4090fd
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0xb0d
jge 0x4091af
mov edx, dword [ebp - 0x68]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x4091cb
or dword [ebp - 4], 0xffffffff
jmp 0x4091d5
mov dword [ebp - 0x44], 0x7b08
mov dword [ebp - 0x70], str.yczprsqzd_yenif_smtfg_smj_zeorrwbee_osia_pdnr_idpeblimy_ocwrgyia_ozfjlpzkc
cmp dword [ebp - 0x44], 0x7e92
jle 0x409262
and dword [ebp - 0x34], 0
jmp 0x4091f9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3227
jge 0x409262
and dword [ebp - 0x18], 0
jmp 0x40920f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x545d
jge 0x409260
and dword [ebp - 0x1c], 0
jmp 0x409225
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a5d
jge 0x40925e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
shl eax, cl
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x40921e
jmp 0x409208
jmp 0x4091f2
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x77b1
jge 0x409288
mov edx, dword [ebp - 0x70]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x4092a4
or dword [ebp - 4], 0xffffffff
jmp 0x4092ae
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00442139
and dword [eax], 0
jmp 0x4092d5
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00442139
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00442139
cmp dword [eax], 0x1b
jg 0x4092f7
push 1
mov ecx, dword [ebp - 0x24]
call fcn.00442139
cmp dword [eax], 0
je 0x4092f5
jmp 0x4092f7
jmp 0x4092bd
jmp 0x409367
lea eax, [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x40931f
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409367
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x40934d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x409367
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.00442139
or dword [eax], 0xffffffff
jmp 0x409342
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret