Function at 0x40c250
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a987
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.00427d40
mov eax, dword [0x43b1b0]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x43b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2280], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov edi, ecx
mov dword [esp + 0x54], edx
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jge 0x40c2e2
mov dword [esp + 0x2280], 0xffffffff
jmp 0x40c9e9
cmp word [esi], 0x7d
je 0x40c9c9
lea esp, [esp]
push str.Delete
push esi
mov dword [esp + 0x28], 1
call dword [0x42d0f4]
neg eax
sbb edi, edi
push str.ForceRemove
inc edi
push esi
mov dword [esp + 0x2c], edi
call dword [0x42d0f4]
test eax, eax
je 0x40c325
cmp edi, ebx
je 0x40c464
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
cmp dword [ebp + 0x10], ebx
je 0x40c464
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2280], 1
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x40c380
cmp cx, 0x5c
je 0x40c378
push eax
call dword [0x42d52c]
movzx ecx, word [eax]
cmp cx, bx
jne 0x40c361
jmp 0x40c380
cmp eax, ebx
jne 0x40c97a
mov edi, 0x42e534
mov eax, dword [edi]
push eax
push esi
call dword [0x42d0f4]
test eax, eax
je 0x40c3c4
add edi, 4
cmp edi, 0x42e564
jl 0x40c385
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0040bd40
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x24], ebx
je 0x40c459
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9a5
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.0040bbc0
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x40c9b7
mov byte [esp + 0x2280], al
mov dword [esp + 0x30], eax
xor ebx, ebx
cmp word [esi], 0x7b
jne 0x40c893
push esi
call dword [0x42d0d4]
cmp eax, 1
jne 0x40c893
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0040c250
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
jmp 0x40c893
mov byte [esp + 0x2280], bl
mov dword [esp + 0x30], ebx
push str.NoRemove
push esi
call dword [0x42d0f4]
test eax, eax
jne 0x40c48d
mov edi, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x20], ebx
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
push 0x42e114
push esi
call dword [0x42d0f4]
test eax, eax
jne 0x40c5d3
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
cmp word [esi], 0x3d
jne 0x40c98a
cmp dword [ebp + 0x10], ebx
je 0x40c541
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x2280], 2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], edx
push ecx
mov edx, esi
lea ecx, [esp + 0x274]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0040b650
mov edi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp edi, ebx
jl 0x40ca13
mov byte [esp + 0x2280], bl
mov dword [esp + 0x4c], ebx
jmp 0x40c407
cmp dword [ebp + 0x14], ebx
jne 0x40c5b7
cmp dword [esp + 0x20], ebx
je 0x40c5b7
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x2280], 3
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x58]
push edx
mov edx, 0x20006
xor eax, eax
call fcn.0040bcd0
cmp eax, ebx
jne 0x40ca3b
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [0x42d004]
cmp eax, ebx
je 0x40c59d
cmp eax, 2
jne 0x40ca3b
mov byte [esp + 0x2280], bl
cmp edi, ebx
je 0x40c5b3
push edi
call dword [0x42d01c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.0040bbc0
mov edi, eax
xor ebx, ebx
test edi, edi
js 0x40c9c9
jmp 0x40c893
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x40c5ff
lea ecx, [ecx]
cmp cx, 0x5c
je 0x40c5f7
push eax
call dword [0x42d52c]
movzx ecx, word [eax]
cmp cx, bx
jne 0x40c5e0
jmp 0x40c5ff
cmp eax, ebx
jne 0x40c98a
cmp dword [ebp + 0x10], ebx
je 0x40c741
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x1c], ebx
je 0x40c632
mov ecx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push ecx
lea edi, [esp + 0x28]
mov ebx, 0x2001f
call fcn.0040bc60
mov esi, dword [esp + 0x38]
xor ebx, ebx
jmp 0x40c649
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [section..rdata]
cmp eax, ebx
jne 0x40c67a
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x40c662
push ecx
call dword [0x42d01c]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x40c700
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x1c], ebx
je 0x40c6a4
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push edx
lea edi, [esp + 0x28]
mov ebx, 0x20019
call fcn.0040bc60
mov esi, dword [esp + 0x38]
xor ebx, ebx
jmp 0x40c6bb
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [section..rdata]
cmp eax, ebx
jne 0x40c6e8
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x40c6d4
push ecx
call dword [0x42d01c]
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x40c700
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.0040b3f0
cmp eax, ebx
jne 0x40ca57
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
cmp word [esi], 0x3d
jne 0x40c407
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, esi
xor ecx, ecx
call fcn.0040b650
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
jmp 0x40c407
cmp dword [ebp + 0x14], ebx
jne 0x40c7f0
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x1c], ebx
je 0x40c774
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push eax
lea edi, [esp + 0x2c]
mov ebx, 0x20019
call fcn.0040bc60
mov esi, dword [esp + 0x38]
xor ebx, ebx
jmp 0x40c78b
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push ebx
push esi
push edx
call dword [section..rdata]
cmp eax, ebx
jne 0x40c7b4
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x40c7a4
push ecx
call dword [0x42d01c]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x40c7c3
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x6c]
push 0x104
push edx
call dword [0x42d2cc]
add esp, 0x10
cmp eax, 0x50
ja case.0x40c7e9.1
movzx eax, byte [eax + 0x40cab4]
jmp dword [eax*4 + 0x40caa4]
mov dword [esp + 0x24], 2
jmp 0x40c7bc
mov edi, dword [esp + 0x10]
mov eax, esi
call fcn.0040c0a0
mov edi, eax
cmp edi, ebx
jl 0x40c9c9
mov ecx, dword [esp + 0x10]
mov ebx, esi
call fcn.0040bbc0
mov edi, eax
test edi, edi
js 0x40c9c7
cmp word [esi], 0x7b
jne 0x40c870
push esi
call dword [0x42d0d4]
cmp eax, 1
jne 0x40c870
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push ecx
push 0
push edx
push esi
mov ecx, ebx
call fcn.0040c250
mov edi, eax
test edi, edi
jns 0x40c85d
cmp dword [ebp + 0x14], 0
je 0x40c9c7
mov eax, esi
mov edi, ebx
call fcn.0040c0a0
mov edi, eax
test edi, edi
js 0x40c9c7
cmp dword [esp + 0x24], 2
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
je 0x40c891
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40c8a2
cmp dword [esp + 0x54], 0
je 0x40ca74
xor ebx, ebx
cmp word [esi], 0x7d
jne 0x40c2f0
jmp 0x40c9c9
cmp dword [esp + 0x54], 0
mov ebx, dword [esp + 0x14]
je 0x40c8da
mov ecx, ebx
call fcn.0040bf40
test eax, eax
je 0x40c8da
lea ebx, [esp + 0x64]
call fcn.0040bc20
test eax, eax
je 0x40c891
cmp dword [esp + 0x20], 0
je 0x40c891
mov ecx, ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.0040bd40
jmp 0x40c891
mov ecx, ebx
call fcn.0040bf40
mov dword [esp + 0x24], eax
xor eax, eax
test ebx, ebx
je 0x40c8fa
push ebx
call dword [0x42d01c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test eax, eax
jne 0x40ca57
cmp dword [esp + 0x20], eax
je 0x40c891
cmp dword [esp + 0x24], eax
jne 0x40c891
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x2280], 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea ebx, [esp + 0x64]
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edx
call fcn.0040bfb0
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp eax, ebx
jne 0x40ca80
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x3c]
call fcn.0040bf90
mov esi, dword [esp + 0x38]
jmp 0x40c891
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x2c]
call fcn.0040bf90
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x14]
call fcn.0040bf90
mov eax, 0x80020009
jmp 0x40c9ed
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x2c]
call fcn.0040bf90
jmp 0x40c9c9
mov byte [esp + 0x2280], al
lea esi, [esp + 0x2c]
call fcn.0040bf90
xor ebx, ebx
mov dword [esp + 0x2280], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40c9e7
push eax
call dword [0x42d01c]
mov dword [esp + 0x14], ebx
mov eax, edi
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.0042728e
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x48]
call fcn.0040bf90
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x14]
call fcn.0040bf90
mov eax, edi
jmp 0x40c9ed
call fcn.0040c060
mov edi, eax
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x58]
call fcn.0040bf90
jmp 0x40c9c9
call fcn.0040c060
mov edi, eax
jmp 0x40ca23
push 0x8007000e
call fcn.0040d820
push 0x80070057
call fcn.0040d820
call fcn.0040c060
mov edi, eax
jmp 0x40c9c7
call fcn.0040c060
mov edi, eax
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x3c]
jmp 0x40c9c2
push 0x80004005
call fcn.0040d820
lea ecx, [ecx]
cli
mov dword [eax], case.0x40c7e9.12
push 0xffffffffffffffca
inc eax
add byte [edi + 0x40ca], dl
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3