Function at 0x47d688
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x523d9c
call fcn.0051f0b4
mov eax, 0x1c674
call fcn.004eff30
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
push edi
xor edi, edi
cmp eax, edi
je 0x47d8ea
mov dword [eax + 4], edi
mov dword [eax], 8
xor eax, eax
push 0x144e
mov word [ebp - 0x3680], ax
lea eax, [ebp - 0x367e]
push edi
push eax
call fcn.004ee670
add esp, 0xc
add esi, 8
push esi
push 0xa28
lea eax, [ebp - 0x3680]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebp - 0x28], eax
cmp eax, 0xa26
je 0x47d8ea
lea eax, [ebp - 0x3680]
push ebx
mov dword [ebp - 0x20], eax
xor eax, eax
push 0x18ffe
mov word [ebp - 0x1c680], ax
lea eax, [ebp - 0x1c67e]
push edi
push eax
call fcn.004ee670
xor eax, eax
push 0x206
mov word [ebp - 0xa30], ax
lea eax, [ebp - 0xa2e]
push edi
push eax
call fcn.004ee670
xor eax, eax
mov ebx, 0x7fe
push ebx
mov word [ebp - 0x2230], ax
lea eax, [ebp - 0x222e]
push edi
push eax
call fcn.004ee670
add esp, 0x24
push esi
push 0x3fc
lea eax, [ebp - 0x2230]
push eax
push edi
push str.TaskDlFolder
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
setne al
test al, al
je 0x47da71
lea eax, [ebp - 0x2230]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x47d78f
sub eax, edx
sar eax, 1
je 0x47da71
xor eax, eax
push ebx
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push edi
push eax
call fcn.004ee670
add esp, 0xc
xor eax, eax
movzx ecx, word [ebp + eax - 0x2230]
mov word [ebp + eax - 0x828], cx
inc eax
inc eax
cmp cx, di
jne 0x47d7bf
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x828]
push eax
call edi
lea eax, [ebp - 0x2230]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f01
and dword [ebp - 4], 0
mov esi, 0x56f16c
push esi
lea ecx, [ebp - 0x1c]
call fcn.00402946
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402946
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00402946
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 3
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x47d82d
sub eax, ecx
sar eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
dec eax
lea ecx, [ebp - 0x10]
call fcn.00411661
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00404918
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ed2
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401ed2
lea eax, [ebp - 0x828]
push eax
call edi
lea eax, [ebp - 0x828]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x47d89e
sub eax, ecx
sar eax, 1
cmp word [ebp + eax*2 - 0x82a], 0x5c
lea eax, [ebp - 0x828]
lea edx, [eax + 2]
jne 0x47d8f1
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47d8c0
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00411661
mov byte [ebp - 4], 5
jmp 0x47d91a
xor eax, eax
jmp 0x47db99
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47d8f1
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
dec eax
lea ecx, [ebp - 0x10]
call fcn.00411661
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.00404918
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
lea eax, [ebp - 0x18]
push 0x547d80
push eax
call fcn.0047e458
pop ecx
pop ecx
test al, al
jne 0x47d95e
lea eax, [ebp - 0x24]
push 0x547d8c
push eax
call fcn.0047e458
pop ecx
pop ecx
test al, al
je 0x47da45
xor eax, eax
push ebx
mov word [ebp - 0x1230], ax
xor edi, edi
lea eax, [ebp - 0x122e]
push edi
push eax
call fcn.004ee670
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x1230]
push eax
call esi
lea eax, [ebp - 0x1230]
push eax
push eax
call esi
push 0x542cfc
lea eax, [ebp - 0x828]
push eax
call esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401db6
lea ecx, [ebp - 0x828]
push ecx
push eax
call fcn.0047d5ed
xor eax, eax
push ebx
mov word [ebp - 0x1a30], ax
lea eax, [ebp - 0x1a2e]
push edi
push eax
call fcn.004ee670
add esp, 0x14
xor eax, eax
movzx ecx, word [ebp + eax - 0x828]
mov word [ebp + eax - 0x1a30], cx
inc eax
inc eax
cmp cx, di
jne 0x47d9da
push edi
lea ecx, [ebp - 0x24]
call fcn.00401db6
push eax
lea eax, [ebp - 0x1a30]
push eax
call esi
push 0x542ea4
lea eax, [ebp - 0x828]
push eax
call esi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x1a30]
push eax
call fcn.0047d5ed
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add eax, 8
push eax
lea eax, [ebp - 0x828]
push eax
push str.TaskDlFolder
push str.Options
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, dword [ebp - 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47da77
sub eax, edx
sar eax, 1
je 0x47db95
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3680]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x28]
jae 0x47db95
mov eax, dword [ebp + 8]
add eax, 8
push eax
push 0xc800
lea eax, [ebp - 0x1c680]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ebx, [ebp - 0x1c680]
mov dword [ebp - 0x18], eax
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x47dacb
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47db70
mov eax, ebx
lea ecx, [ebp - 0x1c680]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x18]
jae 0x47db70
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47dafc
sub eax, edx
push 0x3d
sar eax, 1
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
test esi, esi
je 0x47db61
lea ecx, [ebp - 0x1c680]
sub eax, ecx
sar eax, 1
cmp eax, dword [ebp - 0x18]
jae 0x47db61
push ebx
push dword [ebp - 0x20]
xor eax, eax
push str._s_s
mov ecx, 0x104
lea edi, [ebp - 0xa30]
mov word [esi], ax
call fcn.004530ab
add esp, 0xc
test eax, eax
jl 0x47db68
add esi, 2
push esi
mov eax, edi
push eax
push 0
push dword [ebp + 8]
call fcn.0047e14a
mov eax, dword [ebp - 0x1c]
lea ebx, [ebx + eax*2 + 2]
test ebx, ebx
jne 0x47dadc
mov esi, dword [ebp - 0x20]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47db78
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2 + 2]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x47da71
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4