Function at 0x421a30
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x164
mov eax, dword [0x432014]
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
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
test ecx, ecx
jge 0x421a9e
fadd dword [0x42f6d8]
fmul qword [0x42f6d0]
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]
fldcw word [esp + 0xc]
cmp eax, 0x200
jbe 0x421ad4
mov eax, 0x200
jmp 0x421ae0
cmp eax, 0x100
jae 0x421ae0
mov eax, 0x100
push eax
lea edx, [esp + 0x114]
push str._Xmx_dm
push edx
call fcn.0042270c
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 0x421b75
push str.Couldnt_create_Java_VM._n
call fcn.00422557
add eax, 0x40
push eax
call fcn.0042243b
add esp, 8
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004223fd
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 0x421b93
push str.java_lang_ClassLoader_not_found._n
jmp 0x421b48
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 0x421bb8
push str.getSystemClassLoader_not_found._n
jmp 0x421b48
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 0x421be8
push str.Class_not_found._n
jmp 0x421c54
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
mov dword [esp + 0x18], eax
test eax, eax
jne 0x421c11
push str.forName_not_found._n
jmp 0x421c54
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.00401260
mov eax, dword [0x433280]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x421c33
push str.Launcher_not_found._n
jmp 0x421c54
mov ecx, dword [esp + 0xc]
push str._Ljava_lang_String_Ljava_lang_String__V
push str._init_
push eax
call fcn.00401020
mov dword [esp + 0x14], eax
test eax, eax
jne 0x421c82
push str.Launchar._init__not_found._n
call fcn.00422557
add eax, 0x40
push eax
call fcn.0042243b
add esp, 8
pop ebp
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004223fd
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 0x421cec
push str.Launchar_couldnt_constructed._n
jmp 0x421d64
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 0x421d0b
push str.loadClass_not_found._n
jmp 0x421d64
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 0x421d43
push str.KeelRuntime_not_found._n
jmp 0x421d64
mov ecx, dword [esp + 0x10]
push str.__Ljava_lang_String__V
push str.main
push ebp
call fcn.00401040
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x421d7f
push str.KeelRuntime.main_not_found._n
call fcn.00422557
add eax, 0x40
push eax
call fcn.0042243b
add esp, 8
mov eax, 1
jmp 0x4221fb
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 0x421f6f
push 0xd
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
push eax
push 0xc
jmp 0x4221cf
push 0x13
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._user
push eax
call edx
mov ecx, dword [esp + 0x10]
push eax
push 0xd
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 0xe
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 0xf
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 0x10
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 0x11
push esi
call fcn.004010e0
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004010a0
push eax
push 0x12
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.004223fd
add esp, 0x164
ret