Function at 0x4193e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dfb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [ecx + 0x2c]
mov esi, str.name
mov edi, ebx
mov dword [ebp - 0x14], ebx
call fcn.00414d90
test eax, eax
je 0x4197ad
mov esi, dword [eax + 0x18]
add esi, 8
je 0x4197ad
push str.dcur
push esi
call fcn.0042aaa1
add esp, 8
test eax, eax
jne 0x419578
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, str.subkey
mov byte [ebp - 4], 1
call fcn.00414d90
test eax, eax
je 0x4194cc
mov eax, dword [eax + 0x18]
add eax, 8
je 0x4194cc
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00404a80
add esp, 4
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004033b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4194cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, str.keyname
mov edi, ebx
call fcn.00414d90
xor esi, esi
cmp eax, esi
je 0x419523
mov ecx, dword [eax + 0x18]
add ecx, 8
cmp ecx, esi
je 0x419523
lea edx, [ebp - 0x18]
push edx
call fcn.00404a80
add esp, 4
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004033b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], esi
je 0x41956c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], esi
je 0x41956c
push 0x80000001
lea edx, [ebp - 0x28]
push edx
mov eax, 0x20006
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.004044b0
mov esi, dword [ebp - 0x28]
test eax, eax
jne 0x419561
mov eax, dword [ebp - 0x10]
push eax
push esi
call dword [0x430030]
test esi, esi
je 0x41956c
push esi
call dword [0x430040]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
jmp 0x41976e
push str.cdir
push esi
call fcn.0042aaa1
add esp, 8
test eax, eax
jne 0x419680
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 4
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x14]
mov esi, str.file
call fcn.00414d90
test eax, eax
je 0x419652
mov ecx, dword [eax + 0x18]
add ecx, 8
je 0x419652
cmp byte [ecx], 0
je 0x419652
lea edx, [ebp - 0x18]
push edx
call fcn.00404a80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x419618
mov eax, edi
lea ecx, [ebp - 0x10]
call fcn.00403ef0
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 8], edi
jge 0x419627
push 0x80070057
call fcn.00401560
xor eax, eax
mov dword [ebx - 0xc], edi
push edi
mov word [ebx + 0x208], ax
mov eax, dword [esi]
push ebx
push eax
call dword [0x4300a8]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401540
lea esi, [ebp - 0x10]
call fcn.00403970
cmp dword [ebx - 0xc], 0
je 0x419674
push 0x80
push ebx
call dword [0x430118]
push ebx
call dword [0x43011c]
push 0
push ebx
call dword [0x4300d8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
jmp 0x41976e
push str.rdir
push esi
call fcn.0042aaa1
add esp, 8
test eax, eax
jne 0x4197ad
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 7
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x14]
mov esi, str.file
call fcn.00414d90
test eax, eax
je 0x41975a
mov ecx, dword [eax + 0x18]
add ecx, 8
je 0x41975a
cmp byte [ecx], 0
je 0x41975a
lea edx, [ebp - 0x1c]
push edx
call fcn.00404a80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x419720
mov eax, edi
lea ecx, [ebp - 0x10]
call fcn.00403ef0
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 8], edi
jge 0x41972f
push 0x80070057
call fcn.00401560
xor eax, eax
mov dword [ebx - 0xc], edi
push edi
mov word [ebx + 0x208], ax
mov eax, dword [esi]
push ebx
push eax
call dword [0x4300a8]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401540
lea esi, [ebp - 0x10]
call fcn.00403970
cmp dword [ebx - 0xc], 0
je 0x419767
push ebx
call dword [0x4300dc]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41978a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4197ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret