Function at 0x10322bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x107fa78]
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 0x1001bd0
push SysReAllocString
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x2c4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10324c7
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x2c0]
push eax
push ebx
push 0x1001c9c
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 0x1032515
cmp dword [ebp - 0x2c0], esi
jne 0x1032515
mov esi, 0x1001a5c
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, 0x1001a6c
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, 0x1001a7c
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, 0x1001a8c
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, 0x1001a9c
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, 0x1001aac
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, 0x1001abc
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, 0x1001acc
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, 0x1001adc
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, 0x1001aec
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 0x1032447
inc dword [ebp - 0x2c8]
add eax, 0x10
cmp dword [ebp - 0x2c8], 0xa
jb 0x103241d
mov eax, dword [ebp - 0x2d4]
jmp 0x103244d
mov eax, dword [ebp - 0x2c8]
inc eax
push eax
call fcn.0105dc8b
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 0
push 0x1001c74
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 0x10324b3
cmp dword [ebp - 0x2c0], ebx
jne 0x10324b3
push dword [ebp - 0x2cc]
call fcn.0105db14
push dword [ebp - 0x2cc]
push 0x1001c54
push ebx
call fcn.0105e5ad
add esp, 0xc
xor ebx, ebx
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x2d8]
cmp dword [0x1081428], ebx
je 0x1032504
mov eax, dword [0x10821f4]
cmp eax, ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
je 0x10324e5
push eax
call esi
test eax, eax
jne 0x10324fe
push edi
mov dword [0x10821f4], edi
call esi
test eax, eax
jne 0x10324fe
push 0x1001c28
push 2
call fcn.0105e573
push ebx
call fcn.0105de62
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 4
push dword [0x1081468]
call fcn.0105db14
inc dword [0x1081468]
cmp dword [0x1081468], 0x1e
jbe 0x10324b5
mov dword [0x1081468], ebx
jmp 0x10324b5