Function at 0x416370
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b7d81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa44
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], esi
cmp eax, esi
jle 0x416722
push ebx
push edi
xor ebx, ebx
mov eax, dword [ebp + 0x24]
add eax, ebx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], esi
jle 0x416709
mov edx, ecx
lea ecx, [esp + 0x654]
push ecx
lea ecx, [esp + 0x858]
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x458]
push edx
lea edx, [esp + 0x34]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.0058a1ba
add esp, 0x14
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x454]
push esi
push eax
push esi
push 0xf003f
push esi
push 0x6874ec
push esi
push ecx
push edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x416450
lea ecx, [esp + 0x244]
call fcn.004849d0
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA_n
lea ecx, [esp + 0x24c]
mov dword [esp + 0xa64], esi
call fcn.00484af0
lea ecx, [esp + 0x244]
mov dword [esp + 0xa5c], 0xffffffff
call fcn.00484ae0
jmp 0x416709
mov eax, dword [ebp + 0x24]
add eax, ebx
mov ecx, dword [eax]
xor eax, eax
mov edx, ecx
mov edi, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [edx]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push edx
push 1
push esi
push 0x65c5a8
push eax
call edi
mov ecx, dword [ebp + 0x24]
push 4
mov edx, dword [ebx + ecx]
lea ecx, [esp + 0x24]
push ecx
push 4
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
push esi
push 0x65c5a4
push edx
mov dword [esp + 0x38], eax
call edi
mov eax, dword [ebp + 0x24]
push 4
mov ecx, dword [ebx + eax]
lea eax, [esp + 0x24]
push eax
push 4
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x24]
push esi
push str.found
push ecx
mov dword [esp + 0x38], edx
call edi
mov edx, dword [ebp + 0x24]
xor edi, edi
mov dword [esp + 0x28], edi
mov eax, dword [ebx + edx]
cmp dword [eax + 0x1c], esi
jle 0x4166f3
mov ecx, dword [0x682f9c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
push edi
lea edx, [esp + 0x20]
push 0x65bfb0
push edx
mov dword [esp + 0xa68], 1
call fcn.0059e618
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41657e
lea ecx, [esp + 0x34]
call fcn.004849d0
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA__s2_n
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa64], 2
call fcn.00484af0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa5c], 1
call fcn.00484ae0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa5c], 0xffffffff
call fcn.005a584d
jmp 0x4166da
mov eax, dword [ebp + 0x24]
add eax, ebx
mov ecx, dword [eax]
mov eax, dword [eax]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x18]
add eax, esi
mov ecx, dword [edx + esi]
mov edi, dword [eax]
push ecx
call fcn.00589432
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push 0x65ce44
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0x24]
add eax, ebx
mov ecx, dword [eax]
mov eax, ecx
mov edx, dword [ecx + 0x18]
or ecx, 0xffffffff
mov eax, dword [eax + 0x18]
mov edi, dword [edx + esi + 4]
add eax, esi
mov edx, dword [eax + 4]
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
push str.vers
push ecx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + esi + 0xc]
mov ecx, dword [esp + 0x20]
push 0
push str.bEnabled
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + esi + 0x10]
mov ecx, dword [esp + 0x20]
push 0
push str.bExtensionInstalled
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + esi + 0x14]
push 0
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x24]
push str.bPluginInstalled
push ecx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + esi + 8]
mov ecx, dword [esp + 0x20]
push 0
push str.isExtensionSupported
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + esi + 0x20]
mov ecx, dword [esp + 0x20]
push 0
push str.isff15
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa5c], 0xffffffff
call fcn.005a584d
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 0x24]
inc edi
add esi, 0x24
mov dword [esp + 0x28], edi
mov ecx, dword [ebx + eax]
cmp edi, dword [ecx + 0x1c]
jl 0x4164d8
xor esi, esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x28]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4163a4
pop edi
pop ebx
mov ecx, dword [esp + 0xa4c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa50
ret