Function at 0x42afd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x8f0
mov eax, dword [0x4f0464]
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, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x864], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x850], ecx
mov word [edi], dx
mov dword [ebp - 0x864], 1
mov dword [ebp - 0x860], edx
mov dword [ebp - 0x85c], edx
mov dword [ebp - 0x858], edx
lea edx, [ebp - 0x860]
mov dword [ebp - 4], 1
push edx
push eax
push ecx
call fcn.0042b620
add esp, 0xc
test al, al
jne 0x42b07f
mov eax, dword [ebp - 0x860]
test eax, eax
je 0x42b412
push eax
jmp 0x42b40c
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0048c160
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42b09f
mov eax, dword [esi]
mov ebx, dword [ebp - 0x860]
lea ecx, [ebp - 0x844]
push ecx
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x844], 0x800
push ecx
lea ecx, [ebp - 0x848]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x84c], eax
test eax, eax
jne 0x42b11e
mov eax, dword [ebp - 0x848]
cmp eax, 1
je 0x42b0e8
cmp eax, 2
jne 0x42b114
mov ebx, dword [ebp - 0x844]
test ebx, ebx
je 0x42b281
test bl, 1
jne 0x42b10e
mov eax, ebx
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x42b28a
mov ebx, dword [ebp - 0x860]
mov dword [ebp - 0x84c], 0xd
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42b273
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilsutils.cc
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
call fcn.00411d10
mov byte [ebp - 4], 3
call fcn.00445180
mov dword [ebp - 0x848], eax
lea ecx, [ebp - 0x8fc]
push 0xc2
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.004092d0
mov dword [ebp - 0x844], eax
push str._error__get_sz_value_failed__root:
push eax
mov byte [ebp - 4], 4
call fcn.0040a600
mov ecx, dword [ebp - 0x844]
add esp, 8
push dword [ebp - 0x850]
call fcn.004296e0
push str.__path:
push dword [ebp - 0x844]
call fcn.0040a600
push str.__key:
push dword [ebp - 0x844]
call fcn.0040a600
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x42b214
mov esi, dword [esi]
test esi, esi
mov eax, 0x4c19e4
cmovne eax, esi
mov esi, dword [ebp - 0x844]
push eax
push esi
call fcn.00407110
push str.__err:
push esi
call fcn.0040a600
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x84c]
call fcn.00418320
mov ecx, dword [ebp - 0x848]
push esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x8fc]
call fcn.0040a7e0
lea ecx, [ebp - 0x828]
call fcn.00409da0
lea ecx, [ebp - 0x840]
call fcn.00409da0
test ebx, ebx
je 0x42b412
push ebx
jmp 0x42b40c
xor eax, eax
mov word [ebp - 0x810], ax
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
shr ebx, 1
mov dword [ebp - 0x850], ecx
mov dword [ebp - 0x844], edx
cmp ebx, eax
ja 0x42b2e3
lea eax, [ecx + ebx]
mov esi, edi
mov dword [ebp - 0x848], eax
mov dword [edi + 0x10], eax
cmp edx, 8
jb 0x42b2bb
mov esi, dword [edi]
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + ecx*2]
push eax
call fcn.0048bbe0
mov eax, dword [ebp - 0x848]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42b401
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x42b430
lea eax, [ecx + ebx]
mov esi, eax
mov dword [ebp - 0x84c], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x42b30f
mov esi, SysReAllocString
jmp 0x42b32d
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x42b325
mov esi, SysReAllocString
jmp 0x42b32d
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00411830
mov dword [edi + 0x14], esi
mov ecx, eax
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x84c]
add esi, esi
cmp dword [ebp - 0x844], 8
mov dword [ebp - 0x848], ecx
mov dword [edi + 0x10], eax
push esi
jb 0x42b3cf
mov eax, dword [edi]
push eax
push ecx
mov dword [ebp - 0x854], eax
call fcn.0048b660
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + ebx]
push eax
call fcn.0048b660
mov eax, dword [ebp - 0x84c]
xor ecx, ecx
add esp, 0x18
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x844]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x854]
cmp ecx, 0x1000
jb 0x42b3c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b435
mov eax, edx
push ecx
push eax
call fcn.00466e06
add esp, 8
jmp 0x42b3ff
push edi
push ecx
call fcn.0048b660
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + ebx]
push eax
call fcn.0048b660
mov eax, dword [ebp - 0x84c]
add esp, 0x18
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [edi], ebx
mov ecx, dword [ebp - 0x860]
test ecx, ecx
je 0x42b412
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.004670b3
mov esp, ebp
pop ebp
ret
call fcn.00411790
call fcn.0048f279
int3