Function at 0x43c5c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
push 0
call fcn.004695bc
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
push 0xa
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x20], edx
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
push str.HomePage
push str.PARAM
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c64c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0046b1e6
add esp, 8
test eax, eax
jne 0x43c66d
mov eax, dword [esp + 0x2c]
add eax, 0x76c
jmp 0x43c66f
xor eax, eax
push 0xa
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
push str.year
push str.HOMEURL
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c6ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0046b1e6
add esp, 8
test eax, eax
jne 0x43c6e9
mov eax, dword [esp + 0x28]
add eax, 1
jmp 0x43c6eb
xor eax, eax
push 0xa
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
push 0x496798
push str.HOMEURL
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0046b1e6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x2c]
push 0xa
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004808d6
add esp, 0x14
push str.param.ini
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
push 0x49679c
push str.HOMEURL
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c7ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.param.ini
lea ecx, [esp + 0x10]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
push 0
push str.times
push str.HOMEURL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
lea ecx, [esp + 0x40]
push ecx
add edi, 1
push edi
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x10]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
push str.times
push str.HOMEURL
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor ecx, esp
call fcn.00468ce5
mov esp, ebp
pop ebp
ret 4