Function at 0x4104f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x549a61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], esi
cmp eax, esi
jle 0x41089f
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 0x410886
mov edx, ecx
lea ecx, [esp + 0x340]
push ecx
lea ecx, [esp + 0x444]
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x244]
push edx
lea edx, [esp + 0x34]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.0051d13a
add esp, 0x14
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x240]
push esi
push eax
push esi
push 0xf003f
push esi
push 0x5ba440
push esi
push ecx
push edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4105d0
lea ecx, [esp + 0x138]
call fcn.00459300
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA_n
lea ecx, [esp + 0x140]
mov dword [esp + 0x550], esi
call fcn.004593e0
lea ecx, [esp + 0x138]
mov dword [esp + 0x548], 0xffffffff
call fcn.004593d0
jmp 0x410886
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 0x5983d0
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 0x5983cc
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 + 0x24], edi
mov eax, dword [ebx + edx]
cmp dword [eax + 0x1c], esi
jle 0x410870
mov ecx, dword [0x5b5ecc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
push edi
lea edx, [esp + 0x20]
push 0x597df0
push edx
mov dword [esp + 0x554], 1
call fcn.0053091a
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4106fe
lea ecx, [esp + 0x30]
call fcn.00459300
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA__s2_n
lea ecx, [esp + 0x38]
mov byte [esp + 0x550], 2
call fcn.004593e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x548], 1
call fcn.004593d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x548], 0xffffffff
call fcn.00537b04
jmp 0x410857
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]
add eax, esi
mov edx, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 1
push eax
push 0x598b90
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebx + edx]
lea eax, [ebx + edx]
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 + 0x14]
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 + 0x18]
push eax
push 4
mov edx, dword [ecx + esi + 0xc]
mov ecx, dword [esp + 0x1c]
push 0
push str.bEnabled
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x18]
push eax
push 4
mov edx, dword [ecx + esi + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push str.bExtensionInstalled
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x18]
push eax
push 4
mov edx, dword [ecx + esi + 0x14]
push 0
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x20]
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 + 0x18]
push eax
push 4
mov edx, dword [ecx + esi + 8]
mov ecx, dword [esp + 0x1c]
push 0
push str.isExtensionSupported
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [ebp + 0x24]
push 4
mov eax, dword [ebx + edx]
mov ecx, dword [eax + 0x18]
lea eax, [esp + 0x18]
push eax
push 4
mov edx, dword [ecx + esi + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push str.isff15
push ecx
mov dword [esp + 0x2c], edx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x548], 0xffffffff
call fcn.00537b04
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 0x24]
inc edi
add esi, 0x24
mov dword [esp + 0x24], edi
mov ecx, dword [ebx + eax]
cmp edi, dword [ecx + 0x1c]
jl 0x410658
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 + 0x28]
mov ecx, dword [ebp + 0x28]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x410524
pop edi
pop ebx
mov ecx, dword [esp + 0x538]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x53c
ret