Function at 0x1075bc6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x848], ecx
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x844], ecx
lea ecx, [ebp - 0x414]
push ebx
mov dword [ebp - 0x834], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x840], ecx
lea ecx, [ebp - 0x824]
push edi
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x83c], ecx
mov dword [ebp - 0x858], 0x1014084
mov dword [ebp - 0x854], 0x1014064
mov dword [ebp - 0x850], 0x1014040
mov dword [ebp - 0x84c], 0x1014020
cmp eax, ebx
jne 0x1075c68
mov edi, 0x80004003
push edi
push 0x86b013c
call fcn.0108c503
jmp 0x1075e7c
push esi
mov dword [eax], ebx
lea eax, [ebp - 0x82c]
push eax
push 0x1013fb0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
cmp edi, ebx
je 0x1075c93
push edi
push 0x872013c
jmp 0x1075e61
mov esi, 0x208
lea eax, [ebp - 0x830]
push eax
push dword [ebp + ebx - 0x848]
mov dword [ebp - 0x830], esi
push 0
push 0
push dword [ebp + ebx - 0x858]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x1075d25
add ebx, 4
cmp ebx, 0x10
jb 0x1075c98
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1075cda
mov ecx, dword [ebp - 0x834]
sub eax, edx
sar eax, 1
lea edx, [ecx + 2]
mov di, word [ecx]
inc ecx
inc ecx
test di, di
jne 0x1075cf1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + eax + 5]
cmp eax, 0x104
jb 0x1075d30
mov edi, 0x8007006f
push edi
push 0x886013c
push dword [ebp - 0x834]
call fcn.0108c53e
jmp 0x1075e66
push edi
push 0x87e013c
jmp 0x1075e61
push 0x1008b90
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0103e7cf
push dword [ebp - 0x834]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0103e7cf
push 0x1013fa4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0103e7cf
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
xor ebx, ebx
push ebx
push ebx
mov esi, 0x100e118
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x1075daf
push eax
push 0x896013c
push esi
call fcn.0108c53e
mov dword [ebp - 0x828], 0xb0
and dword [ebp - 0x828], 0xfffffffe
lea eax, [ebp - 0x20c]
push eax
push 0x1b9
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push 0x10042f8
call fcn.0109c1c3
mov esi, dword [ebp - 0x838]
add esp, 0xc
push esi
push 0x102290c
push 1
push ebx
push 0x102293c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
je 0x1075e02
push edi
push 0x8a6013c
jmp 0x1075e61
cmp dword [ebp + 0xc], ebx
je 0x1075e13
or dword [ebp - 0x828], 0x401
jmp 0x1075e22
cmp dword [0x10d22a0], ebx
je 0x1075e22
or dword [ebp - 0x828], 2
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0x824]
push edx
lea edx, [ebp - 0x414]
push edx
lea edx, [ebp - 0x61c]
push edx
lea edx, [ebp - 0x20c]
push edx
push 0x1004688
push 1
push 2
push dword [ebp - 0x828]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
je 0x1075e7b
push edi
push 0x8b9013c
call fcn.0108c503
mov esi, dword [ebp - 0x838]
mov eax, dword [esi]
test eax, eax
je 0x1075e7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
pop esi
cmp dword [ebp - 0x82c], 0
je 0x1075e91
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.01077d0b
leave
ret 0xc