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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508cbc
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54e39c]
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 0x41c466
cmp dword [ebp + 0xc], 0
je 0x41c466
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dd9e0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 0x38]
push 0x103
push eax
push 0x5387b4
push 0x538b40
push str.ADBlockMasterSetup_officialwebsite.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41c484
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 0x41c1d0
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00408d40
jmp 0x41c202
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c1e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00408f20
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 0x41c287
lea ecx, [edx + 0xc]
mov dword [ebp - 0x430], ecx
mov ecx, dword [ecx]
shr ecx, 0x1f
test cl, cl
jne 0x41c27b
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41c27b
mov ecx, esi
call fcn.0040ef10
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 0x41c273
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 0x41c287
push dword [esi + 4]
lea ecx, [edi + 0x4c]
push eax
call fcn.00408f20
mov dword [ebp - 4], 3
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c2a2
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 0x41c3ab
push str.update_
lea edx, [edi + 0x34]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.0040ffe0
push str.ADBlockMasterSetup_officialwebsite.exe
lea edx, [ebp - 0x424]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x42c]
call fcn.0040ffe0
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 0x41c361
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41c358
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x41c358
mov ecx, dword [ebp - 0x428]
call fcn.0040ef10
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 0x41c350
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 0x41c361
push dword [edx - 0xc]
push edx
call fcn.00408f20
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 0x41c382
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 0x41c3a4
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 0x41c466
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x41c466
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x41c466
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c466
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dd9e0
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.0041a8a0
test eax, eax
je 0x41c466
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.0041a9b0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.0041a9b0
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 0x41c466
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.0049bdac
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404780
int3