Function at 0x100010c0
Capabilities:
Check os version
Get disk information
Get disk size
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x734
mov eax, dword [0x1007f018]
xor eax, esp
mov dword [esp + 0x730], eax
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x13c]
push 0
push eax
call sub.MSVCR80.dll_memset
push 0x2000
call dword [sym.imp.MSVCR80.dll_malloc]
push 0x2000
mov ebx, eax
push 0
push ebx
call sub.MSVCR80.dll_memset
push str.____client_system_info_____n
push ebx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x40], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1000115d
mov edi, ebx
add edi, 0xffffffff
mov edi, edi
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001140
mov ecx, 6
mov esi, str.get_computer_name_error__n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x100011ed
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001162
mov ecx, dword [str.computer_name:]
mov dword [eax], ecx
mov edx, dword [0x1007cca0]
mov dword [eax + 4], edx
mov ecx, dword [0x1007cca4]
mov dword [eax + 8], ecx
mov edx, dword [0x1007cca8]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x138]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001198
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100011b0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100011d0
mov cx, word [0x1007ccac]
mov word [eax], cx
mov dl, byte [0x1007ccae]
mov byte [eax + 2], dl
push 0x200
lea eax, [esp + 0x13c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x40], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
mov eax, ebx
jne 0x1000126e
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001228
mov ecx, dword [str.get_user_name_error__n]
mov dword [eax], ecx
mov edx, dword [0x1007ccb4]
mov dword [eax + 4], edx
mov ecx, dword [0x1007ccb8]
mov dword [eax + 8], ecx
mov edx, dword [0x1007ccbc]
mov dword [eax + 0xc], edx
mov ecx, dword [0x1007ccc0]
mov dword [eax + 0x10], ecx
mov dx, word [0x1007ccc4]
mov word [eax + 0x14], dx
jmp 0x100012ed
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001271
mov ecx, dword [str.user:]
mov dword [eax], ecx
mov dx, word [0x1007cccc]
mov word [eax + 4], dx
mov cl, byte [0x1007ccce]
mov byte [eax + 6], cl
lea eax, [esp + 0x138]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100012a0
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100012b2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100012d0
mov dx, word [0x1007ccac]
mov word [eax], dx
mov cl, byte [0x1007ccae]
mov byte [eax + 2], cl
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x94]
cmp eax, 0x24a
ja 0x10001380
je 0x1000135d
sub eax, 0x182
je 0x1000133a
sub eax, 0x64
jne 0x10001387
mov cx, word [0x1007ccdc]
mov dl, byte [0x1007ccde]
mov eax, dword [str._I486]
mov word [esp + 0x53c], cx
mov byte [esp + 0x53e], dl
jmp 0x100013c2
mov cx, word [0x1007ccd4]
mov dl, byte [0x1007ccd6]
mov eax, dword [str._I386]
mov word [esp + 0x53c], cx
mov byte [esp + 0x53e], dl
jmp 0x100013c2
mov cx, word [0x1007cce4]
mov dl, byte [0x1007cce6]
mov eax, dword [str._I586]
mov word [esp + 0x53c], cx
mov byte [esp + 0x53e], dl
jmp 0x100013c2
cmp eax, 0xfa0
je 0x100013a3
mov dx, word [0x1007ccfc]
mov eax, dword [str._UNKNOWN]
mov ecx, dword [0x1007ccf8]
mov word [esp + 0x540], dx
jmp 0x100013bb
mov edx, dword [0x1007ccf0]
mov eax, dword [str._MIPSR4000]
mov ecx, dword [0x1007ccec]
mov dword [esp + 0x540], edx
mov dword [esp + 0x53c], ecx
push 0x200
mov dword [esp + 0x53c], eax
lea eax, [esp + 0x13c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10001446
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001402
mov edx, dword [str.cant_get_ver_info__n]
mov dword [eax], edx
mov ecx, dword [0x1007cd04]
mov dword [eax + 4], ecx
mov edx, dword [0x1007cd08]
mov dword [eax + 8], edx
mov ecx, dword [0x1007cd0c]
mov dword [eax + 0xc], ecx
mov edx, dword [0x1007cd10]
mov dword [eax + 0x10], edx
mov cl, byte [0x1007cd14]
mov byte [eax + 0x14], cl
jmp 0x100015f3
mov eax, dword [esp + 0xb0]
sub eax, 0
je 0x10001506
sub eax, 1
je 0x100014c5
sub eax, 1
je 0x1000148b
mov edx, dword [str.Windows_]
mov eax, dword [0x1007cd54]
mov cl, byte [0x1007cd58]
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], eax
mov byte [esp + 0x140], cl
jmp 0x10001554
mov edx, dword [str.Windows_NT]
mov eax, dword [0x1007cd48]
mov cx, word [0x1007cd4c]
mov dword [esp + 0x138], edx
mov dl, byte [0x1007cd4e]
mov dword [esp + 0x13c], eax
mov word [esp + 0x140], cx
mov byte [esp + 0x142], dl
jmp 0x10001554
mov eax, dword [str.Win32_on_Windows_95]
mov ecx, dword [0x1007cd34]
mov edx, dword [0x1007cd38]
mov dword [esp + 0x138], eax
mov eax, dword [0x1007cd3c]
mov dword [esp + 0x13c], ecx
mov ecx, dword [0x1007cd40]
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
jmp 0x10001554
mov edx, dword [str.Win32s_on_Windows_3.1]
mov eax, dword [0x1007cd1c]
mov ecx, dword [0x1007cd20]
mov dword [esp + 0x138], edx
mov edx, dword [0x1007cd24]
mov dword [esp + 0x13c], eax
mov eax, dword [0x1007cd28]
mov dword [esp + 0x140], ecx
mov cx, word [0x1007cd2c]
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], eax
mov word [esp + 0x14c], cx
push 0x200
lea edx, [esp + 0x33c]
push 0
push edx
call sub.MSVCR80.dll_memset
movzx ecx, word [esp + 0xb8]
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x544]
push eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
push eax
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x358]
push str.version:__s_v_d._d_build__d_s
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x360]
add esp, 0x28
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100015b0
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100015c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100015e0
mov ax, word [0x1007cd7c]
mov word [edi], ax
lea ecx, [esp + 0x70]
push ecx
call sub.KERNEL32.dll_GetSystemPowerStatus
push 0x200
lea edx, [esp + 0x33c]
push 0
push edx
mov esi, eax
call sub.MSVCR80.dll_memset
add esp, 0xc
test esi, esi
je 0x10001635
mov al, byte [esp + 0x71]
cmp al, 0x80
je 0x10001635
cmp al, 0xff
je 0x10001635
push str.machine_type:_maybe_Laptop__n
lea eax, [esp + 0x33c]
push eax
jmp 0x10001642
push str.machine_type:_maybe_pc._n
lea ecx, [esp + 0x33c]
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x340]
add esp, 8
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10001654
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001664
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x200
lea edx, [esp + 0x33c]
push 0
push edx
mov esi, eax
call sub.MSVCR80.dll_memset
test esi, esi
mov dword [esp + 0x48], esi
fild dword [esp + 0x48]
jge 0x100016aa
fadd qword [0x1007d798]
fdiv qword [0x1007d790]
add esp, 4
lea eax, [esp + 0x340]
fstp qword [esp]
push str.System_Power_on_time:__f_hours._n
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x348]
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100016d5
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100016e7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x200
lea ecx, [esp + 0x33c]
push 0
push ecx
mov dword [esp + 0x5c], 0x20
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
shr eax, 0x14
push eax
mov eax, dword [esp + 0x5c]
shr ecx, 0x14
push ecx
push edx
shr eax, 0x14
push eax
lea ecx, [esp + 0x348]
push str.systen_mem:__dM__used:__d____PageFile:__dM_free:__dM
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x350]
add esp, 0x18
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001765
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001777
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001794
mov dx, word [0x1007cd7c]
mov word [edi], dx
mov dword [esp + 0x34], 0x43
mov dword [esp + 0x3c], 0x18
jmp 0x100017c0
mov esi, dword [esp + 0x34]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [esp + 0x33c]
push str._c:_
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x338]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.default.0x100017f4
jmp dword [eax*4 + 0x10001be4]
lea eax, [esp + 0x338]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001804
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001816
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001833
mov ecx, 5
mov esi, str.Unable_to_determine.__n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x10001b84
mov byte [esp + 0x338], 0
jmp 0x10001b84
lea eax, [esp + 0x338]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001867
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001880
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100018a0
mov edx, dword [str.Removable__n]
mov dword [eax], edx
mov ecx, dword [0x1007ce3c]
mov dword [eax + 4], ecx
mov edx, dword [0x1007ce40]
mov dword [eax + 8], edx
jmp 0x10001b84
push esi
lea eax, [esp + 0x13c]
push str._c:_
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x10001b84
mov eax, dword [esp + 0x4c]
imul eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
shr eax, 0xa
mov ecx, eax
imul eax, dword [esp + 0x40]
imul ecx, dword [esp + 0x44]
push ecx
push eax
push edx
lea eax, [esp + 0x544]
push str.find__c:__dM__dM
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x54c]
add esp, 0x14
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001944
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001956
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001973
mov cx, word [0x1007cd7c]
mov word [edi], cx
jmp 0x10001b84
lea eax, [esp + 0x338]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001996
mov edx, dword [str.Remote]
mov ecx, dword [0x1007ce5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0x338]
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100019c0
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100019d2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x100019f0
jmp 0x10001b7a
lea eax, [esp + 0x338]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001a10
mov ecx, dword [str.CD_ROM]
mov edx, dword [0x1007ce64]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x338]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001a34
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001a46
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001a63
mov ax, word [0x1007cd7c]
mov word [edi], ax
jmp 0x10001b84
lea eax, [esp + 0x338]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001a85
mov ecx, dword [str.Ramdisk]
mov edx, dword [0x1007ce6c]
mov dword [eax], ecx
mov cl, byte [0x1007ce70]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
lea eax, [esp + 0x338]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001ab2
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001ac4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001ae1
jmp 0x10001b7a
lea eax, [esp + 0x338]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x10001b00
mov ecx, dword [str.Unknown_type_]
mov edx, dword [0x1007ce78]
mov dword [eax], ecx
mov ecx, dword [0x1007ce7c]
mov dword [eax + 4], edx
mov edx, dword [0x1007ce80]
mov dword [eax + 8], ecx
mov cl, byte [0x1007ce84]
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], cl
lea eax, [esp + 0x338]
mov ecx, eax
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10001b40
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10001b52
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001b70
mov dx, word [0x1007cd7c]
mov word [edi], dx
mov eax, 1
add dword [esp + 0x34], eax
sub dword [esp + 0x3c], eax
jne 0x100017c0
mov edi, ebx
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001ba0
mov ax, word [0x1007ce88]
mov word [edi], ax
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10001bb8
mov cx, word [0x1007cd7c]
mov word [edi], cx
mov ecx, dword [esp + 0x73c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10009090
mov esp, ebp
pop ebp
ret