Function at 0x1003ae80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b702e
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x810]
mov esi, dword [ebp + 0xc]
push 0x800
push 0
mov dword [ebp - 0x1050], edi
push eax
mov dword [ebp - 4], 0
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 ebx, dword [ebp - 0x101c]
test eax, eax
jne 0x1003afce
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 ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003afce
mov eax, dword [ebp - 0x1048]
cmp eax, 1
je 0x1003af68
cmp eax, 2
jne 0x1003afce
mov eax, dword [ebp - 0x1044]
test eax, eax
je 0x1003af85
test al, 1
jne 0x1003afce
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x1003af8e
jmp 0x1003afce
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
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x1003afc1
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003afc1
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003afa3
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x1003afd9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x1003b1c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10022430
test al, al
jne 0x1003b032
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b014
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
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 0x1003b1a7
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 0x7e5
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.100174f0
mov esi, eax
push str.install_path:
push esi
mov byte [ebp - 4], 4
call fcn.10016760
mov ecx, dword [edi]
mov edx, 0x101d0c4c
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10016760
add esp, 0x10
call fcn.100bfc20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10e8]
call fcn.10018510
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x1003b156
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b14c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b1cf
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 0x1003b1a7
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b19d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b1d4
push edx
push ecx
call fcn.101454bc
add esp, 8
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.101454ca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1001bf60
call fcn.1018b109
call fcn.1018b109
int3