Function at 0x466b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6f7b
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.0047e8f0
mov eax, dword [0x4fca20]
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
lea eax, [ebp - 0x5060]
xor esi, esi
push eax
mov dword [ebp - 0x5058], ecx
mov dword [ebp - 0x5054], esi
call fcn.0045c9a0
push str.runtask.dat
push eax
lea ecx, [ebp - 0x5050]
push ecx
mov dword [ebp - 4], esi
call fcn.0040338d
add esp, 0x10
mov eax, dword [ebp - 0x5060]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466bea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401599
push 0x401588
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
call fcn.0047f4a1
mov byte [ebp - 4], 3
mov dword [ebp - 0x5048], esi
lea edi, [ebp - 0x5028]
push 0x2800
lea edx, [ebp - 0x5010]
push 0
push edx
call fcn.0047e610
mov eax, dword [0x4fc7ec]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x4fc7ec
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x504c], esi
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
mov byte [ebp - 4], 4
jge 0x466c6b
push ebx
lea ecx, [ebp - 0x504c]
call fcn.00401485
mov esi, dword [ebp - 0x504c]
mov al, byte [ebp - 0x5048]
add al, 0x30
movsx cx, al
mov word [esi], cx
cmp dword [esi - 8], ebx
jl 0x466db0
mov dword [esi - 0xc], ebx
xor edx, edx
mov word [esi + 2], dx
mov eax, dword [ebp - 0x5050]
push eax
push 0x2800
lea ecx, [ebp - 0x5010]
push ecx
push 0x4cd850
push esi
push 0x4d57cc
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
lea eax, [esi - 0x10]
sete bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466cd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x466dba
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466ce6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x5010]
push ecx
mov ecx, edi
call fcn.0040170b
mov eax, dword [ebp - 0x5048]
inc eax
add edi, 4
mov dword [ebp - 0x5048], eax
cmp eax, 6
jl 0x466c14
push 0x2800
lea ecx, [ebp - 0x5010]
push 0
push ecx
call fcn.0047e610
mov edx, dword [ebp - 0x5050]
add esp, 0xc
push edx
push 0x2800
lea eax, [ebp - 0x5010]
push eax
push 0x4cd850
push 0x4d57c8
push 0x4d57cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [0x4fc7ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc7ec
call eax
add eax, 0x10
mov dword [ebp - 0x5048], eax
lea ecx, [ebp - 0x5010]
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x466e03
mov edx, ecx
movzx esi, dx
push 0
push esi
call fcn.0040114c
add esp, 8
test eax, eax
je 0x466e32
push esi
push eax
lea ecx, [ebp - 0x5048]
call fcn.0040188a
jmp 0x466e32
push 0x80070057
call fcn.00401000
push fcn.00401599
push 6
push 4
lea edx, [ebp - 0x5028]
push edx
mov byte [ebp - 4], 2
call fcn.0047ed3f
mov eax, dword [ebp - 0x5050]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466dfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4670e5
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466e10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x5010]
push eax
lea ecx, [ebp - 0x5048]
call fcn.0040170b
mov esi, dword [ebp - 0x5048]
cmp dword [esi - 0xc], 8
mov byte [ebp - 4], 6
jne 0x466e7a
push 3
lea ecx, [ebp - 0x504c]
push ecx
lea ecx, [ebp - 0x5048]
call fcn.00401636
push 0x4d57c4
push eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x5054], 1
call fcn.00466ab0
add esp, 8
test al, al
jne 0x466e7a
xor bl, bl
jmp 0x466e7c
mov bl, 1
test byte [ebp - 0x5054], 1
mov dword [ebp - 4], 6
je 0x466eae
mov eax, dword [ebp - 0x504c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466eae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x466f0d
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466ed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401599
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
mov byte [ebp - 4], 2
call fcn.0047ed3f
mov eax, dword [ebp - 0x5050]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x466df0
lea ecx, [ebp - 0x505c]
call fcn.00413de0
mov edi, dword [ebp - 0x5058]
mov byte [ebp - 4], 8
mov dword [ebp - 0x5054], 0
lea esi, [ebp - 0x5028]
add edi, 0x16c
push 5
lea ecx, [ebp - 0x5058]
push ecx
mov ecx, esi
call fcn.00406a70
mov edx, dword [ebp - 0x5048]
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp - 0x5044]
push eax
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 9
call fcn.00414500
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x466f76
mov edx, dword [eax]
jmp 0x466f78
mov edx, eax
test edx, edx
jne 0x466f80
xor eax, eax
jmp 0x466f94
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466f85
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.0040170b
cmp dword [ebp - 0x5030], 8
jb 0x466fb5
mov ecx, dword [ebp - 0x5044]
push ecx
call fcn.0047d656
add esp, 4
mov eax, dword [ebp - 0x5058]
xor edx, edx
add eax, 0xfffffff0
mov word [ebp - 0x5044], dx
mov dword [ebp - 0x5030], 7
mov dword [ebp - 0x5034], 0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
lea ecx, [ebp - 0x504c]
push ecx
mov ecx, esi
call fcn.00401636
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
mov byte [ebp - 4], 0xb
call fcn.00466490
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x504c]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x467103
mov eax, dword [ebp - 0x5054]
inc eax
add esi, 4
add edi, 4
mov dword [ebp - 0x5054], eax
cmp eax, 6
jl 0x466f38
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.00413df0
mov eax, dword [ebp - 0x5048]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46709e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401599
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
mov byte [ebp - 4], 2
call fcn.0047ed3f
mov eax, dword [ebp - 0x5050]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4670e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 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.0047e4d2
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.00413df0
mov eax, dword [ebp - 0x5048]
add eax, 0xfffffff0
jmp 0x466eb5