Function at 0x403ba0
Capabilities:
Read .ini file

Disassembly:
push 0x32c
mov eax, 0x40ccec
call fcn.0040c94e
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:__dl.bxw.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 0x403c42
cmp byte [edi + 0x317], 0
jne 0x403da1
inc dword [ebp - 0x338]
cmp dword [ebp - 0x338], 0x14
jge 0x403d50
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.00404755
test eax, eax
jne 0x403c0c
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 0x403c85
lea eax, [ebp - 0x330]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x104
lea eax, [edi + 0x318]
push eax
push 0x40e808
push str.gamename
mov esi, str.setup
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403cbf
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x934]
push eax
push 0x40e808
push str.exefilename
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403cee
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x41c]
push eax
push 0x40e808
push str.ProductTitle
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403d1d
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 0x403db5
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.0040c998
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 0x40e8f0
push eax
call esi
add esp, 0x10
push 0
push 0x40e674
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 0x403d4a
shl eax, 0xa
cmp dword [ebp - 0x31c], 0x10
mov dword [edi + 0x520], eax
mov eax, dword [ebp - 0x330]
jae 0x403dd3
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x524]
push eax
push 0x40e808
push str.urlAgreement
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403e02
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x628]
push eax
push 0x40e808
push str.uninstname
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403e31
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [edi + 0x72c]
push eax
push 0x40e808
push str.Publisher
push esi
call ebx
cmp dword [ebp - 0x31c], 0x10
mov eax, dword [ebp - 0x330]
jae 0x403e60
lea eax, [ebp - 0x330]
push eax
push 0x104
add edi, 0x830
push edi
push 0x40e808
push str.Contact
push esi
call ebx
mov bl, 1
jmp 0x403d38