Function at 0x408ad1
Capabilities:
Initialize winsock library
Query or enumerate registry value
Resolve dns

Disassembly:
push 0x68c
mov eax, 0x41fc45
call fcn.0040e434
fldz
xor ebx, ebx
push 0x423d80
fstp dword [ebp - 0x690]
lea esi, [ebp - 0x440]
mov dword [ebp - 4], ebx
call fcn.00401183
lea eax, [ebp - 0x684]
mov byte [ebp - 4], 1
fldz
push eax
fstp dword [ebp - 0x694]
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x408bd5
push str.version.51dzt.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
je 0x408bd5
xor eax, eax
push 0x1fe
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.00411bc0
add esp, 0xc
push 0xa
lea eax, [ebp - 0x424]
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax]
push eax
call fcn.0040d67b
add esp, 0xc
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.00401329
push 0x423cec
lea eax, [ebp - 0x440]
push eax
call fcn.004026b1
push 0xa
lea eax, [ebp - 0x424]
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 1]
push eax
call fcn.0040d67b
add esp, 0xc
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.004026b1
cmp dword [ebp - 0x42c], 8
mov eax, dword [ebp - 0x440]
jae 0x408bc8
lea eax, [ebp - 0x440]
push eax
call fcn.0040d4aa
fstp dword [ebp - 0x694]
pop ecx
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
push 0x206
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push ebx
push eax
mov dword [ebp - 0x688], ebx
call fcn.00411bc0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTypeEasy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x408cd1
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x68c]
push eax
push ebx
push str.UninstallString
push dword [ebp - 0x688]
mov dword [ebp - 0x68c], ebx
mov dword [ebp - 0x698], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x688]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.0040bf14
pop ecx
pop ecx
cmp eax, ebx
je 0x408ca5
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.0040bf14
pop ecx
pop ecx
cmp eax, ebx
je 0x408ca5
inc eax
inc eax
je 0x408ca5
push eax
call fcn.0040d4aa
fstp dword [ebp - 0x690]
pop ecx
fld dword [ebp - 0x694]
fld dword [ebp - 0x690]
fcompp
fnstsw ax
test ah, 1
jne 0x408cd1
push 1
xor edi, edi
lea esi, [ebp - 0x440]
call fcn.004013ee
xor al, al
call fcn.0040e490
ret
push 1
xor edi, edi
lea esi, [ebp - 0x440]
call fcn.004013ee
or dword [ebp - 4], 0xffffffff
jmp 0x408cf8
xor edi, edi
inc edi
lea eax, [ebp - 0x478]
push edi
push eax
call fcn.00408452
pop ecx
pop ecx
push 0x10
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x478]
pop esi
cmp dword [ebp - 0x464], esi
jae 0x408d28
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.00403d69
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4d4]
cmp dword [ebp - 0x4c0], esi
jae 0x408d4d
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x4f4]
call fcn.00403dc9
cmp byte [ebp - 0x4b0], 0
je 0x408d8c
cmp dword [ebp - 0x4ac], 2
jne 0x408d8c
lea ecx, [ebp - 0x4f4]
mov byte [ebp - 4], 3
call fcn.00403648
push ebx
push edi
lea ecx, [ebp - 0x478]
call fcn.00404a26
jmp 0x408cc9
lea eax, [ebp - 0x4f4]
call fcn.00403423
call fcn.00403423
push str.dztnum
call fcn.004033f4
cmp eax, ebx
jne 0x408dd1
xor bl, bl
lea ecx, [ebp - 0x4f4]
mov byte [ebp - 4], 3
call fcn.00403648
push 0
push 1
lea ecx, [ebp - 0x478]
call fcn.00404a26
mov al, bl
jmp 0x408ccb
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x408ded
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
je 0x408ded
add eax, 0x20
cmp dword [eax + 0x14], esi
jb 0x408def
mov eax, dword [eax]
jmp 0x408def
xor eax, eax
push eax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x448], 0xf
mov dword [ebp - 0x44c], ebx
mov byte [ebp - 0x45c], 0
call fcn.00404966
mov eax, dword [ebp - 0x45c]
cmp dword [ebp - 0x448], esi
jae 0x408e26
lea eax, [ebp - 0x45c]
push eax
call fcn.0040ce16
fstp dword [ebp - 0x68c]
fld dword [ebp - 0x690]
pop ecx
fld dword [ebp - 0x68c]
push ebx
fcompp
lea ecx, [ebp - 0x45c]
push edi
fnstsw ax
test ah, 0x41
jne 0x408e5c
call fcn.00404a26
mov bl, 1
jmp 0x408dac
call fcn.00404a26
jmp 0x408daa