Function at 0x417650
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643ba1
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xa40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xa58]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor ebp, ebp
cmp dword [esi + 0x28], edi
jle 0x417bad
lea ebx, [ebx]
cmp ebp, edi
jl 0x417bd5
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
lea ebx, [ebp*4]
add eax, ebx
mov eax, dword [eax]
cmp dword [eax + 0x1c], edi
jle 0x417ba3
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp dword [eax + 8], edi
jle 0x417bd5
mov eax, dword [eax + 4]
mov eax, dword [eax]
push 0x100
lea ecx, [esp + 0x658]
push ecx
push 0x100
lea edx, [esp + 0x460]
push edx
push 0x100
lea ecx, [esp + 0x868]
push ecx
push 3
lea edx, [esp + 0x468]
push edx
push eax
call fcn.006231d7
add esp, 0x24
test eax, eax
jne 0x417ba3
mov edx, dword [esi + 0x18]
push edi
lea eax, [esp + 0x24]
push eax
push edi
push 0xf003f
push edi
push 0x679c78
push edi
lea ecx, [esp + 0x470]
push ecx
push edx
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41779a
lea ecx, [esp + 0x23c]
call fcn.004c14c0
mov dword [esp + 0xa60], edi
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA_n
lea ecx, [esp + 0x244]
call fcn.004c1630
mov dword [esp + 0xa60], 0xffffffff
lea ecx, [esp + 0x23c]
call fcn.004c1620
jmp 0x417ba3
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
mov eax, dword [eax]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4177b0
sub eax, edx
cmp ebp, dword [esi + 0x28]
mov ecx, eax
jge 0x417bd5
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
mov eax, dword [eax]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x28]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x67b078
push eax
call edi
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebx]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
add eax, ebx
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push 0x67b074
push ecx
mov dword [esp + 0x40], edx
call edi
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov edx, dword [eax + ebx]
push 4
lea ecx, [esp + 0x2c]
push ecx
add eax, ebx
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x28]
push 4
push 0
push str.found
push edx
mov dword [esp + 0x40], eax
call edi
xor edi, edi
mov dword [esp + 0x14], edi
lea esp, [esp]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x417b8b
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0
call fcn.00402510
mov dword [esp + 0xa60], 1
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push 0x67942c
push eax
call fcn.00402f80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x417902
lea ecx, [esp + 0x2c]
call fcn.004c14c0
mov byte [esp + 0xa60], 2
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA__s2_n
lea ecx, [esp + 0x34]
call fcn.004c1630
mov byte [esp + 0xa60], 1
lea ecx, [esp + 0x2c]
call fcn.004c1620
jmp 0x417b6b
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
test edi, edi
jl 0x417bd5
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
add eax, edi
mov eax, dword [eax]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417934
sub eax, edx
sar eax, 1
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
add ecx, ebx
mov ecx, dword [ecx]
add ecx, 0x14
cmp edx, dword [ecx + 8]
jge 0x417bd5
mov ecx, dword [ecx + 4]
add ecx, edi
mov ecx, dword [ecx]
lea eax, [eax + eax + 2]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 1
push 0
push 0x67cbdc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp edx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
add eax, edi
mov eax, dword [eax + 4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4179b0
sub eax, edx
cmp ebp, dword [esi + 0x28]
mov ecx, eax
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp edx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
add eax, edi
mov eax, dword [eax + 4]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push str.vers
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
mov edx, dword [eax + edi + 0xc]
mov ecx, dword [esp + 0x18]
add eax, edi
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.bEnabled
push ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp edx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
add eax, edi
mov eax, dword [eax + 0x10]
push str.bExtensionInstalled
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
mov edx, dword [eax + edi + 0x14]
mov ecx, dword [esp + 0x18]
add eax, edi
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.bPluginInstalled
push ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp edx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
add eax, edi
mov eax, dword [eax + 8]
push str.isExtensionSupported
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, dword [esi + 0x28]
jge 0x417bd5
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x417bd5
mov eax, dword [eax + 4]
mov edx, dword [eax + edi + 0x20]
mov ecx, dword [esp + 0x18]
add eax, edi
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.isff15
push ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xa60], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00402580
inc dword [esp + 0x14]
add edi, 0x24
jmp 0x417850
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
inc ebp
cmp ebp, dword [esi + 0x28]
jl 0x4176a0
mov ecx, dword [esp + 0xa58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.0062023e
add esp, 0xa50
ret
call fcn.005f4635
int3