Function at 0x10005200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f99ca
mov eax, dword fs:[0]
push eax
mov eax, 0x4100
call fcn.100b2ee0
mov eax, dword [0x10146fb4]
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 eax, eax
mov dword [ebp - 0x4070], ebx
mov dword [ebp - 0x4064], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push 0x4000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4010]
push eax
mov dword [ebp - 0x4064], 1
call fcn.100ce5d0
add esp, 0xc
lea ecx, [ebp - 0x4060]
push dword [0x101451a8]
call fcn.100078e0
mov dword [ebp - 4], 1
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x1000554e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x405c], eax
mov eax, str.YRGsswYoC3zwNI8Ri0lIy1UwhG1JsyNQ
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x405c]
test eax, 0xffff0000
jne 0x100052d0
movzx eax, ax
push eax
call fcn.100099c0
jmp 0x100052dc
push 0x20
push str.YRGsswYoC3zwNI8Ri0lIy1UwhG1JsyNQ
call fcn.1000a120
lea eax, [ebp - 0x4060]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x405c]
push eax
lea eax, [ebp - 0x4068]
push eax
call fcn.100a4430
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x4018], 0
mov dword [ebp - 0x4014], 7
mov word [ebp - 0x4028], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005325
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4028]
call fcn.1000b050
mov edx, dword [ebp - 0x4068]
or esi, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005365
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x405c]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005386
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4060]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100053a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x4014], 8
lea ecx, [ebp - 0x406c]
push ecx
lea ecx, [ebp - 0x4010]
mov dword [ebp - 0x406c], 0x2000
push ecx
lea ecx, [ebp - 0x4074]
push ecx
lea eax, [ebp - 0x4028]
cmovae eax, dword [ebp - 0x4028]
push str.token
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100054cb
call fcn.1007bb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100054f2
push 0x6f
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basic_business_business_client.cc
lea ecx, [ebp - 0x4058]
mov dword [ebp - 0x4048], eax
mov dword [ebp - 0x4044], 0xf
mov byte [ebp - 0x4058], al
call fcn.1000af60
push 3
push 0x1010dcec
lea ecx, [ebp - 0x4040]
mov byte [ebp - 4], 9
mov dword [ebp - 0x4030], 0
mov dword [ebp - 0x402c], 0xf
mov byte [ebp - 0x4040], 0
call fcn.1000af60
mov byte [ebp - 4], 0xa
call fcn.1007bb70
mov edi, eax
lea ecx, [ebp - 0x410c]
push 0x57
lea eax, [ebp - 0x4058]
push eax
lea eax, [ebp - 0x4040]
push eax
call fcn.10007c00
mov esi, eax
push str.read_regedit_failed
push esi
mov byte [ebp - 4], 0xb
call fcn.10008f40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x410c]
call fcn.10009000
lea ecx, [ebp - 0x4040]
call fcn.100087a0
lea ecx, [ebp - 0x4058]
call fcn.100087a0
jmp 0x100054f2
lea ecx, [ebp - 0x4010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100054d4
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.1000b050
mov edx, dword [ebp - 0x4014]
cmp edx, 8
jb 0x1000552e
mov ecx, dword [ebp - 0x4028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005558
push edx
push ecx
call fcn.100b2b4e
add esp, 8
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.100b2ecd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10009640
call fcn.100d1c1a
int3