Function at 0x10334d1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1001b38
push 0x80000001
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x2c4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10336dc
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x2c0]
push eax
push ebx
push 0x1001c04
push dword [ebp - 0x2c4]
xor esi, esi
inc esi
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2d0], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103372a
cmp dword [ebp - 0x2c0], esi
jne 0x103372a
mov esi, 0x1001a0c
lea edi, [ebp - 0x2bc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a1c
lea edi, [ebp - 0x2ac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a2c
lea edi, [ebp - 0x29c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a3c
lea edi, [ebp - 0x28c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a4c
lea edi, [ebp - 0x27c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a5c
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a6c
lea edi, [ebp - 0x25c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a7c
lea edi, [ebp - 0x24c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a8c
lea edi, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x1001a9c
lea edi, [ebp - 0x22c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x2d4], ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 4
mov dword [ebp - 0x2c8], ebx
lea eax, [ebp - 0x2bc]
pop ebx
mov ecx, ebx
lea edi, [ebp - 0x21c]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x103365c
inc dword [ebp - 0x2c8]
add eax, 0x10
cmp dword [ebp - 0x2c8], 0xa
jb 0x1033632
mov eax, dword [ebp - 0x2d4]
jmp 0x1033662
mov eax, dword [ebp - 0x2c8]
inc eax
push eax
call fcn.01055382
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 0
push 0x1001bdc
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0x2d0], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10336c8
cmp dword [ebp - 0x2c0], ebx
jne 0x10336c8
push dword [ebp - 0x2cc]
call fcn.0105520b
push dword [ebp - 0x2cc]
push 0x1001bbc
push ebx
call fcn.01055c69
add esp, 0xc
xor ebx, ebx
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x2d8]
cmp dword [0x10739e8], ebx
je 0x1033719
mov eax, dword [0x10746bc]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x10336fa
push eax
call esi
test eax, eax
jne 0x1033713
push edi
mov dword [0x10746bc], edi
call esi
test eax, eax
jne 0x1033713
push 0x1001b90
push 2
call fcn.01055c2f
push ebx
call fcn.01055521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047464
leave
ret 4
push dword [0x1073a5c]
call fcn.0105520b
inc dword [0x1073a5c]
cmp dword [0x1073a5c], 0x1e
jbe 0x10336ca
mov dword [0x1073a5c], ebx
jmp 0x10336ca