Function at 0x426840
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584448
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
push str.Tool_DeleteRegKeyICA
push edi
lea ecx, [ebp - 0x30]
call fcn.0044ca70
add esp, 0xc
push str.ICA_3.0
push esi
push str.pRegRoot___s__pSubKey___s
lea eax, [ebp - 0x30]
push 1
push eax
mov dword [ebp - 4], edi
call fcn.0044cd10
add esp, 0x14
call fcn.0046d2d8
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], edi
mov edi, 1
push 0x5b7dd8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.00403340
push 0x5b7dd8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403340
push 0x5b7dd8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403340
push str.ICA_3.0
push esi
lea ecx, [ebp - 0x28]
push 0x5b7940
push ecx
mov byte [ebp - 4], 3
call fcn.0040a740
mov eax, dword [ebp - 0x28]
add esp, 0x10
lea edx, [ebp - 0x18]
push edx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426ad7
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ebp - 0x18]
push str.VirtualDriverEx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426a9f
mov esi, dword [ebp - 0x1c]
test esi, esi
jns 0x426952
push 0x80070057
call fcn.004025a0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x426972
push esi
lea ecx, [ebp - 0x14]
call fcn.00403a70
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push ecx
push edx
lea edx, [ebp - 0x20]
push edx
push 0
push str.VirtualDriverEx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426a9f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00558a2b
add esp, 8
test eax, eax
js 0x426948
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x426948
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push 0x5b69a4
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x664]
push eax
lea ecx, [ebp - 0x24]
push str.Canon__s
push ecx
call fcn.0040a740
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
add esp, 0xc
push edx
push eax
call fcn.00556fbe
add esp, 8
test eax, eax
je 0x426a77
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426d20
mov eax, dword [ebp - 0x10]
add esp, 4
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426a10
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.00403550
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push edx
push 0
push str.VirtualDriverEx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
jne 0x426aab
call fcn.00558a2b
add esp, 8
test eax, eax
js 0x426948
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x426948
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edi, 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426aea
call fcn.00558a2b
add esp, 8
test eax, eax
js 0x426948
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x426948
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
xor edi, edi
jmp 0x426a7c
cmp eax, 2
je 0x426ae5
cmp eax, 3
je 0x426ae5
xor edi, edi
jmp 0x426aea
mov edi, 1
push edi
push str.return___08x
lea edx, [ebp - 0x30]
push 2
push edx
call fcn.0044cd10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret