Function at 0x404e40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46154d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47a040]
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
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x4052b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [0x47cf14]
push dword [0x47cf04]
push dword [0x47cef8]
push dword [0x47cf10]
push dword [0x47cf18]
push dword [0x47cf0c]
push str._s__s__s__s__s__s
push eax
call fcn.00405a50
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
add esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x4052b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x46ee54
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00405690
test al, al
jne 0x404f27
push 1
push 0x46ee54
lea ecx, [ebp - 0x14]
call fcn.004058c0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x404f61
mov edx, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404f4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov eax, 0xffffffff
cmp esi, edi
jne 0x404f38
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.00405cd0
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 4
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x4052bd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 5
nop dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404fb0
mov dword [ebp - 0x28], 0xffffffff
jmp 0x404fe4
cmp dword [esi - 0xc], 0
jge 0x404fbf
mov dword [ebp - 0x28], 0xffffffff
jmp 0x404fe4
push eax
push esi
call fcn.00439107
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x404fd8
mov dword [ebp - 0x28], 0xffffffff
jmp 0x404fe4
sub ebx, esi
sar ebx, 1
mov dword [ebp - 0x28], ebx
cmp ebx, 0xffffffff
jne 0x40505e
lea ecx, [esi - 0x10]
lea ebx, [edi - 0x10]
cmp ecx, ebx
je 0x405022
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x40504d
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40504d
call fcn.00405cd0
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40501c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x18]
je 0x40518f
lea ecx, [edi - 0x10]
call fcn.00405cd0
mov ecx, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
add dword [ebp - 0x1c], 4
jmp 0x40519e
push dword [esi - 0xc]
lea ecx, [ebp - 0x30]
push esi
call fcn.004058c0
mov edi, dword [ebp - 0x30]
jmp 0x405022
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406e70
mov byte [ebp - 4], 6
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x28], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x4050cc
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4050bd
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4050bd
mov ecx, dword [ebp - 0x2c]
call fcn.00405cd0
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4050b5
mov edi, dword [ebp - 0x28]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
jmp 0x4050cc
push dword [edx - 0xc]
lea ecx, [ebp - 0x30]
push edx
call fcn.004058c0
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4050eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov eax, dword [esi - 0xc]
add ecx, ebx
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407080
mov byte [ebp - 4], 7
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x28], edx
cmp edx, ecx
je 0x40516a
cmp dword [ecx + 0xc], 0
jl 0x405158
mov esi, dword [ebp - 0x2c]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x405158
mov ecx, edx
call fcn.00405cd0
mov dword [ebp - 0x2c], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405150
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
jmp 0x405167
push dword [eax - 0xc]
lea ecx, [ebp - 0x34]
push eax
call fcn.004058c0
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov dword [ebp - 0x28], ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405022
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405025
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00407b00
test ebx, ebx
jns 0x404fa0
or ebx, 0xffffffff
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4051c4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4051df
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4051fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x405273
nop word [eax + eax]
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x4052b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push dword [edi]
push 0x46ee58
push eax
call fcn.00405a50
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40526b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x38]
jne 0x405210
lea ecx, [ebp - 0x20]
call fcn.00405440
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x405297
mov ecx, dword [edx]
push edx
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004378e6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401920
push 0x80004005
call fcn.00401920
int3