Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [0x408030]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push str.website
push ebx
mov dword [esp + 0x544], eax
call fcn.0040125a
add esp, 8
test eax, eax
je 0x401040
push 1
push 0
push 0
push str.http:__www.hp.com_
jmp 0x401236
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x104
call esi
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401066
sub eax, edx
cmp byte [esp + eax + 0xf], 0x5c
je 0x401092
lea edi, [esp + 0x10]
dec edi
jmp 0x401080
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401080
mov cx, word [0x406138]
mov word [edi], cx
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401097
mov edx, dword [str.Lang.txt]
mov eax, dword [0x406130]
mov cl, byte [0x406134]
mov dword [edi], edx
mov dword [edi + 4], eax
mov byte [edi + 8], cl
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push 0xa
lea edx, [esp + 0x32c]
movzx eax, ax
push edx
push eax
call fcn.004013a0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x104
lea edx, [esp + 0x228]
push edx
push str.Failed
lea eax, [esp + 0x338]
push eax
push str.LANGUAGES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x220]
push str.Failed
push ecx
call fcn.004012e9
add esp, 8
test eax, eax
jne 0x40113e
mov edx, dword [str.English]
mov ecx, 0x41
lea edi, [esp + 0x220]
rep stosd dword es:[edi], eax
mov eax, dword [0x406114]
mov dword [esp + 0x220], edx
mov dword [esp + 0x224], eax
lea ecx, [esp + 0x430]
push ecx
push 0x104
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x430]
mov byte [esp + eax + 0x118], cl
inc eax
test cl, cl
jne 0x401160
lea edi, [esp + 0x118]
dec edi
jmp 0x401180
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401180
mov dx, word [0x406138]
lea eax, [esp + 0x220]
mov word [edi], dx
mov edx, eax
jmp 0x4011a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011a0
lea edi, [esp + 0x118]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4011b1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4011d1
mov eax, dword [str.Manuals_]
mov ecx, dword [0x406108]
mov dx, word [0x40610c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, ebx
mov word [edi + 8], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011f8
lea edi, [esp + 0x118]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401210
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, eax
push 0
and ecx, 3
push 0
lea eax, [esp + 0x124]
rep movsb byte es:[edi], byte [esi]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x53c]
xor eax, eax
call fcn.004013fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10