Function at 0x423240
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455b5b
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.00439260
mov eax, dword [0x46fb40]
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.00426d10
push str.runtask.dat
push eax
lea ecx, [ebp - 0x5050]
push ecx
mov dword [ebp - 4], esi
call fcn.0040a070
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 0x4232ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401854
push 0x401df8
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
call fcn.0043928b
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.00438810
mov eax, dword [0x46fa80]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x46fa80
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 0x42334b
push ebx
lea ecx, [ebp - 0x504c]
call fcn.00402f89
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 0x423490
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 0x4599e8
push esi
push 0x45d5e8
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 0x4233b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x42349a
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4233c6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x5010]
push ecx
mov ecx, edi
call fcn.00408584
mov eax, dword [ebp - 0x5048]
inc eax
add edi, 4
mov dword [ebp - 0x5048], eax
cmp eax, 6
jl 0x4232f4
push 0x2800
lea ecx, [ebp - 0x5010]
push 0
push ecx
call fcn.00438810
mov edx, dword [ebp - 0x5050]
add esp, 0xc
push edx
push 0x2800
lea eax, [ebp - 0x5010]
push eax
push 0x4599e8
push 0x45d5e4
push 0x45d5e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [0x46fa80]
mov eax, dword [edx + 0xc]
mov ecx, 0x46fa80
call eax
add eax, 0x10
mov dword [ebp - 0x5048], eax
lea ecx, [ebp - 0x5010]
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x4234e3
mov edx, ecx
movzx esi, dx
push 0
push esi
call fcn.00401208
add esp, 8
test eax, eax
je 0x423512
push esi
push eax
lea ecx, [ebp - 0x5048]
call fcn.004085f5
jmp 0x423512
push 0x80070057
call fcn.00401074
push fcn.00401854
push 6
push 4
lea edx, [ebp - 0x5028]
push edx
mov byte [ebp - 4], 2
call fcn.0043824d
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 0x4234dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4237c5
lea eax, [ebp - 0x5010]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4234f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x5010]
push eax
lea ecx, [ebp - 0x5048]
call fcn.00408584
mov esi, dword [ebp - 0x5048]
cmp dword [esi - 0xc], 8
mov byte [ebp - 4], 6
jne 0x42355a
push 3
lea ecx, [ebp - 0x504c]
push ecx
lea ecx, [ebp - 0x5048]
call fcn.00409ab0
push 0x45d5e0
push eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x5054], 1
call fcn.00423030
add esp, 8
test al, al
jne 0x42355a
xor bl, bl
jmp 0x42355c
mov bl, 1
test byte [ebp - 0x5054], 1
mov dword [ebp - 4], 6
je 0x42358e
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 0x42358e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4235ed
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 0x4235b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401854
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
mov byte [ebp - 4], 2
call fcn.0043824d
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 0x4234d0
lea ecx, [ebp - 0x505c]
call fcn.0040d4f0
mov edi, dword [ebp - 0x5058]
mov byte [ebp - 4], 8
mov dword [ebp - 0x5054], 0
lea esi, [ebp - 0x5028]
add edi, 0x13c
push 5
lea ecx, [ebp - 0x5058]
push ecx
mov ecx, esi
call fcn.00403dca
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.0040dd10
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x423656
mov edx, dword [eax]
jmp 0x423658
mov edx, eax
test edx, edx
jne 0x423660
xor eax, eax
jmp 0x423674
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423665
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.00408584
cmp dword [ebp - 0x5030], 8
jb 0x423695
mov ecx, dword [ebp - 0x5044]
push ecx
call fcn.00438188
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 0x4236d8
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.00409ab0
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
mov byte [ebp - 4], 0xb
call fcn.004230e0
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 0x423725
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4237e3
mov eax, dword [ebp - 0x5054]
inc eax
add esi, 4
add edi, 4
mov dword [ebp - 0x5054], eax
cmp eax, 6
jl 0x423618
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.0040d500
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 0x42377e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401854
push 6
push 4
lea ecx, [ebp - 0x5028]
push ecx
mov byte [ebp - 4], 2
call fcn.0043824d
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 0x4237c0
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.00438fdb
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x505c]
mov byte [ebp - 4], 6
call fcn.0040d500
mov eax, dword [ebp - 0x5048]
add eax, 0xfffffff0
jmp 0x423595