Function at 0x425f50
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x459310
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
call fcn.004316f5
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.004027b0
mov dword [esp + 0x34], 0
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425faf
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
mov byte [esp + 0x40], 1
call fcn.004015c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00410300
add esp, 8
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426007
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x40], ebp
mov byte [esp + 0x34], 2
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426036
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x34], 3
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426065
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 4
call fcn.004048c0
cmp eax, 2
je 0x42661f
cmp eax, 3
je 0x42661f
mov ebp, dword [esp + 0x3c]
push ebp
lea ecx, [esp + 0x40]
call fcn.004027b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x34], 0xb
jle 0x4263ee
push 0x5c
push ecx
call fcn.00442df6
add esp, 8
test eax, eax
je 0x4263ee
sub eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4263ee
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4260ed
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [ecx - 0xc]
push str.NONE
push edx
mov byte [esp + 0x3c], 0xc
call fcn.00440d82
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
test eax, eax
je 0x426261
push str._FAX
lea eax, [edi + 0xe4]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401f00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0xd
call fcn.00402020
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0xc
call fcn.00401660
lea edx, [ebp - 1]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.004072d0
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x40], 0xe
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0xf
call fcn.00402020
lea ecx, [esp + 0x24]
call fcn.00401660
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0xc
call fcn.00401660
push 0x5c
lea ecx, [esp + 0x44]
call fcn.00401410
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00407350
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0x10
call fcn.00402020
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0xc
call fcn.00401660
mov esi, dword [esp + 0x40]
push esi
push 0x80000001
call fcn.0040ce00
add esp, 8
push esi
push 0x80000001
call ebx
mov esi, dword [esp + 0x44]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x42621f
push esi
push 0x80000001
call ebx
mov esi, dword [esp + 0x14]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426261
push esi
push 0x80000001
call ebx
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426261
push str.SOFTWARECANON_
push 0x80000001
call ebx
add edi, 0xe4
push edi
lea ecx, [esp + 0x18]
call fcn.00402020
add ebp, 0xffffffff
push ebp
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x44]
call fcn.004072d0
push eax
lea edx, [esp + 0x2c]
push edi
push edx
mov byte [esp + 0x40], 0x11
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0x12
call fcn.00402020
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4262cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4262f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x40]
push 0x5c
push ebp
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x426308
or eax, 0xffffffff
jmp 0x42630a
sub eax, ebp
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00407350
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0x13
call fcn.00402020
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42634d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
push 0x80000001
call fcn.0040ce00
add esp, 8
push ebp
push 0x80000001
call ebx
mov edi, dword [esp + 0x44]
push edi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426382
push edi
push 0x80000001
call ebx
mov esi, dword [esp + 0x14]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4263c4
push esi
push 0x80000001
call ebx
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4263c4
push str.SOFTWARECANON_
push 0x80000001
call ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x34], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4265f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4265f1
mov ecx, dword [esp + 0x1c]
push str.NONE
push ecx
call fcn.00440d82
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
test eax, eax
je 0x426508
push str._FAX
lea edx, [edi + 0xe4]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00401f00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x14
call fcn.00402020
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], 0xb
call fcn.00401660
push ebp
lea ecx, [esp + 0x28]
call fcn.004027b0
mov esi, eax
push 0x45c6ec
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x40], 0x15
call fcn.00401f00
push esi
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x4c], 0x16
call fcn.0040ef70
add esp, 0x18
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0x17
call fcn.00402020
lea ecx, [esp + 0x44]
call fcn.00401660
lea ecx, [esp + 0x28]
call fcn.00401660
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0xb
call fcn.00401660
mov esi, dword [esp + 0x40]
push esi
push 0x80000001
call fcn.0040ce00
add esp, 8
push esi
push 0x80000001
call ebx
mov esi, dword [esp + 0x14]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426508
push esi
push 0x80000001
call ebx
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426508
push str.SOFTWARECANON_
push 0x80000001
call ebx
lea ecx, [edi + 0xe4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402020
push ebp
lea ecx, [esp + 0x2c]
call fcn.004027b0
push eax
add edi, 0xe0
lea edx, [esp + 0x48]
push edi
push edx
mov byte [esp + 0x40], 0x18
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0x19
call fcn.00402020
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426570
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x40]
push ebp
push 0x80000001
call fcn.0040ce00
add esp, 8
push ebp
push 0x80000001
call ebx
mov esi, dword [esp + 0x14]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4265f1
push esi
push 0x80000001
call ebx
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4265f1
push str.SOFTWARECANON_
push 0x80000001
call ebx
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x426a77
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x426645
push 0x45d77c
push ecx
call fcn.00442d29
add esp, 8
test eax, eax
je 0x426645
sub eax, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x426661
mov eax, dword [edi + 0xb8]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.00413470
add esp, 8
test eax, eax
jl 0x426a77
mov edx, dword [esp + 0x1c]
push str.NONE
push edx
call fcn.00440d82
add esp, 8
test eax, eax
mov eax, dword [esp + 0x3c]
push eax
jne 0x426769
lea ecx, [esp + 0x48]
call fcn.004027b0
push eax
lea ecx, [edi + 0xe0]
push ecx
lea edx, [esp + 0x44]
mov bl, 5
push edx
mov byte [esp + 0x40], bl
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 6
call fcn.00402020
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4266d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4266fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0xe4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402020
add edi, 0xec
push edi
lea ecx, [esp + 0x1c]
call fcn.00402020
mov ebp, dword [esp + 0x40]
push ebp
push 0x80000002
call fcn.0040ce00
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
push ebp
push 0x80000002
call edi
mov esi, dword [esp + 0x14]
push esi
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426a23
push esi
push 0x80000002
call edi
mov edx, dword [esp + 0x18]
push edx
jmp 0x4269f9
lea ecx, [esp + 0x2c]
call fcn.004027b0
mov esi, eax
push str._FAX_
lea ebp, [edi + 0xe4]
lea ecx, [esp + 0x48]
push ebp
push ecx
mov byte [esp + 0x40], 7
call fcn.00401f00
push esi
push eax
lea edx, [esp + 0x50]
mov bl, 8
push edx
mov byte [esp + 0x4c], bl
call fcn.0040ef70
add esp, 0x18
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 9
call fcn.00402020
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x34], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._FAX
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.00401f00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0xa
call fcn.00402020
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x34], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xec
push edi
lea ecx, [esp + 0x1c]
call fcn.00402020
mov ebp, dword [esp + 0x40]
push ebp
push 0x80000002
call fcn.0040ce00
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
push ebp
push 0x80000002
call edi
mov esi, dword [esp + 0x14]
push esi
push 0x80000002
call fcn.0040cf30
mov ebx, dword [esp + 0x20]
add esp, 8
cmp eax, 1
jne 0x4268e6
push esi
push 0x80000002
call edi
push ebx
push 0x80000002
call edi
push str.SOFTWARECANON_
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4268e6
push str.SOFTWARECANON_
push 0x80000002
call edi
push ebp
push 0x80000001
call fcn.0040ce00
add esp, 8
push ebp
push 0x80000001
call edi
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x42693a
push esi
push 0x80000001
call edi
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x42693a
push str.SOFTWARECANON_
push 0x80000001
call edi
cmp dword [ebp - 0xc], 0
jl 0x426969
push str._FAX
push ebp
call fcn.00442d29
add esp, 8
test eax, eax
je 0x426969
sub eax, ebp
cmp eax, 0xffffffff
je 0x426969
push 4
push eax
lea ecx, [esp + 0x48]
call fcn.0040ec40
mov ebp, dword [esp + 0x40]
cmp dword [esi - 0xc], 0
jl 0x426998
push str._FAX
push esi
call fcn.00442d29
add esp, 8
test eax, eax
je 0x426998
sub eax, esi
cmp eax, 0xffffffff
je 0x426998
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ec40
mov esi, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
jl 0x4269c7
push str._FAX
push ebx
call fcn.00442d29
add esp, 8
test eax, eax
je 0x4269c7
sub eax, ebx
cmp eax, 0xffffffff
je 0x4269c7
push 4
push eax
lea ecx, [esp + 0x20]
call fcn.0040ec40
mov ebx, dword [esp + 0x18]
push ebp
push 0x80000002
call fcn.0040ce00
add esp, 8
push ebp
push 0x80000002
call edi
push esi
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426a23
push esi
push 0x80000002
call edi
push ebx
push 0x80000002
call edi
push str.SOFTWARECANON_
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426a23
push str.SOFTWARECANON_
push 0x80000002
call edi
push ebp
push 0x80000001
call fcn.0040ce00
add esp, 8
push ebp
push 0x80000001
call edi
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426a77
push esi
push 0x80000001
call edi
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x426a77
push str.SOFTWARECANON_
push 0x80000001
call edi
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.004015c0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040fc70
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x34], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x34], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ae1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0xfffffff0
mov byte [esp + 0x34], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426b03
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc