Function at 0x10032c90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f7f3
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x10067068]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x10067068]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
mov esi, ecx
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xf8]
push edx
push ebx
push esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
cmp ecx, ebx
jne 0x100331fb
mov edi, edi
lea eax, [esp + 0x3c]
push eax
push SysReAllocString
push ebx
lea ecx, [esp + 0xf0]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x10033209
mov eax, dword [esp + 0x3c]
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x40]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x84], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x10032d64
mov edi, eax
jmp 0x100331b8
xor edx, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov dword [esp + 0x2f8], ebx
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, ebx
ja 0x10032d95
or eax, 0xffffffff
lea esi, [esp + 0x58]
call fcn.1000d050
jmp 0x10032da1
push ebx
mov eax, ecx
lea edi, [esp + 0x5c]
call fcn.10016e20
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2f8], 1
mov eax, dword [esp + 0x28]
mov edi, eax
cmp eax, ebx
jbe 0x10032df4
push eax
lea esi, [esp + 0x1c]
call fcn.10029360
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
add eax, edi
je 0x10032de6
push eax
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x28]
add esi, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
mov ecx, 7
xor edx, edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0xa8], ecx
xor ecx, ecx
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x74], 1
mov byte [esp + 0x2f8], 3
mov byte [esp + 0x17], cl
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x34]
inc edx
mov ebx, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], edx
cmp dword [esp + 0x6c], ebx
jae 0x10032e73
lea eax, [esp + 0x58]
lea ecx, [esp + 0x44]
push ecx
push esi
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test edi, edi
jne 0x10033062
cmp dword [esp + 0x50], 1
jne 0x10033055
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032eb9
lea eax, [esp + 0x58]
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.type
push eax
call edi
add esp, 8
test eax, eax
jne 0x10032eec
lea edi, [esp + 0x74]
call fcn.10033240
mov esi, dword [esp + 0x18]
inc dword [esp + 0x30]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x28]
jmp 0x10032e53
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032efa
lea eax, [esp + 0x58]
push str.replacement
push eax
call edi
add esp, 8
test eax, eax
jne 0x10032f3c
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10032f10
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x7c]
call fcn.1000cf60
mov esi, dword [esp + 0x18]
inc dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jmp 0x10032e53
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032f4a
lea eax, [esp + 0x58]
push str.category
push eax
call edi
add esp, 8
test eax, eax
jne 0x10032f8f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10032f60
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x98]
call fcn.1000cf60
mov esi, dword [esp + 0x18]
inc dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jmp 0x10032e53
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032f9d
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10032fa0
sub eax, edx
sar eax, 1
cmp eax, 6
jb 0x10033055
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032fc6
lea eax, [esp + 0x58]
xor ecx, ecx
mov word [eax + 0xc], cx
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x10032fda
lea eax, [esp + 0x58]
push str.source
push eax
call edi
add esp, 8
test eax, eax
jne 0x10033055
mov eax, esi
lea ecx, [esp + 0xc8]
call fcn.1000a3a0
lea ecx, [esp + 0xc8]
lea edi, [esp + 0xb0]
mov byte [esp + 0x2f8], 4
call fcn.10033c40
mov byte [esp + 0x2f8], 3
cmp dword [esp + 0xdc], 8
jb 0x10033035
mov edx, dword [esp + 0xc8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
inc dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jmp 0x10032e53
cmp edi, 0x103
jne 0x1003315b
cmp byte [esp + 0x17], 0
je 0x1003310d
lea ecx, [esp + 0x74]
push ecx
call fcn.10033ac0
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebx + 0x48]
lea edx, [esp + 0x74]
cmp edx, edi
jae 0x100330de
mov eax, dword [ebx + 0x44]
mov ecx, edx
cmp eax, ecx
ja 0x100330de
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 0x4c]
jne 0x100330bb
lea ecx, [ebx + 0x44]
call fcn.10033d50
mov eax, dword [ebx + 0x48]
imul esi, esi, 0x4c
add esi, dword [ebx + 0x44]
mov byte [esp + 0x2f8], 5
test eax, eax
je 0x100330d8
push eax
mov edi, esi
call fcn.10034280
mov esi, dword [esp + 0x18]
jmp 0x10033104
cmp edi, dword [ebx + 0x4c]
jne 0x100330eb
lea ecx, [ebx + 0x44]
call fcn.10033d50
mov eax, dword [ebx + 0x48]
mov byte [esp + 0x2f8], 6
test eax, eax
je 0x10033104
push eax
lea edi, [esp + 0x78]
call fcn.10034280
add dword [ebx + 0x48], 0x4c
mov ebx, 8
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x2fc], 1
call fcn.10017130
xor edi, edi
mov byte [esp + 0x2f8], 0
cmp esi, edi
je 0x10033137
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x2f8], 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x6c], ebx
jb 0x100331b2
mov eax, dword [esp + 0x58]
push eax
jmp 0x100331a9
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x2fc], 1
call fcn.10017130
xor eax, eax
mov byte [esp + 0x2f8], 0
cmp esi, eax
je 0x10033187
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x2f8], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x6c], ebx
jb 0x100331b2
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x10033209
mov eax, dword [esp + 0x38]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xf8]
inc eax
push edx
push eax
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
cmp ecx, ebx
je 0x10032d10
lea eax, [ecx - 0x103]
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1003320b
mov eax, edi
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 4