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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50443c
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x549394]
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 0x41d0f6
cmp dword [ebp + 0xc], 0
je 0x41d0f6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d9120
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 0x38]
push 0x103
push eax
push 0x533ab0
push 0x533e30
push str.ADBlockMasterSetup_officialwebsite.exe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41d114
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 0x41ce60
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00408f80
jmp 0x41ce92
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ce70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00409160
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 0x41cf17
lea ecx, [edx + 0xc]
mov dword [ebp - 0x430], ecx
mov ecx, dword [ecx]
shr ecx, 0x1f
test cl, cl
jne 0x41cf0b
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41cf0b
mov ecx, esi
call fcn.0040f570
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 0x41cf03
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 0x41cf17
push dword [esi + 4]
lea ecx, [edi + 0x50]
push eax
call fcn.00409160
mov dword [ebp - 4], 3
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cf32
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 0x41d03b
push str.update_
lea edx, [edi + 0x34]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.00410640
push str.ADBlockMasterSetup_officialwebsite.exe
lea edx, [ebp - 0x424]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x42c]
call fcn.00410640
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 0x41cff1
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41cfe8
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x41cfe8
mov ecx, dword [ebp - 0x428]
call fcn.0040f570
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 0x41cfe0
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 0x41cff1
push dword [edx - 0xc]
push edx
call fcn.00409160
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 0x41d012
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 0x41d034
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 0x41d0f6
mov eax, dword [edi + 0x50]
cmp dword [eax - 0xc], 0
je 0x41d0f6
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
je 0x41d0f6
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d0f6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d9120
add esp, 8
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x48]
call fcn.0041b1d0
test eax, eax
je 0x41d0f6
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.0041b2e0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.0041b2e0
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 0x41d0f6
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.0049742c
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404780
int3