Function at 0x4283a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b340
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044d418
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4283e4
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x428410
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42843d
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42846a
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x428497
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 1
lea ecx, [ebp - 0x2c]
push ecx
push ecx
mov byte [ebp - 4], 4
mov ebx, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], ebx
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4284d9
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.hRootKey
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x428512
mov edx, ecx
movzx edi, dx
push edi
call fcn.0044d834
cmp eax, esi
je 0x428520
push edi
push eax
mov ecx, ebx
call fcn.004074b0
jmp 0x428520
push 8
push str.hRootKey
mov ecx, ebx
call fcn.00407870
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.0043b9d0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428621
mov ecx, 0xa0000001
lea esi, [ebp - 0x38]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040d290
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42857a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4285a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x4285c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4285ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42860f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
jmp 0x428f89
lea ecx, [ebp - 0x38]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428648
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, str.DWORD
shr eax, 0x10
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x428686
mov ecx, str.DWORD
movzx ebx, cx
push ebx
call fcn.0044d834
test eax, eax
je 0x428694
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x428694
push 5
push str.DWORD
mov ecx, edi
call fcn.00407870
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x2c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
mov dword [ebp - 0x1c], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4286cb
cmp eax, dword [esi]
jne 0x4286cb
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x428707
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4286e4
call fcn.0043d450
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054de82
add esp, 0x10
add ebx, 0x10
mov dword [edi], ebx
mov byte [ebp - 4], 4
call fcn.0044bce0
add esp, 0xc
push 1
lea ecx, [ebp - 0x14]
push ecx
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x20], ebx
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428741
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.strRegKey
mov byte [ebp - 4], 9
test ecx, 0xffff0000
jne 0x42877a
mov edx, ecx
movzx edi, dx
push edi
call fcn.0044d834
test eax, eax
je 0x428788
push edi
push eax
mov ecx, ebx
call fcn.004074b0
jmp 0x428788
push 9
push str.strRegKey
mov ecx, ebx
call fcn.00407870
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0043b9d0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428842
mov ecx, 0xa0000001
lea esi, [ebp - 0x38]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0040d290
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x428833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
jmp 0x428f43
push 1
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x20], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42886b
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.strRegValueName
mov byte [ebp - 4], 0xb
test ecx, 0xffff0000
jne 0x4288a4
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x4288b2
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x4288b2
push 0xf
push str.strRegValueName
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0043b9d0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x42896e
mov ecx, 0xa0000001
lea esi, [ebp - 0x38]
call fcn.0041ae20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040d290
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42890c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x428833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
jmp 0x428f43
push 1
lea ecx, [ebp - 0x24]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x20], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428997
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.WOW64
mov byte [ebp - 4], 0xd
test ecx, 0xffff0000
jne 0x4289d0
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0044d834
test eax, eax
je 0x4289de
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x4289de
push 5
push str.WOW64
mov ecx, edi
call fcn.00407870
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0043b9d0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428a9a
mov ecx, 0xa0000001
lea esi, [ebp - 0x38]
call fcn.0041ae20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040d290
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x428833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
jmp 0x428f43
lea ecx, [ebp - 0x34]
push ecx
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x3c], edi
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428ac1
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x28], 0
jne 0x428af6
mov ecx, str.DWORD
movzx ebx, cx
push ebx
call fcn.0044d834
test eax, eax
je 0x428b04
push ebx
push eax
mov ecx, edi
call fcn.004074b0
jmp 0x428b04
push 5
push str.DWORD
mov ecx, edi
call fcn.00407870
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x24]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov edi, esp
mov dword [ebp - 0x28], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x428b3b
cmp eax, dword [esi]
jne 0x428b3b
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x428b77
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x428b54
call fcn.0043d450
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054de82
add esp, 0x10
add ebx, 0x10
mov dword [edi], ebx
mov byte [ebp - 4], 4
call fcn.0044bce0
add esp, 0xc
push 1
lea ecx, [ebp - 0x10]
push ecx
push ecx
mov ebx, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x3c], ebx
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428bb1
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.iSystemBits
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x428bea
mov edx, ecx
movzx edi, dx
push edi
call fcn.0044d834
test eax, eax
je 0x428bf8
push edi
push eax
mov ecx, ebx
call fcn.004074b0
jmp 0x428bf8
push 0xb
push str.iSystemBits
mov ecx, ebx
call fcn.00407870
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.0043b9d0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428caa
mov ecx, 0xa0000001
lea esi, [ebp - 0x38]
call fcn.0041ae20
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.0040d290
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428c52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x428f3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428f3c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0054df0d
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [0x5d9fb8]
add esp, 4
test eax, eax
je 0x428d07
push str.GetNativeSystemInfo
push str.kernel32
call esi
push eax
call ebx
test eax, eax
je 0x428d00
lea edx, [ebp - 0x60]
push edx
call eax
mov ax, word [ebp - 0x60]
cmp ax, 9
je 0x428cf6
cmp ax, 6
jne 0x428d00
mov dword [0x5e0c44], 1
xor eax, eax
mov dword [0x5d9fb8], eax
test edi, edi
je 0x428d19
cmp edi, 1
jne 0x428d75
cmp dword [0x5e0c44], 0
jne 0x428d83
mov dword [ebp - 0x30], 0
test eax, eax
je 0x428d61
push str.GetNativeSystemInfo
push str.kernel32
call esi
push eax
call ebx
test eax, eax
je 0x428d57
lea ecx, [ebp - 0x60]
push ecx
call eax
mov ax, word [ebp - 0x60]
cmp ax, 9
je 0x428d4d
cmp ax, 6
jne 0x428d57
mov dword [0x5e0c44], 1
mov dword [0x5d9fb8], 0
cmp dword [0x5e0c44], 0
jne 0x428e3b
xor eax, eax
jmp 0x428e3e
cmp edi, 2
jne 0x428d83
cmp dword [0x5e0c44], 0
jne 0x428d19
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428dad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x428dd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428df3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428fa2
mov eax, dword [ebp - 0x1c]
jmp 0x428f98
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push edx
or eax, 0x20006
push eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [ebp - 0x18]
mov ebx, eax
test ebx, ebx
jne 0x428e78
mov edx, dword [ebp - 0x30]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
sete al
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428edc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
lea esi, [ebp - 0x38]
mov dword [eax], edx
call fcn.0041ae20
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x2c]
push edx
push edi
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00409220
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428ef9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx], 2
mov eax, dword [edx + 0x30]
push edi
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00409220
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f3c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428fa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret