Function at 0x450120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5623e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5b03a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044f2f0
call fcn.00450390
call fcn.00428dd0
push dword [eax]
push 1
push str.first_run
push str.Default
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x450273
call fcn.00428dd0
mov esi, eax
mov dword [ebp - 4], 0
call fcn.0041ae50
mov ecx, eax
test ecx, ecx
je 0x450374
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push 0x594354
push eax
call fcn.0042e8d0
add esp, 0xc
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
push str.first_run
push str.Default
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 4], 2
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4501f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00428dd0
mov esi, eax
mov dword [ebp - 4], 3
call fcn.0041ae50
mov ecx, eax
test ecx, ecx
je 0x45037e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push 0x594354
push eax
call fcn.0042e8d0
add esp, 0xc
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
push 0x594310
push str.auto_run
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
mov dword [ebp - 4], 5
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45026c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00428dd0
mov ecx, eax
call fcn.00436ae0
or eax, edx
jne 0x450313
call fcn.00428dd0
mov ecx, eax
call fcn.00436fe0
cmp eax, 1
jne 0x4502a2
mov ecx, str._Pidloafer
call fcn.0042d7b0
lea esi, [edi + 0x324]
call fcn.00428dd0
mov ecx, eax
call fcn.00436ec0
cmp eax, 0xffffffff
je 0x4502c8
call fcn.00428dd0
mov ecx, eax
call fcn.00436ec0
mov dword [esi + 0xc], eax
call fcn.00428c20
imul edx, dword [esi + 0xc], 0xea60
sub esp, 0x28
mov ecx, esp
push 0
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__lambda_097d54e3d948776a248dacb01daf060d___void__void__.0
mov dword [ecx + 4], esi
push 0
mov dword [ecx + 0x24], ecx
mov ecx, eax
push edx
call fcn.00448c80
call fcn.00428dd0
mov ecx, eax
call fcn.00437230
cmp eax, 1
jne 0x450313
call fcn.00451e60
call fcn.00428ba0
mov ecx, eax
call fcn.0043eb90
call fcn.004505f0
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 0x402
push dword [edi + 4]
call esi
push 0
push 0x3e8
push 0x403
push dword [edi + 4]
call esi
push 0
push 0xbb8
push 0x404
push dword [edi + 4]
call esi
mov ecx, edi
call fcn.00450ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004deaec
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041ad20
push 0x80004005
call fcn.0041ad20
int3