Function at 0x10023319
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e706
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100236cc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100235cb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x1007b4bc]
and eax, 1
jne 0x100233bc
mov eax, dword [0x1007b4bc]
or eax, 1
mov dword [0x1007b4bc], eax
and dword [ebp - 4], 0
mov ecx, 0x1007b504
call fcn.100245ea
push 0x1005f178
call fcn.10046d0a
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x43ac
mov dword [ebp - 0x7c], str.gchu_glqql_kykrdz_uvmiipazz_xevwqup_xrxwzm_wni
cmp dword [ebp - 0x44], 0x472e
jle 0x10023471
and dword [ebp - 0x24], 0
jmp 0x100233e4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x25c1
jge 0x10023471
and dword [ebp - 0x28], 0
jmp 0x100233fe
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1977
jge 0x1002346c
and dword [ebp - 0x1c], 0
jmp 0x10023414
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19d4
jge 0x1002346a
and dword [ebp - 0x30], 0
jmp 0x1002342a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6bf4
jge 0x10023468
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
sub eax, edx
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x10078ef8
call fcn.10001c59
jmp 0x10023423
jmp 0x1002340d
jmp 0x100233f7
jmp 0x100233dd
movzx eax, byte [0x1007a041]
test eax, eax
je 0x100234d4
mov ecx, 0x1007b504
call fcn.100246af
movzx eax, al
test eax, eax
jne 0x100234d4
push dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x1007b504
call fcn.100246b8
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x1007b504
call fcn.100246a1
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002459d
movzx eax, al
test eax, eax
je 0x100234d4
lea ecx, [ebp - 0x3c]
call fcn.100246cd
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x100236ed
mov dword [ebp - 4], 1
cmp dword [ebp - 0x44], 0x42fe
jge 0x100234f1
mov edx, dword [ebp - 0x7c]
mov ecx, 0x10078ef8
call fcn.10003ae1
jmp 0x1002350d
or dword [ebp - 4], 0xffffffff
jmp 0x10023517
mov eax, dword [ebp - 0x34]
push dword [eax]
lea eax, [ebp - 0xa4]
push eax
call fcn.1003197b
pop ecx
pop ecx
mov dword [ebp - 4], 3
push 0
push 0
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x64]
call fcn.1002011b
add esp, 0x10
mov dword [ebp - 0x40], eax
movzx eax, byte [0x1007a041]
test eax, eax
je 0x10023566
mov ecx, 0x1007b504
call fcn.100246af
movzx eax, al
test eax, eax
jne 0x1002359b
push 0x3c4c
push dword [ebp - 0x34]
push 0x79bf
push 0x1007b504
push 1
lea eax, [ebp - 0x40]
push eax
push 0
push 0x2000
push 1
push 0x5afb
call fcn.10024096
add esp, 0x28
mov byte [0x1007a041], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10006b32
jmp 0x100236ed
mov dword [ebp - 0x48], 0x291f
mov dword [ebp - 0x6c], str.lzcijgjic_nrs_mae_knkej_tervca_vujrda_nolop_sikywk_bcppaz
cmp dword [ebp - 0x48], 0x2c84
jle 0x10023669
and dword [ebp - 0x14], 0
jmp 0x100235f3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5a8
jge 0x10023669
and dword [ebp - 0x2c], 0
jmp 0x10023609
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x897
jge 0x10023667
and dword [ebp - 0x20], 0
jmp 0x1002361f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6302
jge 0x10023665
and dword [ebp - 0x18], 0
jmp 0x10023635
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x438a
jge 0x10023663
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, 0x10078ef8
call fcn.10001c59
jmp 0x1002362e
jmp 0x10023618
jmp 0x10023602
jmp 0x100235ec
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0x2717
jge 0x1002368c
mov edx, dword [ebp - 0x6c]
mov ecx, 0x10078ef8
call fcn.10003ae1
jmp 0x100236a8
or dword [ebp - 4], 0xffffffff
jmp 0x100236b2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x100236ca
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x100236ed
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 0x4fdc
push 1
push dword [ebp - 0x68]
call fcn.1001515a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret