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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eafbc
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52a394]
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 0x41b086
cmp dword [ebp + 0xc], 0
je 0x41b086
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bff80
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 0x38]
push 0x103
push eax
push 0x517e2c
push 0x5181a8
push str.ADBlockMasterSetup_officialwebsite.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41b0a4
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 0x41adf0
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00408ed0
jmp 0x41ae22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.004090b0
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp - 0x424]
mov edx, dword [edi + 0x50]
sub edx, 0x10
mov dword [ebp - 0x42c], edx
lea esi, [eax - 0x10]
cmp esi, edx
je 0x41aea7
lea ecx, [edx + 0xc]
mov dword [ebp - 0x430], ecx
mov ecx, dword [ecx]
shr ecx, 0x1f
test cl, cl
jne 0x41ae9b
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41ae9b
mov ecx, esi
call fcn.0040ef50
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 0x41ae93
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 + 0x50], eax
jmp 0x41aea7
push dword [esi + 4]
lea ecx, [edi + 0x50]
push eax
call fcn.004090b0
mov dword [ebp - 4], 3
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41aec2
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 0x41afcb
push str.update_
lea edx, [edi + 0x34]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.00410020
push str.ADBlockMasterSetup_officialwebsite.exe
lea edx, [ebp - 0x424]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x42c]
call fcn.00410020
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 0x41af81
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41af78
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x41af78
mov ecx, dword [ebp - 0x428]
call fcn.0040ef50
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 0x41af70
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 0x41af81
push dword [edx - 0xc]
push edx
call fcn.004090b0
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 0x41afa2
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 0x41afc4
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 0x41b086
mov eax, dword [edi + 0x50]
cmp dword [eax - 0xc], 0
je 0x41b086
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x41b086
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b086
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004bff80
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.00419160
test eax, eax
je 0x41b086
mov esi, dword [edi + 0x50]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00419270
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.00419270
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 0x41b086
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.00493aac
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404780
int3