Function at 0x1001ddb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100922c6
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x100cb9b0]
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.1002cf70
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1001df2b
push 0x59
push 0x100a4f08
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10005fe0
push 3
push 0x100a4f04
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.10005fe0
push 0x7f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.100083b0
mov ebx, eax
push str.set_regedit_token_info:
push ebx
mov byte [ebp - 4], 2
call fcn.10009b20
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1001de7a
mov ecx, dword [esi]
test ecx, ecx
mov eax, 0x1009d998
cmovne eax, ecx
push eax
push ebx
call fcn.10006b40
add esp, 8
call fcn.1002cf70
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.10009c50
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1001dede
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ded4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e03a
push edx
push ecx
call fcn.1004b366
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 0x1001df2b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001df21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e03f
push edx
push ecx
call fcn.1004b366
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax]
jb 0x1001df39
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1001df43
mov eax, dword [edi]
push ecx
push esi
push 1
push str.token
push eax
push dword [edi + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x1001e01a
call fcn.1002cf70
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1001e016
push 0x59
push str.d:jenkins.jenkinsworkspacelib_common_accountplugin_account_plugin_src_token_helper.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.10005fe0
push 3
push 0x100a4f8c
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.10005fe0
push 0x82
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.100083b0
mov esi, eax
push str.set_regedit_token_info_failed
push esi
mov byte [ebp - 4], 5
call fcn.10009b20
add esp, 8
call fcn.1002cf70
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a0]
call fcn.10009c50
lea ecx, [ebp - 0x58]
call fcn.10004c10
lea ecx, [ebp - 0x70]
call fcn.10004c10
xor al, al
jmp 0x1001e01c
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.1004b6e5
mov esp, ebp
pop ebp
ret 4
call fcn.1006b649
call fcn.1006b649
int3