Function at 0x4218f0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x164
mov eax, dword [0x431014]
xor eax, esp
mov dword [esp + 0x160], eax
xor eax, eax
push ebx
mov ebx, dword [esp + 0x174]
push esi
mov esi, dword [esp + 0x170]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x3c]
shr ecx, 0x14
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x42195e
fadd dword [0x42e6f8]
fmul qword [0x42e6f0]
fnstcw word [esp + 0xc]
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 0x200
fldcw word [esp + 0xc]
jbe 0x421994
mov eax, 0x200
jmp 0x4219a0
cmp eax, 0x100
jae 0x4219a0
mov eax, 0x100
push eax
lea edx, [esp + 0x114]
push str._Xmx_dm
push edx
call fcn.00422645
add esp, 0xc
lea eax, [esp + 0x110]
lea edx, [esp + 0x20]
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x50]
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x5c], str._Xincgc
mov dword [esp + 0x64], str._Djava.library.path._libs
mov dword [esp + 0x2c], 0x10002
mov dword [esp + 0x30], 3
mov byte [esp + 0x38], 0
call esi
test eax, eax
jge 0x421a35
push str.Couldnt_create_Java_VM._n
call fcn.004224ca
add eax, 0x40
push eax
call fcn.0042237b
add esp, 8
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0042233e
add esp, 0x164
ret
mov eax, dword [esp + 8]
mov edx, dword [eax]
push str.java_lang_ClassLoader
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, eax
test esi, esi
jne 0x421a53
push str.java_lang_ClassLoader_not_found._n
jmp 0x421a08
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c4]
push str.__Ljava_lang_ClassLoader_
push str.getSystemClassLoader
push esi
push eax
call edx
test eax, eax
jne 0x421a78
push str.getSystemClassLoader_not_found._n
jmp 0x421a08
push ebp
push eax
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.00401060
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push str.java_lang_Class
push eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x421aa8
push str.Class_not_found._n
jmp 0x421b14
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c4]
push str._Ljava_lang_String_ZLjava_lang_ClassLoader__Ljava_lang_Class_
push str.forName
push ebp
push eax
call edx
test eax, eax
mov dword [esp + 0x18], eax
jne 0x421ad1
push str.forName_not_found._n
jmp 0x421b14
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.004012a0
mov eax, dword [0x4322e0]
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x421af3
push str.Launcher_not_found._n
jmp 0x421b14
mov ecx, dword [esp + 0xc]
push str._Ljava_lang_String_Ljava_lang_String__V
push str._init_
push eax
call fcn.00401020
test eax, eax
mov dword [esp + 0x14], eax
jne 0x421b42
push str.Launchar._init__not_found._n
call fcn.004224ca
add eax, 0x40
push eax
call fcn.0042237b
add esp, 8
pop ebp
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0042233e
add esp, 0x164
ret
mov eax, dword [esp + 0xc]
push edi
mov ecx, 0xd
mov esi, str.dhfuhsudfh98vhdsovnfdhiouer8u8hgjbkjciudsuifsjdiosajfn
lea edi, [esp + 0x138]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x138]
movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x29c]
call eax
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.keel.dat
push eax
call edx
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x20]
push eax
push edi
push ecx
call fcn.00401000
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x421bac
push str.Launchar_couldnt_constructed._n
jmp 0x421c24
mov ecx, dword [esp + 0x10]
push str._Ljava_lang_String__Ljava_lang_Class_
push str.loadClass
push edi
call fcn.00401020
test eax, eax
jne 0x421bcb
push str.loadClass_not_found._n
jmp 0x421c24
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push str.keel.runtime.KeelRuntime
push eax
mov eax, dword [edx + 0x29c]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push esi
push 1
push eax
push ecx
push ebp
push edx
call fcn.00401060
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x421c03
push str.KeelRuntime_not_found._n
jmp 0x421c24
mov ecx, dword [esp + 0x10]
push str.__Ljava_lang_String__V
push str.main
push ebp
call fcn.00401040
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x421c3f
push str.KeelRuntime.main_not_found._n
call fcn.004224ca
add eax, 0x40
push eax
call fcn.0042237b
add esp, 8
mov eax, 1
jmp 0x42213f
mov eax, dword [esp + 0x10]
mov ecx, 7
mov esi, str.kar:program_getamped:amped.kar
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push str.java_lang_String
push eax
call edx
cmp dword [esp + 0x17c], 0
mov ecx, dword [esp + 0x10]
push 0
push eax
jne 0x421e71
push 0xf
call fcn.004010c0
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._entrypath
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xf8]
push edx
push eax
mov eax, dword [ecx + 0x29c]
call eax
mov ecx, dword [esp + 0x10]
push eax
push 1
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.com.cyberstep.ring.client.Game
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 2
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._debug
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 3
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.false
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 4
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._updatedebug
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 5
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.false
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 6
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._useconfkar
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 7
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 8
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._useresourcekar
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 9
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xa
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._entusedict
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xb
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xc
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._usedxgl
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xd
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push str.false
push eax
mov edx, dword [ecx + 0x29c]
call edx
push eax
push 0xe
jmp 0x422113
push 0x15
call fcn.004010c0
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._entrypath
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0xf8]
push edx
push eax
mov eax, dword [ecx + 0x29c]
call eax
mov ecx, dword [esp + 0x10]
push eax
push 1
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.com.cyberstep.ring.client.Game
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 2
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._debug
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 3
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.false
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 4
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._updatedebug
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 5
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.false
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 6
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._useconfkar
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 7
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 8
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._useresourcekar
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 9
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xa
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._entusedict
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xb
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str.true
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xc
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._usedxgl
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xd
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push str.false
push eax
mov edx, dword [ecx + 0x29c]
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xe
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._user
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xf
push esi
call fcn.004010e0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004010a0
mov ecx, dword [esp + 0x10]
push eax
push 0x10
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._pass
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0x11
push esi
call fcn.004010e0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004010a0
mov ecx, dword [esp + 0x10]
push eax
push 0x12
push esi
call fcn.004010e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push str._portal
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0x13
push esi
call fcn.004010e0
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004010a0
push eax
push 0x14
mov ecx, dword [esp + 0x18]
push esi
call fcn.004010e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push esi
push ecx
push ebp
push edx
call fcn.00401080
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
add esp, 0x10
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x170]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0042233e
add esp, 0x164
ret