Function at 0x40d9d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7052
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1c834
call fcn.004aa8c0
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c80c], eax
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x1c844]
mov dword [ebp - 0x1c834], eax
call fcn.00444480
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c830], 0
mov dword [ebp - 0x1c82c], 0
mov dword [ebp - 0x1c828], 0
mov byte [ebp - 4], 1
call fcn.004188c0
test al, al
jne 0x40dacb
xor eax, eax
push 0x1c5c0
push eax
mov word [ebp - 0x1c5d8], ax
lea eax, [ebp - 0x1c5d6]
push eax
call fcn.004a9c90
add esp, 0xc
xor edi, edi
xor esi, esi
lea esp, [esp]
xor edx, edx
test edi, edi
je 0x40daaa
test edx, edx
je 0x40daaa
lea eax, [esi + edx]
lea ecx, [ebp - 0x1c5d8]
lea ecx, [ecx + eax*2]
lea eax, [esi + edx]
mov ax, word [ebp + eax*2 - 0x1c7ba]
inc ax
add ax, word [ecx - 2]
mov word [ecx], ax
inc edx
cmp edx, 0xf1
jl 0x40da82
add esi, 0xf1
inc edi
cmp esi, 0xe2e1
jl 0x40da80
movsx eax, word [ebp - 0x18]
mov dword [0x526340], eax
push str.success
lea ecx, [ebp - 0x1c820]
call fcn.00444440
lea eax, [ebp - 0x1c820]
push eax
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 2
call fcn.00444920
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 1
call fcn.00444690
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c824], edi
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c800], esi
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c808], ebx
push str.success
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 6
call fcn.00444440
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 7
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 6
call fcn.00444690
mov ecx, dword [ebp - 0x1c80c]
push str.hive
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x1c7f8]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 8
mov dword [ebp - 0x1c804], ecx
cmp eax, ecx
je 0x40dcb4
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c810], eax
jl 0x40dc9f
mov eax, dword [edx - 0x10]
lea edi, [edx - 0x10]
mov dword [ebp - 0x1c7f4], eax
cmp eax, dword [ecx]
jne 0x40dc9f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c7f4]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40dc2b
cmp ecx, dword [edi]
jne 0x40dc2b
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40dc74
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x1c7f4], edx
test edx, edx
jne 0x40dc45
call fcn.00409970
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a98f5
mov edi, dword [ebp - 0x1c7f4]
add esp, 0x10
mov ecx, dword [ebp - 0x1c810]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40dc94
mov edx, dword [ebp - 0x1c804]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x10
mov dword [ebp - 0x1c824], edi
jmp 0x40dcb4
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c824]
push edx
call fcn.00409670
mov edi, dword [ebp - 0x1c824]
mov edx, dword [ebp - 0x1c7f8]
add edx, 0xfffffff0
or ecx, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dcd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x1c804], esp
mov eax, dword [ecx]
mov dword [ebp - 0x1c810], edi
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40dd09
cmp ecx, dword [edi]
jne 0x40dd09
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40dd52
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x1c7f8], edx
test edx, edx
jne 0x40dd23
call fcn.00409970
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a98f5
mov edi, dword [ebp - 0x1c7f8]
add esp, 0x10
mov ecx, dword [ebp - 0x1c804]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.00416540
add esp, 4
mov dword [ebp - 0x1c7f4], eax
test eax, eax
jne 0x40de89
lea eax, [ebp - 0x1c824]
push eax
lea eax, [ebp - 0x1c7f4]
push str.deleteRegElement_hive_error_
push eax
call fcn.0040b7a0
add esp, 0xc
lea eax, [ebp - 0x1c7f4]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
mov byte [ebp - 4], 9
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0xa
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 0xb
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0xa
call fcn.00444690
cmp dword [ebp - 0x1c7b8], 0x10
jb 0x40de00
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x1c7f4]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40de26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40de43
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40de60
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40de80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e999
mov ecx, dword [ebp - 0x1c80c]
push 0x4e0098
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x1c7f0]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea eax, [esi - 0x10]
lea edi, [edx - 0x10]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1c804], eax
cmp edi, eax
je 0x40df8a
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x1c7f8], ecx
jl 0x40df75
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x40df75
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40df0b
cmp ecx, dword [edi]
jne 0x40df0b
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40df48
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x40df1f
call fcn.00409970
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
mov ecx, dword [ebp - 0x1c7f8]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40df6a
mov edx, dword [ebp - 0x1c804]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 0x1c800], esi
jmp 0x40df8d
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c800]
push edx
call fcn.00409670
mov esi, dword [ebp - 0x1c800]
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dfb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c80c]
push 0x4e0150
call fcn.00445a20
test al, al
je 0x40e093
mov ecx, dword [ebp - 0x1c80c]
push 0x4e0150
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x1c804]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1c7f0], eax
mov dword [ebp - 0x1c7f8], ecx
cmp eax, ecx
je 0x40e070
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x40e05b
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40e05b
push dword [ebp - 0x1c7f0]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x1c7f0], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40e050
mov edx, dword [ebp - 0x1c7f8]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c7f0]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c808], ebx
jmp 0x40e070
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c808]
push edx
call fcn.00409670
mov ebx, dword [ebp - 0x1c808]
mov edx, dword [ebp - 0x1c804]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e093
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf023f
push esi
push dword [ebp - 0x1c7f4]
lea ecx, [ebp - 0x1c830]
mov byte [ebp - 0x1c7f9], 0
call fcn.0040bf00
test eax, eax
je 0x40e21f
push 0xf013f
push esi
push dword [ebp - 0x1c7f4]
lea ecx, [ebp - 0x1c830]
mov byte [ebp - 0x1c7f9], 1
call fcn.0040bf00
test eax, eax
je 0x40e21f
push eax
lea eax, [ebp - 0x1c7f0]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x1c7f4]
push str.deleteRegElement_Open_
push eax
mov byte [ebp - 4], 0xe
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x1c7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e12b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c7f4]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x11
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 0x12
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x11
call fcn.00444690
cmp dword [ebp - 0x1c7b8], 0x10
jb 0x40e199
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x1c7f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e1bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e1d9
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e1f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e97e
cmp dword [ebx - 0xc], 0
jne 0x40e75e
mov eax, dword [ebp - 0x1c830]
test eax, eax
je 0x40e244
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c830], 0
mov ecx, dword [esi - 0xc]
mov dword [ebp - 0x1c82c], 0
lea eax, [ecx - 1]
test eax, eax
js 0x40e26c
cmp eax, ecx
jg 0x40e26c
cmp word [esi + eax*2], 0x5c
jne 0x40e2ad
dec ecx
mov dword [ebp - 0x1c7f0], ecx
jns 0x40e276
push 0x80070057
call fcn.00404410
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x40e29f
push ecx
lea ecx, [ebp - 0x1c800]
call fcn.004085d0
mov esi, dword [ebp - 0x1c800]
mov ecx, dword [ebp - 0x1c7f0]
cmp ecx, dword [esi - 8]
jg 0x40e26c
xor eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], ax
mov eax, dword [esi - 0xc]
push 0x5c
push esi
mov dword [ebp - 0x1c7f0], eax
call fcn.004a9e89
add esp, 8
test eax, eax
jne 0x40e2ca
or eax, 0xffffffff
jmp 0x40e2ce
sub eax, esi
sar eax, 1
mov ecx, dword [ebp - 0x1c7f0]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x1c80c]
push eax
lea ecx, [ebp - 0x1c800]
call fcn.0040c1b0
push 0x5c
push esi
mov byte [ebp - 4], 0x13
call fcn.004a9e89
add esp, 8
test eax, eax
jne 0x40e302
or eax, 0xffffffff
jmp 0x40e306
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x1c804]
push eax
lea ecx, [ebp - 0x1c800]
call fcn.0040bd70
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x1c7f0], eax
mov dword [ebp - 0x1c7f8], ecx
cmp eax, ecx
je 0x40e397
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40e382
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40e382
push dword [ebp - 0x1c7f0]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x1c7f0], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40e377
mov edx, dword [ebp - 0x1c7f8]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c7f0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c800], esi
jmp 0x40e397
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c800]
push edx
call fcn.00409670
mov esi, dword [ebp - 0x1c800]
mov edx, dword [ebp - 0x1c804]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e3ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1c7f9], 0
mov ecx, 0x100
mov eax, 0x200
cmovne eax, ecx
or eax, 0xf003f
push eax
push esi
push dword [ebp - 0x1c7f4]
lea ecx, [ebp - 0x1c830]
call fcn.0040bf00
test eax, eax
je 0x40e555
push eax
lea eax, [ebp - 0x1c7f0]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x1c7f4]
push str.deleteRegElement_Open_sub_
push eax
mov byte [ebp - 4], 0x15
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x1c7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e43a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c7f4]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x18
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 0x19
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x18
call fcn.00444690
cmp dword [ebp - 0x1c7b8], 0x10
jb 0x40e4a8
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x1c7f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e4cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c80c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e4ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e50b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e528
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e97e
push dword [ebp - 0x1c80c]
lea ecx, [ebp - 0x1c830]
call fcn.0040c060
test eax, eax
je 0x40e6d5
push eax
lea eax, [ebp - 0x1c7f0]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x1c7f4]
push str.deleteRegElement_RecurseDeleteKey_
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x1c7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e5ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c7f4]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x1d
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 0x1e
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x1d
call fcn.00444690
cmp dword [ebp - 0x1c7b8], 0x10
jb 0x40e628
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x1c7f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e64b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c80c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e66e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e68b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e6a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e97e
mov edx, dword [ebp - 0x1c80c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e6f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov dword [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e718
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e735
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e97e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40e97e
call fcn.00450de0
test al, al
jne 0x40e76f
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push ebx
push dword [ebp - 0x1c830]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x40e6f8
push eax
lea eax, [ebp - 0x1c7f0]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x1c7f4]
push str.deleteRegElement_DeleteValue_
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x1c7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x21
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e7d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c7f4]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x22
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x1c844]
mov byte [ebp - 4], 0x23
call fcn.00444920
lea ecx, [ebp - 0x1c820]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x1c820]
mov byte [ebp - 4], 0x22
call fcn.00444690
cmp dword [ebp - 0x1c7b8], 0x10
jb 0x40e83e
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x1c7f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e861
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e87e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e89b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c810]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
jmp 0x40e97e
mov eax, dword [ebp - 0x1c830]
test eax, eax
je 0x40e999
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c830], 0
lea ecx, [ebp - 0x1c7ec]
mov dword [ebp - 0x1c82c], 0
call fcn.004465d0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 0x28
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c808], esi
lea eax, [ebp - 0x1c844]
push eax
lea eax, [ebp - 0x1c7cc]
push eax
lea ecx, [ebp - 0x1c7ec]
mov byte [ebp - 4], 0x29
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x2a
jb 0x40e9f3
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x40ea12
xor ecx, ecx
jmp 0x40ea2d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1c7f0], eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ea20
sub ecx, dword [ebp - 0x1c7f0]
push ecx
push edx
mov ecx, ebx
call fcn.00401460
lea eax, [ebp - 0x1c7f8]
push eax
call fcn.004512c0
add esp, 0x1c
mov ecx, dword [eax]
lea ebx, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 0x2b
cmp edx, ebx
je 0x40eaac
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x40ea97
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x40ea97
push edx
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x1c7f0], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40ea8c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c7f0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c808], esi
jmp 0x40eaac
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c808]
call fcn.00409670
mov esi, dword [ebp - 0x1c808]
mov edx, dword [ebp - 0x1c7f8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x2a
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40eacf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c7b8], 0x10
mov byte [ebp - 4], 0x29
jb 0x40eaea
push dword [ebp - 0x1c7cc]
call fcn.004a831e
add esp, 4
mov ecx, dword [0x526340]
mov ebx, 0x12
lea eax, [ecx + 2]
inc ecx
imul eax, ecx
mov ecx, dword [0x526340]
imul eax, ecx
cdq
idiv ebx
cmp edx, 7
jne 0x40eb1e
xor ebx, ebx
mov esi, ecx
inc ebx
dec esi
cmp ebx, 0x77
jb 0x40eb11
mov esi, dword [ebp - 0x1c808]
mov ebx, dword [ebp - 0x1c834]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x40eb3f
call fcn.00409970
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x28
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40eb5d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c7d4], 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c7ec], 0x4dfc5c
jb 0x40eb82
push dword [ebp - 0x1c7e8]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x1c7ec]
mov dword [ebp - 0x1c7d4], 0xf
mov dword [ebp - 0x1c7d8], 0
mov byte [ebp - 0x1c7e8], 0
call fcn.004466d0
mov eax, dword [ebp - 0x1c830]
test eax, eax
je 0x40ebb9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c844]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret