Function at 0x431510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560edb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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
call fcn.00428dd0
push dword [eax]
push 1
push 0x594310
push str.auto_run
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4317b4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.00431ae0
mov esi, eax
mov dword [ebp - 0x38], 0
push 4
xor eax, eax
mov dword [ebp - 0x34], 7
push str.from
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
call fcn.00421a70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
lea ecx, [esi + 4]
push eax
call fcn.00465310
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4315ec
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4315e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317d2
push edx
push ecx
call fcn.004df007
add esp, 8
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
mov ebx, dword [ebp - 0x18]
cmovae ecx, esi
cmp ebx, 4
jne 0x431615
push ebx
mov edx, str.task
call fcn.00432430
add esp, 4
test eax, eax
je 0x43165d
cmp edi, 8
lea ecx, [ebp - 0x28]
cmovae ecx, esi
cmp ebx, 3
jne 0x431635
push ebx
mov edx, 0x593ba4
call fcn.00432430
add esp, 4
test eax, eax
je 0x43165d
cmp edi, 8
lea ecx, [ebp - 0x28]
cmovae ecx, esi
cmp ebx, 3
jne 0x431784
push ebx
mov edx, 0x593bac
call fcn.00432430
add esp, 4
test eax, eax
jne 0x431784
lea ecx, [ebp - 0x30]
call fcn.004418f0
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4316a1
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4316a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4316a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
test bl, bl
je 0x431722
push 1
push 2
lea ecx, [ebp - 0xe0]
call fcn.00420a30
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push str.user_close_auto_run__exit
push eax
call fcn.00422140
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.004418f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0xe0]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x431713
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x431713
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x431713
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
call fcn.0041e300
call fcn.00431b90
sub esp, 0x28
mov ecx, esp
push 0
push str.autoitem
push 1
push 0
mov dword [ecx + 0x24], 0
mov ecx, eax
push str.autooff
call fcn.00467030
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x431780
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317d7
push edx
push ecx
call fcn.004df007
add esp, 8
xor al, al
jmp 0x4317b6
cmp edi, 8
jb 0x4317b4
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x4317aa
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317dc
push edi
push esi
call fcn.004df007
add esp, 8
mov al, 1
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
call fcn.0052b370
call fcn.0052b370
call fcn.0052b370
int3