Function at 0x42df80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x4e6210]
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 + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x480], edi
movzx eax, byte [ebp + 0x14]
xor eax, 1
mov dword [ebp - 4], 0
shl eax, 8
add eax, 0x20019
mov dword [ebp - 0x44c], 0
cmp dword [ecx + 0x14], 8
jb 0x42dfe5
mov ecx, dword [ecx]
lea esi, [ebp - 0x44c]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e49b
mov esi, dword [ebp - 0x44c]
test esi, esi
je 0x42e49b
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0047af10
add esp, 0xc
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42e576
push 9
xor eax, eax
mov dword [ebp - 0x46c], 0
push str.Installed
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x468], 7
inc ebx
mov word [ebp - 0x47c], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 7
lea edx, [ecx + 2]
mov word [ebp - 0x464], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e0b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.00404450
cmp dword [ebp - 0x468], 8
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push edx
push 0
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x42c], 4
cmovae ecx, dword [ebp - 0x47c]
lea eax, [ebp - 0x464]
cmp dword [ebp - 0x450], 8
push 0x10
cmovae eax, dword [ebp - 0x464]
push ecx
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp - 0x450]
or esi, 0xffffffff
test eax, eax
cmove esi, dword [ebp - 0x430]
cmp edx, 8
jb 0x42e17a
mov ecx, dword [ebp - 0x464]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e170
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c5
push edx
push ecx
call fcn.00436532
add esp, 8
mov edx, dword [ebp - 0x468]
xor eax, eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 7
mov word [ebp - 0x464], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x42e1da
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e1d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c5
push edx
push ecx
call fcn.00436532
add esp, 8
xor eax, eax
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x450], 7
mov word [ebp - 0x464], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e200
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.00404450
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.0047af10
add esp, 0xc
mov dword [ebp - 0x42c], 0x208
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x42e250
mov ecx, dword [edi]
cmp dword [ebp - 0x450], 8
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x420]
push edx
push 0
push 2
lea eax, [ebp - 0x464]
cmovae eax, dword [ebp - 0x464]
push ecx
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
test eax, eax
jne 0x42e2c9
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e2b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
jmp 0x42e2d8
xor eax, eax
push eax
mov word [ebp - 0x448], ax
push 0x4b8798
lea ecx, [ebp - 0x448]
call fcn.00404450
mov edx, dword [ebp - 0x450]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x42e327
mov ecx, dword [ebp - 0x464]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e31d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c5
push edx
push ecx
call fcn.00436532
add esp, 8
xor eax, eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 7
mov word [ebp - 0x464], ax
cmp dword [ebp - 0x438], eax
je 0x42e409
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], 7
lea edx, [ecx + 2]
mov word [ebp - 0x47c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e370
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.00404450
mov ecx, dword [ebp + 0x3c]
cmp esi, 1
mov byte [ebp - 4], 8
sete byte [ebp - 0x424]
test ecx, ecx
je 0x42e5ca
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
lea edx, [ebp - 0x448]
push edx
lea edx, [ebp - 0x47c]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x42e409
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e3ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c5
push edx
push ecx
call fcn.00436532
add esp, 8
mov edx, dword [ebp - 0x434]
lea edi, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x428], 0x104
mov byte [ebp - 4], al
mov ecx, 0x82
rep stosd dword es:[edi], eax
cmp edx, 8
jb 0x42e465
mov ecx, dword [ebp - 0x448]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e45b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c5
push edx
push ecx
call fcn.00436532
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42e576
mov edi, dword [ebp - 0x480]
jmp 0x42e050
call fcn.004395b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42e576
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], al
call fcn.00409ef0
push 3
push 0x4b8930
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0xf
mov byte [ebp - 0x47c], 0
call fcn.00409ef0
mov byte [ebp - 4], 2
call fcn.004395b0
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x1de
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.004054a0
mov esi, eax
push str.open_reg_key_fail
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 - 0x2b0]
call fcn.00406630
lea ecx, [ebp - 0x47c]
call fcn.00405e10
lea ecx, [ebp - 0x448]
call fcn.00405e10
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x42e591
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44c], 0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x42e5a9
mov edx, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.004367da
mov esp, ebp
pop ebp
ret
call fcn.0047e4a9
call fcn.00431155
int3