Function at 0x4576c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b054b
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.0046e870
mov eax, dword [0x4e0240]
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.00459fe0
push str.runtask.dat
push eax
lea ecx, [ebp - 0x5050]
push ecx
mov dword [ebp - 4], esi
call fcn.0040336c
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 0x45774a
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.0046f421
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.0046e590
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x4e0004
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 0x4577cb
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 0x457910
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 0x4b67c8
push esi
push 0x4bd4dc
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 0x457835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x45791a
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457846
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 0x457774
push 0x2800
lea ecx, [ebp - 0x5010]
push 0
push ecx
call fcn.0046e590
mov edx, dword [ebp - 0x5050]
add esp, 0xc
push edx
push 0x2800
lea eax, [ebp - 0x5010]
push eax
push 0x4b67c8
push 0x4bd4d8
push 0x4bd4dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [0x4e0004]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
call eax
add eax, 0x10
mov dword [ebp - 0x5048], eax
lea ecx, [ebp - 0x5010]
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x457963
mov edx, ecx
movzx esi, dx
push 0
push esi
call fcn.0040114c
add esp, 8
test eax, eax
je 0x457992
push esi
push eax
lea ecx, [ebp - 0x5048]
call fcn.0040188a
jmp 0x457992
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.0046ecbf
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 0x45795c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x457c45
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457970
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 0x4579da
push 3
lea ecx, [ebp - 0x504c]
push ecx
lea ecx, [ebp - 0x5048]
call fcn.00401636
push 0x4bd4d4
push eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x5054], 1
call fcn.004574b0
add esp, 8
test al, al
jne 0x4579da
xor bl, bl
jmp 0x4579dc
mov bl, 1
test byte [ebp - 0x5054], 1
mov dword [ebp - 4], 6
je 0x457a0e
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 0x457a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x457a6d
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 0x457a32
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.0046ecbf
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 0x457950
lea ecx, [ebp - 0x505c]
call fcn.004134a0
mov edi, dword [ebp - 0x5058]
mov byte [ebp - 4], 8
mov dword [ebp - 0x5054], 0
lea esi, [ebp - 0x5028]
add edi, 0x140
push 5
lea ecx, [ebp - 0x5058]
push ecx
mov ecx, esi
call fcn.004069d4
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.00413da0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x457ad6
mov edx, dword [eax]
jmp 0x457ad8
mov edx, eax
test edx, edx
jne 0x457ae0
xor eax, eax
jmp 0x457af4
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457ae5
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.0040170b
cmp dword [ebp - 0x5030], 8
jb 0x457b15
mov ecx, dword [ebp - 0x5044]
push ecx
call fcn.0046d5e2
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 0x457b58
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.00457560
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 0x457ba5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x457c63
mov eax, dword [ebp - 0x5054]
inc eax
add esi, 4
add edi, 4
mov dword [ebp - 0x5054], eax
cmp eax, 6
jl 0x457a98
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.004134b0
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 0x457bfe
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.0046ecbf
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 0x457c40
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.0046e452
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.004134b0
mov eax, dword [ebp - 0x5048]
add eax, 0xfffffff0
jmp 0x457a15