Function at 0x10001700
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000f4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x10014020]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10014020]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x236]
push ebx
push eax
mov word [esp + 0x23c], bx
call fcn.10003830
add esp, 0xc
push ebx
push 0x1a
lea ecx, [esp + 0x238]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jne 0x10001778
xor eax, eax
jmp 0x1000195f
push 0x206
lea edx, [esp + 0x2e]
push ebx
push edx
xor edi, edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x34], bx
call fcn.10003830
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x10011d2c
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallDesktopCal
mov ebp, 1
push 0x80000002
mov dword [esp + 0x3c], 0x208
mov dword [esp + 0x34], ebp
call esi
cmp eax, ebx
jne 0x10001872
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.10001b70
lea eax, [esp + 0x14]
mov dword [esp + 0x444], ebx
call fcn.10001cb0
mov ebx, eax
call fcn.10001d00
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 4], ebp
jle 0x10001815
mov ecx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.10001dc0
mov ecx, dword [esp + 0x14]
call fcn.10001610
test eax, eax
je 0x1000183d
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], ebp
call fcn.10002f5d
add esp, 8
test eax, eax
je 0x1000183d
mov edi, ebp
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x10001771
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.10003830
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x10011d2c
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallDesktopCal
push 0x80000001
mov dword [esp + 0x3c], 0x208
mov dword [esp + 0x34], ebp
call esi
cmp eax, ebx
jne 0x10001956
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
call fcn.10001b70
lea eax, [esp + 0x18]
mov dword [esp + 0x444], ebp
call fcn.10001cb0
mov ebx, eax
call fcn.10001d00
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 4], ebp
jle 0x100018f9
mov eax, dword [ecx - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10001dc0
mov ecx, dword [esp + 0x18]
call fcn.10001610
test eax, eax
je 0x10001921
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x28], ebp
call fcn.10002f5d
add esp, 8
test eax, eax
je 0x10001921
mov edi, ebp
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000194c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x10001954
mov eax, ebp
jmp 0x1000195f
xor ebx, ebx
xor eax, eax
cmp dword [esp + 0x20], ebx
sete al
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.10003262
add esp, 0x434
ret