Function at 0x415170
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x457b30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
call fcn.004316f5
mov ebx, dword [eax + 4]
mov dword [esp + 0x30], ebx
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4151bd
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 + 0x24], eax
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.004027b0
mov edx, dword [esp + 0x1c]
mov edi, dword [edx - 0xc]
mov byte [esp + 0x3c], 1
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415209
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 + 0x3c], 2
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415238
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 + 0x14], eax
mov byte [esp + 0x3c], 3
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415267
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 + 0x20], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov byte [esp + 0x48], 4
call fcn.004015c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00410300
mov edx, dword [esp + 0x2c]
push str.NONE
push edx
call fcn.00440d82
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x10
test eax, eax
je 0x415466
push str._FAX
add ebx, 0xe4
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00401f00
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.00402020
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41530f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi - 1]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
call fcn.004072d0
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov bl, 6
push ecx
mov byte [esp + 0x48], bl
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 7
call fcn.00402020
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41536d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x4153aa
or eax, 0xffffffff
jmp 0x4153ac
sub eax, esi
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407350
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 8
call fcn.00402020
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4153ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push 0x80000001
call fcn.0040ce00
add esp, 8
push esi
push 0x80000001
call ebp
mov esi, dword [esp + 0x20]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x415424
push esi
push 0x80000001
call ebp
mov esi, dword [esp + 0x18]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x415466
push esi
push 0x80000001
call ebp
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x415466
push str.SOFTWARECANON_
push 0x80000001
call ebp
mov esi, dword [esp + 0x30]
add esi, 0xe4
push esi
lea ecx, [esp + 0x1c]
call fcn.00402020
add edi, 0xffffffff
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.004072d0
push eax
lea edx, [esp + 0x34]
push esi
mov bl, 9
push edx
mov byte [esp + 0x48], bl
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0xa
call fcn.00402020
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
push 0x5c
push ebx
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x415511
or eax, 0xffffffff
jmp 0x415513
sub eax, ebx
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407350
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0xb
call fcn.00402020
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push 0x80000001
call fcn.0040ce00
add esp, 8
push ebx
push 0x80000001
call ebp
mov edi, dword [esp + 0x20]
push edi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41558b
push edi
push 0x80000001
call ebp
mov esi, dword [esp + 0x18]
push esi
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4155cd
push esi
push 0x80000001
call ebp
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x4155cd
push str.SOFTWARECANON_
push 0x80000001
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41560f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415655
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 dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41567d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret