Function at 0x441960
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
cmp eax, 1
push ebx
push esi
push edi
mov ebx, ecx
mov dword [0x4b90b8], eax
jl 0x44198a
mov edi, dword [0x4b92bc]
push eax
jmp 0x441991
push 2
mov edi, 0x494704
call fcn.00441840
push 0
call fcn.004695bc
mov ecx, dword [0x4b90b8]
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
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
cmp dword [0x4b8f40], 0
je 0x441a1a
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.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 0x441a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x441a2f
lea ecx, [esp + 0x3c]
push ecx
push str.HomePage
push 0x49593c
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0046b1e6
add esp, 8
test eax, eax
jne 0x441a50
mov eax, dword [esp + 0x2c]
add eax, 0x76c
jmp 0x441a52
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 0x441aad
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 0x441acc
mov eax, dword [esp + 0x28]
add eax, 1
jmp 0x441ace
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 0x441b29
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 0x441b9d
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 0x441beb
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 0x441c49
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
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00468ce5
add esp, 0x3c
ret 4