Function at 0x41e170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a780
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x54112c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x10
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.download_success
mov byte [ecx], 0
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
lea ebx, [esi + 0x84]
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0040ac70
mov byte [esi + 0x1ac], 1
mov edi, dword [esi + 0x1a0]
mov dword [esi + 0x1a0], 0
test edi, edi
je 0x41e229
mov ecx, edi
call fcn.00403110
push 0xc
push edi
call fcn.0048bf7f
add esp, 8
push 3
mov ecx, esi
call fcn.00420bb0
call fcn.00420840
test al, al
jne 0x41e296
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x16
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.save_niddle_data_error
mov byte [ecx], al
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
mov bh, byte [esi + 0x83]
lea ecx, [ebp - 0x20]
push 0
push 0
push 0x20006
push 0
push 0
push str.SOFTWAREReasonReason_Antivirus
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0041b540
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x41e2ff
xor eax, eax
test bh, bh
push 4
setne al
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.EXTINST
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41e2ff
mov bl, 1
test edi, edi
je 0x41e30a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x41e370
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x1b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.set_extension_install_error
mov byte [ecx], bl
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], bl
call fcn.0040e880
lea edi, [esi + 0x84]
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0040ac70
jmp 0x41e3bf
cmp byte [esi + 0x83], 0
mov edx, str.requested_install
jne 0x41e383
mov edx, str.no_install
sub esp, 0x18
mov ecx, edx
mov edi, esp
lea ebx, [ecx + 1]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e3a0
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.0040e880
lea edi, [esi + 0x84]
mov ecx, edi
call fcn.0040bec0
lea eax, [esi + 4]
push eax
push 0x41d050
lea ecx, [ebp - 0x1c]
call fcn.004120e0
cmp dword [esi + 0x1a8], 0
jne 0x41e473
mov ecx, dword [eax]
mov dword [esi + 0x1a4], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x1a8], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ebp - 0x18], 0
jne 0x41e473
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install_start
mov byte [ecx], 0
call fcn.0040e880
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.install
mov byte [ecx], 0
call fcn.0040e880
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004bceee
int3