Function at 0x416920
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d362a
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x52ad60]
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, edx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x58], ecx
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x64]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x64], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x60], 0
test al, 1
jne 0x4169d8
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004493f0
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x98], edi
mov byte [ebp - 4], 4
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 5
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x70], ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x64]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x64], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x60], 0
test al, 1
jne 0x416a9d
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00449e90
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.004493f0
mov eax, dword [ebp - 0x58]
mov al, byte [eax + 8]
test al, al
je 0x416b00
cmp al, 7
je 0x416b00
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp byte [eax + 8], 0
jne 0x416b13
mov ecx, 0x52fad0
jmp 0x416bae
mov dword [ebp - 0x64], str.hive
mov dword [ebp - 0x60], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x416b93
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, str.hive
mov bl, byte [edx]
mov esi, dword [ebp - 0x74]
mov byte [ebp - 0x45], bl
cmp bl, byte [esi]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x70]
jne 0x416b82
cmp byte [ebp - 0x45], 0
je 0x416b7e
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x74]
mov byte [ebp - 0x45], bl
cmp bl, byte [esi + 1]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x70]
jne 0x416b82
add dword [ebp - 0x74], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x416b45
xor edx, edx
jmp 0x416b87
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x416b96
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x416bae
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x4c]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x416c2c
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x416c17
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x416c17
mov ecx, dword [ebp - 0x78]
call fcn.004047b0
mov dword [ebp - 0x78], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x416c0c
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
lea edi, [eax + 0x10]
mov dword [ebp - 0x98], edi
jmp 0x416c2c
push dword [edx - 0xc]
lea ecx, [ebp - 0x98]
push edx
call fcn.004046f0
mov edi, dword [ebp - 0x98]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416c4d
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 - 0x50], esp
mov eax, dword [ecx]
mov dword [ebp - 0x74], edi
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x416c78
cmp ecx, dword [edi]
jne 0x416c78
mov eax, 1
lock xadd dword [edx], eax
jmp 0x416cbb
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x78], edx
test edx, edx
jne 0x416c8f
call fcn.0040c760
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.004b4771
mov edi, dword [ebp - 0x78]
add esp, 0x10
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.0040f480
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x416e7c
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x98]
push eax
mov edx, str.deleteRegElement_hive_error_
lea ecx, [ebp - 0x58]
call fcn.004269f0
add esp, 4
push str.deleteRegElement
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.00403720
mov byte [ebp - 4], 0xc
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x78], edi
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.0040c8d0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416d62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416d82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416da2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x8c]
call fcn.00431370
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00449e90
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.004493f0
cmp dword [ebp - 0x78], 0x10
jb 0x416dfa
push dword [ebp - 0x8c]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416e1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416e37
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416e54
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416e71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x90]
jmp 0x417454
mov edi, dword [ebp - 0x58]
mov al, byte [edi + 8]
test al, al
je 0x416ea1
cmp al, 7
je 0x416ea1
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x416eb1
mov ecx, 0x52fad0
jmp 0x416f3c
mov dword [ebp - 0x64], 0x512f64
mov dword [ebp - 0x60], 0
mov edi, dword [edi]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
mov dword [ebp - 0x50], edi
call fcn.0044ab30
mov ecx, dword [edi]
cmp eax, ecx
je 0x416f21
mov edi, dword [eax + 0x10]
mov edx, 0x512f64
lea ecx, [ecx]
mov bl, byte [edx]
cmp bl, byte [edi]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x70]
jne 0x416f10
cmp byte [ebp - 0x45], 0
je 0x416f0c
mov bl, byte [edx + 1]
cmp bl, byte [edi + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x70]
jne 0x416f10
add edx, 2
add edi, 2
cmp byte [ebp - 0x45], 0
jne 0x416ee0
xor edx, edx
jmp 0x416f15
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x416f24
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x416f3c
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x4c]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x12
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea edi, [edx - 0x10]
mov dword [ebp - 0x78], ecx
cmp edi, ecx
je 0x416faf
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x416fa0
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x416fa0
mov ecx, edi
call fcn.004047b0
or edi, 0xffffffff
mov dword [ebp - 0x50], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x416f98
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
jmp 0x416fb2
push dword [edx - 0xc]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x5c]
or edi, 0xffffffff
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416fd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
mov al, byte [eax + 8]
test al, al
je 0x416ff7
cmp al, 7
je 0x416ff7
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 8]
mov byte [ebp - 0x91], cl
test cl, cl
je 0x417224
mov dword [ebp - 0x64], str.value
mov dword [ebp - 0x60], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
mov dword [ebp - 0x78], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x417094
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, str.value
mov bl, byte [edx]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x70]
jne 0x417083
cmp byte [ebp - 0x45], 0
je 0x41707f
mov bl, byte [edx + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x70]
jne 0x417083
add dword [ebp - 0x4c], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x417040
xor edx, edx
jmp 0x417088
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x50], eax
test dl, dl
je 0x417097
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
je 0x417224
add eax, 0x18
cmp eax, 0x52fad0
je 0x417224
cmp byte [ebp - 0x91], 7
je 0x4170d9
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp byte [eax + 8], 0
jne 0x4170ec
mov ecx, 0x52fad0
jmp 0x417190
mov dword [ebp - 0x7c], str.value
mov dword [ebp - 0x78], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x417175
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, str.value
mov bl, byte [edx]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x70]
jne 0x417164
cmp byte [ebp - 0x45], 0
je 0x417160
mov bl, byte [edx + 1]
mov byte [ebp - 0x45], bl
mov ebx, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x70]
jne 0x417164
add dword [ebp - 0x4c], 2
add edx, 2
cmp byte [ebp - 0x45], 0
jne 0x417121
xor edx, edx
jmp 0x417169
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x78], eax
test dl, dl
je 0x417178
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x417190
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x60]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x15
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x417204
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x4171f5
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4171f5
mov ecx, dword [ebp - 0x78]
call fcn.004047b0
mov dword [ebp - 0x78], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4171ed
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x70], ebx
jmp 0x417204
push dword [edx - 0xc]
lea ecx, [ebp - 0x70]
push edx
call fcn.004046f0
mov ebx, dword [ebp - 0x70]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417224
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf023f
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x45], 0
call fcn.004274f0
test eax, eax
je 0x41753b
push 0xf013f
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x45], 1
call fcn.004274f0
test eax, eax
je 0x41753b
mov edx, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
call fcn.004315e0
push eax
mov edx, str.deleteRegElement_Open_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4172aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.deleteRegE1ement
lea ecx, [ebp - 0x78]
call fcn.00403720
mov byte [ebp - 4], 0x19
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
call fcn.0040c8d0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417318
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x19
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417338
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1c
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1d
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x84]
call fcn.004493f0
cmp dword [ebp - 0xac], 0x10
jb 0x4173bc
push dword [ebp - 0xc0]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4173dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add ebx, 0xfffffff0
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4173f9
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417416
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
mov ecx, edi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417433
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x417454
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x44], 0x514aec
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x3f
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x40
call fcn.0044c090
mov byte [ebp - 4], 0x41
cmp dword [eax + 0x14], 0x10
jb 0x4174b5
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xa8]
call fcn.004312a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x42
call fcn.00403880
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4174fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x40
cmp dword [ebp - 0xac], 0x10
jb 0x417519
push dword [ebp - 0xc0]
call fcn.004b3a0c
add esp, 4
mov esi, dword [ebp - 0x78]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x417c49
call fcn.0040c760
cmp dword [ebx - 0xc], 0
jne 0x417a02
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x417560
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
mov ecx, dword [esi - 0xc]
mov dword [ebp - 0xa0], 0
lea eax, [ecx - 1]
test eax, eax
js 0x417585
cmp eax, ecx
jg 0x417585
cmp word [esi + eax*2], 0x5c
jne 0x4175bd
dec ecx
mov dword [ebp - 0x60], ecx
jns 0x41758f
push 0x80070057
call fcn.0040c740
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x4175af
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040c7b0
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [esi - 8]
jg 0x417585
xor eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], ax
mov dword [ebp - 0x58], 0
mov eax, dword [esi - 0xc]
push 0x5c
push esi
mov dword [ebp - 0x60], eax
call fcn.004b513b
add esp, 8
test eax, eax
jne 0x4175de
or eax, 0xffffffff
jmp 0x4175e2
sub eax, esi
sar eax, 1
mov ecx, dword [ebp - 0x60]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00426800
push 0x5c
push esi
mov byte [ebp - 4], 0x1e
call fcn.004b513b
add esp, 8
test eax, eax
jne 0x41760d
or eax, 0xffffffff
jmp 0x417611
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00426880
mov byte [ebp - 4], 0x1f
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x41767e
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41766f
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41766f
mov ecx, dword [ebp - 0x60]
call fcn.004047b0
mov dword [ebp - 0x60], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x417667
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
jmp 0x41767e
push dword [edx - 0xc]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41769e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x45], 0
mov ecx, 0x100
mov eax, 0x200
cmovne eax, ecx
or eax, 0xf003f
push eax
push esi
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
call fcn.004274f0
mov ecx, dword [0x52f408]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 8
jne 0x4176f6
call fcn.004b42bc
mov ecx, dword [0x52f408]
cmp ecx, eax
jne 0x4176f6
dec ecx
mov dword [0x52f408], ecx
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x417885
mov edx, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
call fcn.004315e0
push eax
mov edx, str.deleteRegElement_Open_sub_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x20
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417747
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.deleteRegE1ement
lea ecx, [ebp - 0x78]
call fcn.00403720
mov byte [ebp - 4], 0x23
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x24
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x25
call fcn.0040c8d0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4177b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4177d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4177f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x26
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x27
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x84]
call fcn.004493f0
cmp dword [ebp - 0xac], 0x10
jb 0x417859
push dword [ebp - 0xc0]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417879
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
jmp 0x4173c3
push dword [ebp - 0x58]
lea ecx, [ebp - 0xa4]
call fcn.004273d0
test eax, eax
je 0x4179d6
mov edx, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
call fcn.004315e0
push eax
mov edx, str.deleteRegElement_RecurseDeleteKey_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4178e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.de1eteRegE1ement
lea ecx, [ebp - 0x78]
call fcn.00403720
mov byte [ebp - 4], 0x2b
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x2c
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x2d
call fcn.0040c8d0
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41794f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x2b
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41796f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41798f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x2e
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2f
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x2e
jmp 0x417837
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4179f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 5
jmp 0x4173e0
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4179f6
mov edx, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
call fcn.004315e0
push eax
mov edx, str.deleteRegElement_DeleteValue_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x30
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417a59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.deleteRegElement
lea ecx, [ebp - 0x78]
call fcn.00403720
mov byte [ebp - 4], 0x33
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x34
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x35
call fcn.0040c8d0
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417ac7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x33
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417ae7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417b07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xc0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x36
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x37
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x36
jmp 0x41739a
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x3f
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x417c67
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0x514aec
jb 0x417c7f
push dword [ebp - 0x40]
call fcn.004b3a0c
add esp, 4
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x5186b0
test eax, eax
je 0x417ca9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004493f0
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.004b3a11
mov esp, ebp
pop ebp
ret