Function at 0x100175a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001777c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10017698
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10017617
mov dword [ebp - 0x18], 1
jmp 0x1001761b
and dword [ebp - 0x18], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10019c33
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x10017635
mov dword [ebp - 0x1c], 1
jmp 0x10017639
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xffff
jbe 0x1001764b
mov dword [ebp - 0x20], 1
jmp 0x1001764f
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jne 0x10017662
mov dword [ebp - 0x24], 1
jmp 0x10017666
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
neg eax
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [eax + ecx - 0x7c62]
test eax, eax
jne 0x1001768f
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10019c33
cmp dword [eax], 0
je 0x10017698
mov dword [ebp - 0x10], 1
jmp 0x1001769c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jge 0x100176b3
mov dword [ebp - 0x28], 1
jmp 0x100176b7
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xf444
je 0x100176c9
mov dword [ebp - 0x2c], 1
jmp 0x100176cd
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 1
jle 0x100176dc
mov dword [ebp - 0x14], 1
jmp 0x100176e0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
sub eax, 0x5ec35211
cmp eax, 0xafbf
jle 0x10017700
mov dword [ebp - 0x30], 1
jmp 0x10017704
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x1718bc69
jle 0x10017716
mov dword [ebp - 0x34], 1
jmp 0x1001771a
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10019c33
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax]
jg 0x10017734
mov dword [ebp - 0x38], 1
jmp 0x10017738
and dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10019c33
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
je 0x10017752
mov dword [ebp - 0x3c], 1
jmp 0x10017756
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x10017769
mov dword [ebp - 0x40], 1
jmp 0x1001776d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
jmp 0x1001779a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001779a
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esp, ebp
pop ebp
ret