Function at 0x427b2c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x154], ebx
push edi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x15c], eax
cmp dword [esi + 0x54], ebx
jbe 0x427cd5
xor edx, edx
mov eax, ebx
test bl, 1
jne 0x427c6a
mov ecx, dword [esi + 0x14]
div ecx
mov eax, esi
mov edi, edx
call fcn.00408311
mov al, byte [eax]
mov byte [ebp - 0x150], al
mov edi, ebx
lea eax, [esi + 0x38]
call fcn.00408311
mov al, byte [eax]
xor al, byte [ebp - 0x150]
mov byte [ebp - 0x150], al
lea eax, [esi + 0x38]
call fcn.00408311
mov cl, byte [ebp - 0x150]
mov byte [eax], cl
call fcn.004295cd
cdq
push 0xa
pop ecx
idiv ecx
mov edi, edx
call fcn.004295cd
cdq
push 0xa
pop ecx
idiv ecx
cmp edi, edx
setl al
test al, al
je 0x427bf2
movzx eax, al
mov dword [ebp - 0x154], eax
fild dword [ebp - 0x154]
call fcn.004397d0
fstp dword [ebp - 0x154]
fld dword [ebp - 0x154]
jmp 0x427c05
fldz
call fcn.004396a0
fstp dword [ebp - 0x154]
fld dword [ebp - 0x154]
call fcn.004398c0
test eax, eax
je 0x427ccb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.004295cd
call fcn.004295cd
call fcn.004295cd
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x427ccb
mov ecx, dword [esi + 0x30]
div ecx
lea eax, [esi + 0x1c]
mov edi, edx
call fcn.00408311
mov al, byte [eax]
mov byte [ebp - 0x150], al
mov edi, ebx
lea eax, [esi + 0x38]
call fcn.00408311
mov al, byte [eax]
xor al, byte [ebp - 0x150]
mov byte [ebp - 0x150], al
lea eax, [esi + 0x38]
call fcn.00408311
mov cl, byte [ebp - 0x150]
mov byte [eax], cl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0
shr edi, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp edi, eax
jbe 0x427ccb
push 0
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
inc ebx
cmp ebx, dword [esi + 0x54]
jb 0x427b64
mov eax, dword [esi + 0x4c]
mov esi, dword [ebp - 0x15c]
call fcn.0042814f
lea eax, [ebp - 0x150]
mov byte [ebp - 0x150], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x427cf3
sub eax, ecx
je 0x427d31
lea eax, [ebp - 0x14c]
push eax
push str.b41d2241c3fb4cb151
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x427d2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.d405bd352637a35f1
call fcn.004294d3
pop ecx
pop ecx
jmp 0x427d31
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ebx, [ebp - 0x174]
call fcn.0042818e
mov ebx, dword [ebp - 0x168]
mov esi, eax
add ebx, 0x38
lea eax, [ebp - 0x164]
mov ecx, ebx
call fcn.00403598
mov edi, eax
lea eax, [ebp - 0x158]
mov ecx, ebx
call fcn.0041a37d
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x16c]
call fcn.00428218
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x15c]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d2e
leave
ret 4