Function at 0x41bff0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5070fc
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54c39c]
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
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x41c346
cmp dword [ebp + 0xc], 0
je 0x41c346
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 0x38]
push 0x103
push eax
push 0x536738
push 0x536b28
push str.ADBlockMasterSetup_officialwebsite.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41c364
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x41c0b0
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00408d30
jmp 0x41c0e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c0c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00408f10
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp - 0x424]
mov edx, dword [edi + 0x4c]
sub edx, 0x10
mov dword [ebp - 0x42c], edx
lea esi, [eax - 0x10]
cmp esi, edx
je 0x41c167
lea ecx, [edx + 0xc]
mov dword [ebp - 0x430], ecx
mov ecx, dword [ecx]
shr ecx, 0x1f
test cl, cl
jne 0x41c15b
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41c15b
mov ecx, esi
call fcn.0040eef0
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x430]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c153
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x428]
add eax, 0x10
mov dword [edi + 0x4c], eax
jmp 0x41c167
push dword [esi + 4]
lea ecx, [edi + 0x4c]
push eax
call fcn.00408f10
mov dword [ebp - 4], 3
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c182
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
jne 0x41c28b
push str.update_
lea edx, [edi + 0x34]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.0040ffc0
push str.ADBlockMasterSetup_officialwebsite.exe
lea edx, [ebp - 0x424]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x42c]
call fcn.0040ffc0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [edi + 0x48]
mov edx, dword [eax]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x41c241
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41c238
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x41c238
mov ecx, dword [ebp - 0x428]
call fcn.0040eef0
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 6
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c230
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x428]
add eax, 0x10
mov dword [edi + 0x48], eax
jmp 0x41c241
push dword [edx - 0xc]
push edx
call fcn.00408f10
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c262
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
mov dword [ebp - 4], 8
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41c284
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x44], 0
je 0x41c346
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x41c346
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x41c346
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c346
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dbe40
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.0041a780
test eax, eax
je 0x41c346
mov esi, dword [edi + 0x4c]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0041a890
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.0041a890
mov ecx, dword [ebp - 0x430]
mov edx, ecx
mov esi, dword [ebp - 0x428]
sub esi, dword [ebp - 0x42c]
sub edx, dword [ebp - 0x424]
cmp ecx, dword [ebp - 0x424]
cmove edx, esi
test edx, edx
jne 0x41c346
mov dword [edi + 0x28], 3
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.0049a1fc
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404780
int3