Function at 0x4108b0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cb8f
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], esi
lea eax, [ebp - 0x254]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWAREClassesFolder_shell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x410942
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], ebx
test ebx, ebx
je 0x410a3c
call fcn.00436bb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410a22
push 0x37
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraydefault.cpp
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.0040c320
mov byte [ebp - 4], 2
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x1f
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00407db0
mov esi, eax
push str.unmake_def_create_shell_key_failed:
push esi
mov byte [ebp - 4], 3
call fcn.00406f20
add esp, 8
mov ecx, esi
push ebx
call fcn.00408c90
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00409010
lea ecx, [ebp - 0x228]
call fcn.00408860
lea ecx, [ebp - 0x240]
call fcn.00408860
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x410e41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410e41
push 2
push 0x53aad4
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x410b54
call fcn.00436bb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410b40
push 0x37
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraydefault.cpp
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 4
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.0040c320
mov byte [ebp - 4], 5
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x26
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407db0
mov esi, eax
mov byte [ebp - 4], 6
push str.unmake_def_set_shell_default_failed:
push esi
call fcn.00406f20
add esp, 8
push ebx
mov ecx, esi
call fcn.00408c90
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00409010
lea ecx, [ebp - 0x240]
call fcn.00408860
lea ecx, [ebp - 0x228]
call fcn.00408860
mov esi, dword [ebp - 0x250]
test esi, esi
je 0x410e41
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410e41
push 0x2001f
push str.openintabx
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
call fcn.004106b0
mov ebx, eax
test ebx, ebx
je 0x410ba2
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x410c56
push eax
jmp 0x410c50
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x258]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x100
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x410c2c
nop word [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00410760
mov ebx, eax
test ebx, ebx
jne 0x410b8e
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x258]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x100
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x410be0
test edi, edi
je 0x410c39
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
push str.openintabx
lea ecx, [ebp - 0x250]
call fcn.004105d0
mov ebx, eax
test edi, edi
je 0x410c56
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x410d04
call fcn.00436bb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410b40
push 0x37
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraydefault.cpp
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 7
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.0040c320
mov byte [ebp - 4], 8
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x2d
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407db0
mov esi, eax
mov byte [ebp - 4], 9
jmp 0x410afb
push 0x2011f
push str.SOFTWAREClassesCLSID
push SysReAllocString
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
call fcn.004106b0
test eax, eax
jne 0x410e25
push str.52205fd8_5dfb_447d_801a_d0b52f2e83e1
lea ecx, [ebp - 0x21c]
call fcn.00410760
test eax, eax
jne 0x410e25
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x410d6d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
call fcn.00436bb0
mov ecx, eax
push ebx
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, ebx
jne 0x410b40
push 0x37
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraydefault.cpp
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.0040c320
mov byte [ebp - 4], 0xb
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x34
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407db0
mov esi, eax
push str.unmake_def_win__e_failed:
push esi
mov byte [ebp - 4], 0xc
call fcn.00406f20
add esp, 8
push ebx
jmp 0x410b0a
mov eax, dword [ebp - 0x21c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x410e38
push eax
call edi
xor ebx, ebx
test esi, esi
je 0x410e41
push esi
call edi
test ebx, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf660
mov esp, ebp
pop ebp
ret