Function at 0x100063b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
add esp, 0xffffff80
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
je 0x100063e8
cmp eax, 0x111
je 0x10006620
cmp eax, 0x4e
je 0x100065c8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x965
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov esi, eax
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], 2
sub esp, 8
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1061
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10
mov dword [esp], 0x10
call dword [sym.imp.comctl32.dll_ImageList_Create]
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x10006511
mov eax, dword [0x10022004]
mov dword [esp + 4], 0xcc
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadBitmapW]
sub esp, 8
mov dword [ebp - 0x5c], eax
mov dword [esp + 8], 0xff00ff
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
mov edx, dword [ebp - 0x5c]
sub esp, 0xc
mov dword [esp], edx
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.comctl32.dll_ImageList_SetBkColor]
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1003
mov dword [esp], esi
call edi
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov edx, 2
mov eax, esi
call sym._add_known_usages_to_list
call sym._get_cert_mgr_usages
test eax, eax
je 0x100063d7
mov dword [esp + 4], 0x2c
mov edi, dword [sym.imp.ucrtbase.dll_strchr]
mov dword [ebp - 0x60], eax
mov dword [esp], eax
call edi
mov ebx, eax
mov eax, dword [ebp - 0x60]
cmp byte [eax], 0
je 0x100065aa
mov dword [ebp - 0x5c], edi
mov edi, eax
jmp 0x1000658e
mov byte [ebx], 0
mov edx, edi
mov eax, esi
call sym._find_oid_in_list
mov edx, eax
cmp eax, 0xffffffff
je 0x10006573
mov eax, dword [ebp + 8]
call sym._toggle_usage
lea edi, [ebx + 1]
mov dword [esp + 4], 0x2c
mov eax, dword [ebp - 0x5c]
mov dword [esp], edi
call eax
cmp byte [ebx + 1], 0
je 0x100065aa
mov ebx, eax
test ebx, ebx
jne 0x10006558
mov edx, edi
mov eax, esi
call sym._find_oid_in_list
mov edx, eax
cmp eax, 0xffffffff
je 0x100065aa
mov eax, dword [ebp + 8]
call sym._toggle_usage
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0xfffffffe
jne 0x100063d7
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
call sym._toggle_usage
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetParent]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x100063d7
cmp dword [ebp + 0x10], 1
je 0x10006670
cmp dword [ebp + 0x10], 2
jne 0x100063d7
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_Destroy]
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x100063d7
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x965
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [ebp - 0x5c], eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [ebp - 0x64], eax
call eax
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x60], eax
sub esp, 0x10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0xf000
test eax, eax
jle 0x10006929
xor edi, edi
xor ebx, ebx
jmp 0x100066ec
add ebx, 1
cmp dword [ebp - 0x60], ebx
je 0x100067e0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], 0x104b
call eax
sub esp, 0x10
test eax, eax
je 0x100066e0
mov eax, dword [ebp - 0x3c]
shr eax, 0xc
cmp eax, 1
jne 0x100066e0
mov edx, dword [ebp - 0x28]
mov esi, edi
test edi, edi
je 0x10006900
mov ecx, dword [esi]
add esi, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x10006730
mov ecx, eax
mov dword [ebp - 0x68], edx
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [esi + 2]
cmove esi, ecx
mov ecx, eax
add cl, al
mov eax, dword [edx + 4]
sbb esi, 3
sub esi, edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
lea eax, [esi + eax + 2]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edi, eax
test eax, eax
je 0x100069a0
mov edx, dword [ebp - 0x68]
mov ecx, eax
mov esi, dword [ecx]
add ecx, 4
lea eax, [esi - 0x1010101]
not esi
and eax, esi
and eax, 0x80808080
je 0x10006791
mov esi, eax
shr esi, 0x10
test eax, 0x8080
cmove eax, esi
lea esi, [ecx + 2]
cmovne esi, ecx
mov ecx, eax
add cl, al
mov ecx, esi
sbb ecx, 3
mov byte [ecx], 0x2c
lea eax, [ecx + 1]
mov edx, dword [edx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x100066e0
lea eax, [ebp - 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100156c0
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x100068b0
mov ecx, dword [ebp - 0x58]
test edi, edi
je 0x10006985
mov edx, edi
mov ebx, dword [edx]
add edx, 4
lea eax, [ebx - 0x1010101]
not ebx
and eax, ebx
and eax, 0x80808080
je 0x10006840
mov ebx, eax
mov dword [esp + 0x10], edi
shr ebx, 0x10
test eax, 0x8080
mov dword [esp + 0xc], 1
cmove eax, ebx
lea ebx, [edx + 2]
mov dword [esp + 8], 0
cmove edx, ebx
mov dword [esp + 4], str.Purpose
mov ebx, eax
mov dword [esp], ecx
add bl, al
sbb edx, 3
sub edx, edi
add edx, 1
mov dword [esp + 0x14], edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
sub esp, 0x18
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_Destroy]
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x100063d7
mov eax, dword [edx + 4]
mov dword [ebp - 0x68], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x68]
test eax, eax
je 0x100069a0
mov edi, eax
jmp 0x100067c9
lea eax, [ebp - 0x58]
mov dword [esp + 0x20], 0
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100156c0
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x100068b0
mov ecx, dword [ebp - 0x58]
mov dword [esp + 4], str.Purpose
xor edi, edi
mov dword [esp], ecx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
sub esp, 8
jmp 0x100068a1
xor edi, edi
jmp 0x100066e0