Function at 0x4050e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bd30
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x453144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00419520
add esp, 8
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40514a
cmp ecx, dword [esi - 0x10]
jne 0x40514a
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x405177
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x405435
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
lea ecx, [ebp - 0x4c]
mov dword [ebx], eax
call fcn.00401b20
push ecx
mov byte [ebp - 4], 1
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x3c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x4051b1
cmp ecx, dword [esi - 0x10]
jne 0x4051b1
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x4051de
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40543a
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00409020
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x405210
cmp ecx, dword [esi - 0x10]
jne 0x405210
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40523d
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40543f
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.004096d0
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x4c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40526f
cmp ecx, dword [esi - 0x10]
jne 0x40526f
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40529c
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x405444
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00409910
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x4052ce
cmp ecx, dword [esi - 0x10]
jne 0x4052ce
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x4052fb
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x405449
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00409ba0
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40532d
cmp ecx, dword [esi - 0x10]
jne 0x40532d
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40535a
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40544e
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.0040a090
mov esi, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40538a
cmp ecx, dword [esi - 0x10]
jne 0x40538a
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x4053b7
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x405453
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea esi, [edi + 0x10]
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4053e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040a550
lea ecx, [ebp - 0x4c]
call fcn.0040ac90
lea ecx, [ebp - 0x4c]
call fcn.00401e50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x405414
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415060
mov esp, ebp
pop ebp
ret
call fcn.00403150
call fcn.00403150
call fcn.00403150
call fcn.00403150
call fcn.00403150
call fcn.00403150
call fcn.00403150
int3