Function at 0x427680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5380a6
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x597644]
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
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.004a9d00
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4277ff
push 0x67
push str.d:jenkins.jenkinsworkspaceinstall_projectinstall_maininstall_and_uninstallcommon_token_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004244d0
push 3
push 0x5512cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004244d0
mov byte [ebp - 4], 1
call fcn.004a9d00
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x10c]
push 0x7f
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00425120
mov ebx, eax
push str.set_regedit_token_info:
push ebx
mov byte [ebp - 4], 2
call fcn.00426180
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x427752
mov ecx, dword [esi]
test ecx, ecx
mov eax, 0x551380
cmovne eax, ecx
push eax
push ebx
call fcn.004246e0
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.004262b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4277b2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4277a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42790f
push edx
push ecx
call fcn.00497eef
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4277ff
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4277f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427914
push edx
push ecx
call fcn.00497eef
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x42780a
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x427814
mov ecx, dword [edi]
add eax, eax
push eax
push esi
push 1
push str.token
push ecx
push dword [edi + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x4278ef
call fcn.004a9d00
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4278eb
push 0x67
push str.d:jenkins.jenkinsworkspaceinstall_projectinstall_maininstall_and_uninstallcommon_token_helper.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.004244d0
push 3
push 0x5512cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004244d0
mov byte [ebp - 4], 4
call fcn.004a9d00
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x82
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00425120
mov esi, eax
push str.set_regedit_token_info_failed
push esi
mov byte [ebp - 4], 5
call fcn.00426180
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.004262b0
lea ecx, [ebp - 0x58]
call fcn.00415600
lea ecx, [ebp - 0x70]
call fcn.00415600
xor al, al
jmp 0x4278f1
mov al, 1
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.004982ff
mov esp, ebp
pop ebp
ret 4
call fcn.004e9178
call fcn.004e9178
int3