Function at 0x42ed20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab12e
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x4df210]
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 ebx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x840], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebp - 0x814], eax
mov word [ebx], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x840], 1
test eax, eax
jne 0x42ee7b
call fcn.004384b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f140
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], al
call fcn.00409ef0
push 3
push 0x4b2be4
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], 0
call fcn.00409ef0
mov byte [ebp - 4], 2
call fcn.004384b0
mov edi, eax
lea ecx, [ebp - 0x8f0]
push 0x15e
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.004054a0
mov esi, eax
push str.reg_key_is_null
push esi
mov byte [ebp - 4], 3
call fcn.004063d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x8f0]
call fcn.00406630
lea ecx, [ebp - 0x83c]
call fcn.00405e10
lea ecx, [ebp - 0x858]
call fcn.00405e10
jmp 0x42f140
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
movq qword [ebp - 0x830], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 4
jb 0x42eebd
mov edi, dword [edi]
call fcn.00424a70
neg eax
lea ecx, [ebp - 0x830]
sbb eax, eax
and eax, 0x100
add eax, 0x20019
push eax
push edi
push dword [ebp - 0x814]
call fcn.0042f710
test eax, eax
je 0x42eefb
mov eax, dword [ebp - 0x830]
test eax, eax
je 0x42f140
push eax
jmp 0x42f13a
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004752d0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42ef19
mov esi, dword [esi]
mov edi, dword [ebp - 0x830]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42f135
mov eax, dword [ebp - 0x814]
cmp eax, 1
je 0x42ef64
cmp eax, 2
jne 0x42f135
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x42ef8b
test cl, 1
jne 0x42f135
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x42ef94
jmp 0x42f135
xor eax, eax
mov word [ebp - 0x810], ax
mov esi, dword [ebx + 0x14]
mov eax, esi
mov edx, dword [ebx + 0x10]
sub eax, edx
shr ecx, 1
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x824], edx
mov dword [ebp - 0x820], esi
cmp ecx, eax
ja 0x42eff5
lea eax, [edx + ecx]
mov dword [ebp - 0x814], eax
mov dword [ebx + 0x10], eax
cmp esi, 8
jb 0x42efcb
mov esi, dword [ebx]
jmp 0x42efcd
mov esi, ebx
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + edx*2]
push eax
call fcn.00474d50
mov eax, dword [ebp - 0x814]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42f135
mov eax, SysReAllocString
sub eax, edx
cmp eax, ecx
jb 0x42f15e
lea eax, [edx + ecx]
mov esi, eax
mov dword [ebp - 0x818], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x42f021
mov esi, SysReAllocString
jmp 0x42f044
mov eax, dword [ebp - 0x820]
mov ecx, SysReAllocString
mov edx, eax
shr edx, 1
sub ecx, edx
cmp eax, ecx
jbe 0x42f03d
mov esi, SysReAllocString
jmp 0x42f044
add eax, edx
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
mov ecx, ebx
call fcn.00404250
mov ecx, dword [ebp - 0x818]
mov dword [ebx + 0x14], esi
mov esi, dword [ebp - 0x824]
add esi, esi
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x820], 8
mov dword [ebx + 0x10], ecx
push esi
jb 0x42f0f9
mov edi, dword [ebx]
push edi
push eax
call fcn.004747d0
mov eax, dword [ebp - 0x814]
add eax, eax
push eax
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x81c]
add eax, esi
push eax
call fcn.004747d0
mov eax, dword [ebp - 0x818]
xor ecx, ecx
mov esi, dword [ebp - 0x81c]
add esp, 0x18
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x820]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x42f0e5
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x42f163
mov edi, edx
push ecx
push edi
call fcn.004360bd
mov edi, dword [ebp - 0x830]
add esp, 8
mov dword [ebx], esi
jmp 0x42f135
push ebx
push eax
call fcn.004747d0
mov eax, dword [ebp - 0x814]
add eax, eax
push eax
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x81c]
add eax, esi
push eax
call fcn.004747d0
mov eax, dword [ebp - 0x81c]
add esp, 0x18
mov ecx, dword [ebp - 0x818]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [ebx], eax
test edi, edi
je 0x42f140
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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.00436365
mov esp, ebp
pop ebp
ret
call fcn.00404240
call fcn.00478869
int3