Function at 0x417700
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x639101
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0xa40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
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 0x417c5d
lea ebx, [ebx]
cmp ebp, edi
jl 0x417c85
cmp ebp, dword [esi + 0x28]
jge 0x417c85
mov eax, dword [esi + 0x24]
lea ebx, [ebp*4]
add eax, ebx
mov eax, dword [eax]
cmp dword [eax + 0x1c], edi
jle 0x417c53
cmp ebp, dword [esi + 0x28]
jge 0x417c85
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
cmp dword [eax + 8], edi
jle 0x417c85
mov eax, dword [eax + 4]
mov eax, dword [eax]
push pe_nt_image_headers32
lea ecx, [esp + 0x658]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x460]
push edx
push pe_nt_image_headers32
lea ecx, [esp + 0x868]
push ecx
push 3
lea edx, [esp + 0x468]
push edx
push eax
call fcn.00618767
add esp, 0x24
test eax, eax
jne 0x417c53
mov edx, dword [esi + 0x18]
push edi
lea eax, [esp + 0x24]
push eax
push edi
push 0xf003f
push edi
push 0x66ec78
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 0x41784a
lea ecx, [esp + 0x23c]
call fcn.004b9e60
mov dword [esp + 0xa60], edi
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA_n
lea ecx, [esp + 0x244]
call fcn.004b9fd0
mov dword [esp + 0xa60], 0xffffffff
lea ecx, [esp + 0x23c]
call fcn.004b9fc0
jmp 0x417c53
cmp ebp, dword [esi + 0x28]
jge 0x417c85
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 0x417860
sub eax, edx
cmp ebp, dword [esi + 0x28]
mov ecx, eax
jge 0x417c85
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 0x670078
push eax
call edi
cmp ebp, dword [esi + 0x28]
jge 0x417c85
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 0x670074
push ecx
mov dword [esp + 0x40], edx
call edi
cmp ebp, dword [esi + 0x28]
jge 0x417c85
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 0x417c85
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x417c3b
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0
call fcn.00402500
mov dword [esp + 0xa60], 1
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push 0x66e42c
push eax
call fcn.00402f70
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 0x66e97c
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4179b2
lea ecx, [esp + 0x2c]
call fcn.004b9e60
mov byte [esp + 0xa60], 2
push 1
push str.Cannot_create_regkey_in_CBrIntr:SaveBIA__s2_n
lea ecx, [esp + 0x34]
call fcn.004b9fd0
mov byte [esp + 0xa60], 1
lea ecx, [esp + 0x2c]
call fcn.004b9fc0
jmp 0x417c1b
cmp ebp, dword [esi + 0x28]
jge 0x417c85
mov eax, dword [esi + 0x24]
add eax, ebx
mov eax, dword [eax]
add eax, 0x14
test edi, edi
jl 0x417c85
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 8]
jge 0x417c85
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 0x4179e4
sub eax, edx
sar eax, 1
cmp ebp, dword [esi + 0x28]
jge 0x417c85
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 0x417c85
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 0x6719f8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp ebp, dword [esi + 0x28]
jge 0x417c85
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 0x417c85
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 0x417a60
sub eax, edx
cmp ebp, dword [esi + 0x28]
mov ecx, eax
jge 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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 0x417c85
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.00402570
inc dword [esp + 0x14]
add edi, 0x24
jmp 0x417900
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 0x417750
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.006157d3
add esp, 0xa50
ret
call fcn.005e9bc5
int3