Function at 0x404155
Capabilities:
Read .ini file

Disassembly:
push 0x32c
mov eax, 0x40c669
call fcn.0040c33e
mov edi, ecx
lea ecx, [ebp - 0x334]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x317]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x318], bl
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
push str.http:__download.ff6677.com_update_online_setup.txt
lea eax, [ebp - 0x318]
push 0x40d850
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x338], ebx
push ebx
jmp 0x4041ed
cmp byte [edi + 0x317], 0
jne 0x40434c
inc dword [ebp - 0x338]
cmp dword [ebp - 0x338], 0x14
jge 0x4042fb
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x338], 0
setg al
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x318]
push eax
xor ecx, ecx
mov ebx, edi
call fcn.00404d00
test eax, eax
jne 0x4041b7
lea eax, [ebp - 0x334]
push eax
lea ecx, [edi + 0xa38]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x404230
lea eax, [ebp - 0x330]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x104
lea eax, [edi + 0x318]
push eax
push 0x40d8a8
push str.gamename
mov esi, str.setup
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x40426a
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x934]
push eax
push 0x40d8a8
push str.exefilename
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x404299
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x41c]
push eax
push 0x40d8a8
push str.ProductTitle
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x4042c8
lea eax, [ebp - 0x330]
push eax
push 0xffffffffffffffff
push str.size
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [edi + 0x520], eax
jge 0x404360
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
call fcn.0040c388
ret
push 0x103
lea eax, [ebp - 0x117]
push 0
push eax
mov byte [ebp - 0x118], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [ebp - 0x338]
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x118]
push 0x40d95c
push eax
call esi
add esp, 0x10
push 0
push 0x40d608
lea eax, [ebp - 0x118]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_MessageBoxA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x4042f5
shl eax, 0xa
cmp dword [ebp - 0x31c], 0x10
mov dword [edi + 0x520], eax
mov eax, dword [ebp - 0x330]
jae 0x40437e
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x524]
push eax
push 0x40d8a8
push str.urlAgreement
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x4043ad
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x628]
push eax
push 0x40d8a8
push str.uninstname
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x4043dc
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x72c]
push eax
push 0x40d8a8
push str.Publisher
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x40440b
lea eax, [ebp - 0x330]
push eax
push 0x104
add edi, 0x830
push edi
push 0x40d8a8
push str.Contact
push esi
call ebx
mov bl, 1
jmp 0x4042e3