Function at 0x403d57
Capabilities:
Read .ini file

Disassembly:
push 0x32c
mov eax, 0x40f60d
call fcn.0040f21e
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
add esp, 0xc
push ebx
call dword [sym.imp.MSVCR80.dll__time64]
mov esi, dword [sym.imp.MSVCR80.dll_sprintf]
pop ecx
push edx
push eax
push str.http:__download.tfshun.com_update_online_setup.txt
lea eax, [ebp - 0x318]
push str._s_v_d
push eax
call esi
add esp, 0x14
mov dword [ebp - 0x338], ebx
push ebx
jmp 0x403df9
cmp byte [edi + 0x317], 0
jne 0x403f58
inc dword [ebp - 0x338]
cmp dword [ebp - 0x338], 0x14
jge 0x403f07
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.0040490c
test eax, eax
jne 0x403dc3
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 0x403e3c
lea eax, [ebp - 0x330]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x104
lea eax, [edi + 0x318]
push eax
push 0x4118b8
push str.gamename
mov esi, str.setup
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403e76
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x934]
push eax
push 0x4118b8
push str.exefilename
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403ea5
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x41c]
push eax
push 0x4118b8
push str.ProductTitle
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403ed4
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 0x403f6c
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.0040f268
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 0x411da4
push eax
call esi
add esp, 0x10
push 0
push 0x4116a4
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 0x403f01
shl eax, 0xa
cmp dword [ebp - 0x31c], 0x10
mov dword [edi + 0x520], eax
mov eax, dword [ebp - 0x330]
jae 0x403f8a
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x524]
push eax
push 0x4118b8
push str.urlAgreement
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403fb9
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x628]
push eax
push 0x4118b8
push str.uninstname
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403fe8
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x72c]
push eax
push 0x4118b8
push str.Publisher
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x404017
lea eax, [ebp - 0x330]
push eax
push 0x104
add edi, 0x830
push edi
push 0x4118b8
push str.Contact
push esi
call ebx
mov bl, 1
jmp 0x403eef