Function at 0x485c30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b812
mov eax, dword fs:[0]
push eax
mov eax, 0x286c
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2848], ecx
mov ecx, dword [ebp - 0x2848]
add ecx, 0x80
call fcn.004a3d00
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5493c0
push 0x58f750
call fcn.004045b0
add esp, 0x14
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x14]
push edx
call fcn.0041c1b0
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x485cbd
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2848]
add ecx, 0x80
call fcn.004a3d00
cmp dword [ebp - 0x18], eax
jge 0x485ece
xor ecx, ecx
mov word [ebp - 0x2824], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x2822]
push edx
call fcn.004b0ac0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x824], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x822]
push ecx
call fcn.004b0ac0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2848]
add ecx, 0x80
call fcn.004a3d20
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401e10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0xfff
lea eax, [ebp - 0x2824]
push eax
push 0x540868
push 0x5493b4
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0x3ff
lea ecx, [ebp - 0x824]
push ecx
push 0x540868
push 0x5452c0
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x18], 0
jne 0x485e2e
push ecx
mov ecx, esp
mov dword [ebp - 0x2830], esp
lea edx, [ebp - 0x2824]
push edx
call fcn.00401e30
mov dword [ebp - 0x284c], eax
mov eax, dword [ebp - 0x284c]
mov dword [ebp - 0x2850], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x2834], esp
lea edx, [ebp - 0x824]
push edx
call fcn.00401e30
mov dword [ebp - 0x2854], eax
mov eax, dword [ebp - 0x2854]
mov dword [ebp - 0x2858], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x2838], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00401e10
mov dword [ebp - 0x285c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2848]
call fcn.00483fb0
mov dword [ebp - 0x2860], eax
mov eax, dword [ebp - 0x2860]
mov dword [ebp - 0x10], eax
jmp 0x485ebd
push ecx
mov ecx, esp
mov dword [ebp - 0x283c], esp
lea edx, [ebp - 0x2824]
push edx
call fcn.00401e30
mov dword [ebp - 0x2864], eax
mov eax, dword [ebp - 0x2864]
mov dword [ebp - 0x2868], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x2840], esp
lea edx, [ebp - 0x824]
push edx
call fcn.00401e30
mov dword [ebp - 0x286c], eax
mov eax, dword [ebp - 0x286c]
mov dword [ebp - 0x2870], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2844], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00401e10
mov dword [ebp - 0x2874], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2848]
call fcn.00483fb0
mov dword [ebp - 0x2878], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x2878]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
jmp 0x485cb4
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
je 0x485f99
mov ecx, dword [ebp - 0x2848]
add ecx, 0x70
call fcn.004086e0
test eax, eax
je 0x485f99
push str.push
lea ecx, [ebp - 0x282c]
call fcn.00401e30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2828]
call fcn.00403840
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2848]
mov eax, dword [edx + 0x70]
push eax
push str.lastver_s
lea ecx, [ebp - 0x2828]
push ecx
call fcn.00409170
add esp, 0xc
lea edx, [ebp - 0x2828]
push edx
lea eax, [ebp - 0x282c]
push eax
mov ecx, dword [ebp - 0x2848]
call fcn.00482ee0
mov ecx, dword [ebp - 0x2848]
add ecx, 0x68
call fcn.0043e290
push eax
mov ecx, dword [ebp - 0x2848]
add ecx, 0x70
call fcn.0043e290
push eax
push 0x5452c0
push str.pushinfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2828]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x282c]
call fcn.00401eb0
push 0xea60
mov ecx, dword [ebp - 0x2848]
add ecx, 8
call fcn.00480370
mov ecx, dword [ebp - 0x2848]
cmp dword [ecx + 0x54], 0
je 0x485fd4
mov edx, dword [ebp - 0x2848]
cmp dword [edx + 0x54], 0xffffffff
je 0x485fd4
mov eax, dword [ebp - 0x2848]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 0xc