Function at 0x460fd0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5999e6
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.00461450
add esp, 8
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x40000
push esi
push SysReAllocString
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0040d8e0
mov esi, dword [ebp - 0x40]
test eax, eax
jne 0x461097
lea eax, [ebp - 0x28]
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push 0x5ab0c0
lea ecx, [ebp - 0x40]
call fcn.004569f0
test esi, esi
je 0x4610a2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x461199
call fcn.0049dde0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x461199
push 0x5a
push str.d:jenkins.jenkinsworkspacemgamezipper_biscuitzip_biscuitzip_biscuitzip_setdefault.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
call fcn.00434740
push 3
push 0x5aba5c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00434740
push 0x75
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x100]
call fcn.00428520
mov esi, eax
push str.error_to_delete_UserChoice._status:
push esi
mov byte [ebp - 4], 3
call fcn.0040f1b0
add esp, 8
mov ecx, esi
push dword [ebp - 0x34]
call fcn.004607f0
push str._extProgId:
push esi
call fcn.0040f1b0
mov ecx, dword [ebp - 0x50]
mov eax, 0x5ac2ac
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.0040f1b0
add esp, 0x10
call fcn.0049dde0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0042a600
lea ecx, [ebp - 0x2c]
call fcn.00410f80
lea ecx, [ebp - 0x4c]
call fcn.00410f80
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0
push 0
push 0x2001f
push 0
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push SysReAllocString
call fcn.00460ea0
mov dword [ebp - 0x34], eax
cmp eax, 0xb7
je 0x4612e5
test eax, eax
je 0x4612e5
call fcn.0049dde0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4612cf
push 0x5a
push str.d:jenkins.jenkinsworkspacemgamezipper_biscuitzip_biscuitzip_biscuitzip_setdefault.cpp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], al
call fcn.00434740
push 3
push 0x5aba5c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00434740
push 0x7c
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x100]
call fcn.00428520
mov esi, eax
push str.error_to_regesty_self_progId_for
push esi
mov byte [ebp - 4], 7
call fcn.0040f1b0
mov ecx, dword [ebp - 0x14]
mov eax, 0x5ac2ac
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.0040f1b0
push str..__hr_
push esi
call fcn.0040f1b0
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x34]
call fcn.004607f0
call fcn.0049dde0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0042a600
lea ecx, [ebp - 0x2c]
call fcn.00410f80
lea ecx, [ebp - 0x68]
call fcn.00410f80
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4612de
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
xor dl, dl
jmp 0x461378
call fcn.00461660
push eax
push edi
push dword [ebp - 0x50]
call fcn.0046e830
mov esi, dword [ebp - 0x40]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x461339
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x34], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461310
sub ecx, dword [ebp - 0x34]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.hash
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x46136a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461342
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.ProgId
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x461376
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call eax
mov dl, 1
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
mov byte [ebp - 0x2d], dl
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46139b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x2d]
jmp 0x46139d
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret