Function at 0x40436e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.0050c890
mov eax, dword [0x58569c]
xor eax, esp
mov dword [esp + 0x2260], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00403aa2
mov esi, eax
cmp esi, edi
jl 0x40477e
cmp word [ebx], 0x7d
je 0x40477c
mov esi, dword [0x52b240]
push str.Delete
push ebx
mov dword [esp + 0x30], 1
call esi
neg eax
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x4043fc
test edi, edi
je 0x4044a8
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4044aa
push 0x5c
mov eax, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00403a56
pop ecx
test eax, eax
jne 0x4048ab
push ebx
call fcn.00403ee9
test eax, eax
je 0x40446a
mov eax, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00403454
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
je 0x4044a2
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.00403f4a
mov esi, eax
test esi, esi
js 0x40476b
and dword [esp + 0x40], 0
jmp 0x404852
mov dword [esp + 0x40], esi
jmp 0x4044aa
xor esi, esi
push str.NoRemove
push ebx
call dword [0x52b240]
test eax, eax
jne 0x4044d5
and dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
xor esi, esi
push 0x543a80
push ebx
call dword [0x52b240]
test eax, eax
jne 0x4045e8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x268]
call fcn.00403aa2
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x40476b
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
cmp esi, edi
jl 0x40476b
cmp word [ebx], 0x3d
jne 0x4048c5
cmp dword [ebp + 0x10], edi
je 0x40456e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
push ebx
lea eax, [esp + 0x26c]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00403bc8
mov esi, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
cmp esi, edi
jl 0x404910
mov dword [esp + 0x4c], edi
jmp 0x404852
cmp dword [ebp + 0x14], edi
jne 0x4045d8
cmp dword [esp + 0x28], edi
je 0x4045d8
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov eax, 0x20006
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.004033fe
cmp eax, edi
jne 0x4048cb
lea eax, [esp + 0x268]
push eax
push dword [esp + 0x30]
call dword [0x52b00c]
cmp eax, edi
je 0x4045c0
cmp eax, 2
jne 0x4048cb
cmp dword [esp + 0x2c], edi
je 0x4045d4
push dword [esp + 0x2c]
call dword [0x52b018]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.00403f4a
jmp 0x404892
push 0x5c
mov eax, ebx
call fcn.00403a56
pop ecx
test eax, eax
jne 0x4048ab
cmp dword [ebp + 0x10], esi
je 0x404687
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x2001f
call fcn.004033fe
test eax, eax
je 0x404649
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x20019
call fcn.004033fe
test eax, eax
je 0x404649
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
call fcn.004033a7
cmp eax, esi
jne 0x4048eb
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
cmp word [ebx], 0x3d
jne 0x404852
mov ecx, dword [esp + 0x10]
push ebx
push 0
lea edx, [esp + 0x1c]
call fcn.00403bc8
mov esi, eax
test esi, esi
js 0x40476b
jmp 0x404852
cmp dword [ebp + 0x14], esi
jne 0x4046a6
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x20019
call fcn.004033fe
mov dword [esp + 0x24], eax
jmp 0x4046ae
mov dword [esp + 0x24], 2
cmp dword [esp + 0x24], esi
je 0x4046bb
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.004fe824
push eax
call fcn.00402c70
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.00403f4a
mov esi, eax
test esi, esi
js 0x40476b
cmp word [ebx], 0x7b
jne 0x40473e
push ebx
call dword [0x52b250]
cmp eax, 1
jne 0x40473e
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x1c]
push ebx
call fcn.0040436e
mov esi, eax
test esi, esi
jns 0x40472d
cmp dword [ebp + 0x14], 0
je 0x40476b
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
cmp dword [esp + 0x24], 2
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
je 0x40489c
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x404795
cmp dword [esp + 0x38], edi
jne 0x40489c
call fcn.00402d02
mov esi, eax
cmp dword [esp + 0x14], 0
je 0x40477c
push dword [esp + 0x14]
call dword [0x52b018]
mov eax, esi
mov ecx, dword [esp + 0x226c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fe191
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x38], edi
je 0x4047d7
push dword [esp + 0x14]
call fcn.00403f15
test eax, eax
je 0x4047d7
lea eax, [esp + 0x60]
push eax
call fcn.00403ee9
test eax, eax
je 0x40489c
cmp dword [esp + 0x28], edi
je 0x40489c
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.00403454
jmp 0x40489c
push dword [esp + 0x14]
call fcn.00403f15
mov dword [esp + 0x24], eax
xor eax, eax
cmp dword [esp + 0x14], edi
je 0x4047fa
push dword [esp + 0x14]
call dword [0x52b018]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
cmp eax, edi
jne 0x404909
cmp dword [esp + 0x28], edi
je 0x40489c
cmp dword [esp + 0x24], edi
jne 0x40489c
mov eax, dword [esp + 0x20]
and dword [esp + 0x58], edi
and dword [esp + 0x5c], edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x58]
call fcn.00403323
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
cmp eax, ecx
jne 0x404764
and dword [esp + 0x58], ecx
cmp dword [ebp + 0x10], 0
je 0x40489c
cmp word [ebx], 0x7b
jne 0x40489c
push ebx
call dword [0x52b250]
cmp eax, 1
jne 0x40489c
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x1c]
push ebx
call fcn.0040436e
mov esi, eax
test esi, esi
js 0x40476b
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.00403aa2
mov esi, eax
test esi, esi
js 0x40476b
cmp word [ebx], 0x7d
jne 0x4043cd
jmp 0x40476b
cmp dword [esp + 0x14], esi
je 0x4048bb
push dword [esp + 0x14]
call dword [0x52b018]
mov eax, 0x80020009
jmp 0x40477e
cmp dword [esp + 0x14], edi
jmp 0x4048af
call fcn.00402d02
mov esi, eax
cmp dword [esp + 0x2c], edi
je 0x40476b
push dword [esp + 0x2c]
call dword [0x52b018]
jmp 0x40476b
call fcn.00402d02
mov edi, eax
cmp dword [esp + 0x14], esi
je 0x404902
push dword [esp + 0x14]
call dword [0x52b018]
mov eax, edi
jmp 0x40477e
call fcn.00402d02
mov esi, eax
cmp dword [esp + 0x14], edi
jmp 0x404770