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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
pop ebx
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x10]
shr eax, 8
xor al, byte [ebp - 0x10]
xor edi, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
inc edi
mov ecx, edi
mov eax, esi
call fcn.0101f4a4
mov eax, dword [ebp - 0xc]
shr eax, 8
xor al, byte [ebp - 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xa]
push eax
push 2
pop ecx
mov eax, esi
call fcn.0101f4a4
mov al, byte [ebp - 0xc]
xor al, byte [ebp - 0xe]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x101f604
mov al, byte [ebp - 0xc]
xor al, byte [ebp - 0x10]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
mov al, byte [ebp - 0xf]
xor al, byte [ebp - 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
mov eax, dword [ebp - 0x10]
shr eax, 0x10
xor al, byte [ebp - 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
mov eax, dword [ebp - 0x10]
shr eax, 0x10
mov al, ah
xor al, byte [ebp - 0xc]
mov ecx, edi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
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.0101f4a4
mov eax, dword [ebp - 0x14]
shr eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 2
pop ecx
mov eax, esi
call fcn.0101f4a4
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov ecx, edi
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x101f69c
lea eax, [ebp + 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, ebx
mov eax, esi
call fcn.0101f4a4
push 0x10
pop edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x101f6d8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0101f4a4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x101f6fe
dec dword [ebp + 8]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0101f4a4
pop edi
pop esi
pop ebx
leave
ret 4