Function at 0x1002294
Capabilities:
Get disk size
Get hostname
Get memory capacity
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
pop ebx
mov ecx, ebx
mov eax, esi
call fcn.01002260
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x18]
shr eax, 8
xor al, byte [ebp - 0x18]
xor edi, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
inc edi
mov ecx, edi
mov eax, esi
call fcn.01002260
mov eax, dword [ebp - 0x14]
shr eax, 8
xor al, byte [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x12]
push eax
push 2
pop ecx
mov eax, esi
call fcn.01002260
mov al, byte [ebp - 0x14]
xor al, byte [ebp - 0x16]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x10023bc
mov al, byte [ebp - 0x14]
xor al, byte [ebp - 0x18]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
mov al, byte [ebp - 0x17]
xor al, byte [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
mov eax, dword [ebp - 0x18]
shr eax, 0x10
xor al, byte [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
mov eax, dword [ebp - 0x18]
shr eax, 0x10
mov al, ah
xor al, byte [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 2
pop ecx
mov eax, esi
call fcn.01002260
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 2
pop ecx
mov eax, esi
call fcn.01002260
mov eax, dword [ebp - 0x14]
shr eax, 0x10
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x1002454
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov eax, esi
call fcn.01002260
mov ecx, dword [0x1006280]
test ecx, ecx
mov edi, 0x1006284
jne 0x10024a1
lea eax, [ebp - 8]
push eax
push edi
mov dword [ebp - 8], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1002497
mov eax, dword [ebp - 8]
mov dword [0x1006280], eax
mov ecx, dword [0x1006280]
test ecx, ecx
je 0x10024a9
push edi
mov eax, esi
call fcn.01002260
mov ecx, dword [0x1006294]
test ecx, ecx
mov edi, 0x1006178
jne 0x10024e1
lea eax, [ebp - 8]
push eax
push edi
mov dword [ebp - 8], 0x105
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10024d7
mov eax, dword [ebp - 8]
dec eax
mov dword [0x1006294], eax
mov ecx, dword [0x1006294]
test ecx, ecx
je 0x10024e9
push edi
mov eax, esi
call fcn.01002260
pop edi
pop ebx
leave
ret