Function at 0x443940
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
mov byte [ebp - 0xd], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call fcn.004ee4cd
push eax
lea eax, [ebp - 0x1c]
push str.tempo__d
push eax
call fcn.00421610
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push 0x54ffec
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1c]
or ebx, 0xffffffff
test eax, eax
jne 0x443b57
push dword [esi - 0xc]
push esi
push 1
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x4439e8
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], 0
je 0x443b57
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
push str.ProgramFiles_x86_
mov byte [ebp - 4], 1
lea edi, [ebp - 0x14]
call fcn.004204a0
mov ecx, edi
call fcn.0042b0e0
add esp, 4
test al, al
jne 0x443a47
push ecx
mov ecx, esp
push str.ProgramFiles
call fcn.004204a0
mov ecx, edi
call fcn.0042b0e0
add esp, 4
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x443b3a
lea ecx, [eax - 1]
test ecx, ecx
js 0x443b8a
cmp ecx, eax
jg 0x443b8a
cmp word [edi + ecx*2], 0x5c
je 0x443a7e
push 1
push 0x54e17c
lea ecx, [ebp - 0x14]
call fcn.00428940
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00428940
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00425e30
mov edi, dword [ebp - 0x14]
add esp, 4
test al, al
jne 0x443abe
mov byte [ebp - 0xd], 0
jmp 0x443b1a
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push ecx
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
mov byte [ebp - 0xe], 0
mov ebx, esp
call fcn.00420750
mov cl, byte [ebp - 0xe]
add eax, 0x10
lea edx, [ebp - 0x20]
mov dword [ebx], eax
call fcn.00425940
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x443b1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x443b3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x443b57
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x443b75
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
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.0041fba0
int3