Function at 0x407ba0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b988
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x42400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
push 0x421914
push str.SoftwareITA
push 0x80000002
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x4082c7
cmp dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
setne byte [ebp - 0xe]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x421918
push str.SoftwareITA
push 0x80000002
call esi
cmp dword [ebp - 0x1c], 0
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push 0x421918
push str.SoftwareITA
push 0x80000002
setne byte [ebp - 0xd]
call edi
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407c63
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov ecx, 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x800
or eax, ecx
jge 0x407ca7
push 0x800
lea ecx, [ebp - 0x2c]
call fcn.00406730
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0x42191c
push str.SoftwareITA
push 0x80000002
call esi
push dword [ebx - 8]
push ebx
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [ebx - 8]
jg 0x4082d9
push 0x42191c
push str.SoftwareITA
mov dword [ebx - 0xc], eax
push 0x80000002
mov byte [eax + ebx], 0
call edi
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407d0b
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 1
mov ecx, 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x800
or eax, ecx
jge 0x407d45
push 0x800
lea ecx, [ebp - 0x30]
call fcn.00406730
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x421920
push str.SoftwareITA
push 0x80000002
call esi
push dword [edi - 8]
push edi
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [edi - 8]
jg 0x4082d9
push 0x421920
push str.SoftwareITA
mov dword [edi - 0xc], eax
push 0x80000002
mov byte [eax + edi], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407dad
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
mov ecx, 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x800
or eax, ecx
jge 0x407de7
push 0x800
lea ecx, [ebp - 0x28]
call fcn.00406730
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x421924
push str.SoftwareITA
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
push esi
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [esi - 8]
jg 0x4082d9
push 0x421924
push str.SoftwareITA
mov dword [esi - 0xc], eax
push 0x80000002
mov byte [eax + esi], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407e53
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 3
mov ecx, 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x800
or eax, ecx
jge 0x407e8d
push 0x800
lea ecx, [ebp - 0x24]
call fcn.00406730
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x421928
push str.SoftwareITA
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
push esi
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [esi - 8]
jg 0x4082d9
push 0x421928
push str.SoftwareITA
mov dword [esi - 0xc], eax
push 0x80000002
mov byte [eax + esi], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407ef9
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 4
mov ecx, 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x800
or eax, ecx
jge 0x407f33
push 0x800
lea ecx, [ebp - 0x20]
call fcn.00406730
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x42192c
push str.SoftwareITA
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
push esi
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [esi - 8]
jg 0x4082d9
push 0x42192c
push str.SoftwareITA
mov dword [esi - 0xc], eax
push 0x80000002
mov byte [eax + esi], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
call fcn.00402380
mov ecx, eax
test ecx, ecx
jne 0x407f9f
push 0x80004005
call fcn.00402030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 5
mov ecx, 1
mov dword [ebp - 0x14], 0x800
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x800
or eax, ecx
jge 0x407fd9
push 0x800
lea ecx, [ebp - 0x34]
call fcn.00406730
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x421930
push str.SoftwareITA
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
push esi
call fcn.0040d5a2
add esp, 8
test eax, eax
js 0x4082d9
cmp eax, dword [esi - 8]
jg 0x4082d9
push 0x421930
push str.SoftwareITA
mov dword [esi - 0xc], eax
push 0x80000002
mov byte [eax + esi], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x40], esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x408050
mov eax, dword [edx]
jmp 0x408052
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x40805e
xor ecx, ecx
jmp 0x408070
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408066
sub ecx, dword [ebp - 0x38]
push ecx
push esi
mov ecx, edx
call fcn.00401a20
sub esp, 0x18
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x3c], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40809e
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0
jne 0x4080ad
xor edx, edx
jmp 0x4080bf
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x38], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4080b5
sub edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
push edx
push eax
call fcn.00401a20
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x38], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4080ee
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x4080fd
xor edx, edx
jmp 0x40810f
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x408105
sub edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
push edx
push eax
call fcn.00401a20
sub esp, 0x18
mov byte [ebp - 4], 8
mov eax, esp
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x38], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40813e
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x40814d
xor edx, edx
jmp 0x40815f
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x408155
sub edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
push edx
push eax
call fcn.00401a20
sub esp, 0x18
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x38], esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x40818d
mov eax, dword [edx]
jmp 0x40818f
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x40819b
xor ecx, ecx
jmp 0x4081ad
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4081a3
sub ecx, dword [ebp - 0x3c]
push ecx
push edi
mov ecx, edx
call fcn.00401a20
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4081d7
mov eax, dword [edx]
jmp 0x4081d9
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x4081e5
xor ecx, ecx
jmp 0x4081fa
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4081f0
sub ecx, dword [ebp - 0x3c]
push ecx
push ebx
mov ecx, edx
call fcn.00401a20
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov byte [ebp - 4], 5
call fcn.00407030
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
add esp, 0x94
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408236
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408254
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408272
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408290
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4082ab
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x4082c7
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402030
int3