Function at 0x8fb630
Capabilities:
Check os version
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0xb196ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x428], esi
mov byte [ebp - 0x114], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x207
lea ecx, [ebp - 0x423]
push ebx
push ecx
mov byte [ebp - 0x424], bl
call fcn.00a7ffb0
add esp, 0xc
mov byte [esi], bl
cmp byte [str.Administrator], bl
jne 0x8fb6f2
push ebx
push ebx
push 0x8ac190
call fcn.00a791b2
add esp, 0xc
push str.CBD_5vAX
mov esi, eax
call fcn.0085df20
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Administrator
lea edx, [ebp - 0x424]
push str.CurrentLoggedUsername:__s
push edx
call fcn.00a78f30
add esp, 0xc
push ebx
push 1
lea eax, [ebp - 0x424]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
cmp byte [str.Administrator], bl
je 0x8fb8e7
mov al, byte [0xbf4dc8]
test al, al
jne 0x8fb718
push 0x104
push 0xbf4dc8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [0xbf4dc8]
test al, al
je 0x8fb8e7
cmp dword [0xbfc9d0], 0
mov cl, byte [0xbf4dc9]
mov dl, byte [0xbf4dca]
mov byte [ebp - 0x114], al
mov byte [ebp - 0x113], cl
mov byte [ebp - 0x112], dl
jne 0x8fb832
mov esi, 1
mov dword [0xbfc9d0], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x8fb832
cmp al, 6
jb 0x8fb832
mov dword [0xbfc9d4], esi
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x8fb771
mov ecx, dword [str.Users_]
mov dx, word [0xadac0c]
mov dword [eax], ecx
mov cl, byte [0xadac0e]
mov word [eax + 4], dx
mov byte [eax + 6], cl
mov eax, str.Administrator
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x8fb7a0
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x8fb7b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, 0x10
jne 0x8fb888
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x21c]
push str._sDesktop
push eax
call fcn.00a78f30
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0095a450
test eax, eax
je 0x8fb8e7
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x8fb812
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [0xbfc9d4], 0
jne 0x8fb76a
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x8fb846
mov ecx, dword [str.Documents_and_Settings_]
mov edx, dword [0xadabf4]
mov dword [eax], ecx
mov ecx, dword [0xadabf8]
mov dword [eax + 4], edx
mov edx, dword [0xadabfc]
mov dword [eax + 8], ecx
mov ecx, dword [0xadac00]
mov dword [eax + 0xc], edx
mov edx, dword [0xadac04]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x8fb795
cmp eax, 2
jne 0x8fb8e7
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x21c]
push str._sStart_MenuPrograms
push eax
call fcn.00a78f30
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0095a450
test eax, eax
je 0x8fb8e7
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x8fb8c7
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00a78f21
mov esp, ebp
pop ebp
ret