Function at 0x10038f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6c5e
mov eax, dword fs:[0]
push eax
mov eax, 0x10e0
call fcn.101459c0
mov eax, dword [0x102258ec]
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]
lea eax, [ebp - 0x810]
mov esi, dword [ebp + 0xc]
push 0x800
push 0
mov dword [ebp - 0x1054], ebx
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1050], esi
mov dword [ebp - 0x104c], 0
call fcn.10187ab0
add esp, 0xc
mov dword [ebp - 0x101c], 0
lea ecx, [ebp - 0x101c]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
push 0x20219
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100312a0
mov edi, dword [ebp - 0x101c]
test eax, eax
jne 0x100390cb
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1044], 0x800
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1048]
push eax
push 0
push str.Setup_Path
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100390cb
mov eax, dword [ebp - 0x1048]
cmp eax, 1
je 0x1003905e
cmp eax, 2
jne 0x100390cb
mov eax, dword [ebp - 0x1044]
test eax, eax
je 0x1003907b
test al, 1
jne 0x100390cb
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x10039084
jmp 0x100390cb
xor eax, eax
mov word [ebp - 0x1010], ax
lea ecx, [ebp - 0x810]
mov edx, 0x3ff
lea esi, [ebp - 0x1010]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x100390be
movzx eax, word [esi + ecx]
test ax, ax
je 0x100390be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100390a0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x100390d6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x100392e1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.10022430
test al, al
jne 0x1003912f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039111
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.1001e110
mov dword [ebp - 4], 0
mov dword [ebp - 0x104c], 1
call fcn.100bfc20
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100392c3
push 0x48
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commonutils.cpp
lea ecx, [ebp - 0x1040]
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], al
call fcn.1001a260
push 3
push 0x101d0d58
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 2
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.1001a260
push 0x8a7
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x10ec]
call fcn.100174f0
mov edi, eax
push str.appReg:
push edi
mov byte [ebp - 4], 4
call fcn.10016760
mov eax, dword [ebp - 0x1050]
mov esi, 0x101d0c4c
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
push edi
call fcn.10016760
push str._install_path:
push edi
call fcn.10016760
mov eax, dword [ebx]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10016760
add esp, 0x20
call fcn.100bfc20
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10ec]
call fcn.10018510
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x10039272
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100392eb
push edx
push ecx
call fcn.101454bc
add esp, 8
mov edx, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
cmp edx, 0x10
jb 0x100392c3
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100392b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100392f0
push edx
push ecx
call fcn.101454bc
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.101454ca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1001bf60
call fcn.1018b109
call fcn.1018b109
int3