Function at 0x673e883b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov eax, dword [esp + 0x18]
mov ebp, esp
sub esp, 0xce0
mov dword [eax], 0
push ebx
push esi
mov eax, dword [ebp + 0x10]
push edi
cmp eax, 1
mov dword [ebp - 0x14], 0xc30
je 0x673e8881
cmp eax, 2
je 0x673e88cc
cmp eax, 3
je 0x673e89d7
cmp eax, 4
je 0x673e8a87
mov eax, 0xe
jmp 0x673e8c4a
push 0
mov edi, dword [ebp + 8]
push edi
call sub.MSVCR80.dll__access
add esp, 8
cmp eax, 0xffffffff
jne 0x673e8b89
test byte [ebp + 0xc], 8
je 0x673e88c2
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
and eax, 7
push eax
push ebx
push dword [ebp + 0x10]
push 0
push edi
call fcn.673eceb0
cmp eax, 1
je 0x673e8b8c
jmp 0x673e8c4a
mov eax, 0xf
jmp 0x673e8c4a
xor esi, esi
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
test al, al
je 0x673e88f0
movsx eax, al
push eax
inc esi
call sub.MSVCR80.dll_toupper
add esp, 4
add al, 7
mov byte [ebp + esi - 0x4d], al
cmp esi, 0x32
jl 0x673e88d1
push str.softwareclasses_vdsp
lea eax, [ebp - 0xb0]
mov byte [ebp + esi - 0x4c], 0
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
cmp byte [edi], 0x3a
jne 0x673e8943
xor eax, eax
cmp byte [edi + 4], 0x3a
je 0x673e8929
mov cl, byte [eax + edi + 4]
inc eax
cmp byte [eax + edi + 4], 0x3a
mov byte [ebp + eax - 0xb1], cl
jne 0x673e8916
mov byte [ebp + eax - 0xb0], 0
add eax, edi
lea ecx, [ebp - 0x4c]
add eax, 5
push eax
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xb0]
push eax
push ecx
push reloc.ImNtUtilU.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x673e899a
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xce0]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x4c]
push edx
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x673e899a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x673e8b89
mov eax, 0x2c
jmp 0x673e8c4a
test byte [ebp + 0xc], 8
je 0x673e89c4
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
and eax, 7
push eax
push ebx
push dword [ebp + 0x10]
push 0
push edi
call fcn.673eceb0
cmp eax, 1
je 0x673e8b8c
jmp 0x673e8c4a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xf
jmp 0x673e8c4a
lea eax, [ebp - 4]
mov edi, dword [ebp + 8]
movsx cx, byte [edi]
push eax
push ecx
call fcn.673ebb50
test ax, ax
je 0x673e89f7
mov eax, 0x2f
jmp 0x673e8c4a
lea eax, [ebp - 8]
mov ebx, dword [ebp + 0x14]
push eax
push ebx
movsx ax, byte [edi]
push eax
call fcn.673ebca0
test ax, ax
je 0x673e8a18
mov eax, 0x35
jmp 0x673e8c4a
mov cl, byte [ebx + 4]
mov dl, byte [ebx + 3]
mov dword [ebp - 4], 0
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x673e8a3d
mov eax, 0x35
jmp 0x673e8c4a
lea eax, [ebp - 8]
lea ecx, [ebx + 5]
movsx dx, byte [edi]
push eax
push ecx
push edx
call fcn.673ebd00
test ax, ax
je 0x673e8a5e
mov eax, 0x36
jmp 0x673e8c4a
mov cl, byte [ebx + 9]
mov dl, byte [ebx + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x673e8b8c
mov eax, 0x36
jmp 0x673e8c4a
lea eax, [ebp - 4]
mov edi, dword [ebp + 8]
movsx cx, byte [edi]
push eax
push ecx
call fcn.673ebb50
test ax, ax
je 0x673e8aa7
mov eax, 0x2f
jmp 0x673e8c4a
cmp byte [ebp - 4], 0xc9
je 0x673e8ab7
mov eax, 0x30
jmp 0x673e8c4a
lea eax, [ebp - 8]
mov ebx, dword [ebp + 0x14]
push eax
push ebx
movsx ax, byte [edi]
push eax
call fcn.673ebca0
test ax, ax
je 0x673e8ad8
mov eax, 0x35
jmp 0x673e8c4a
mov cl, byte [ebx + 4]
mov dl, byte [ebx + 3]
mov dword [ebp - 4], 0
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x673e8afd
mov eax, 0x35
jmp 0x673e8c4a
lea eax, [ebp - 8]
lea ecx, [ebx + 5]
movsx dx, byte [edi]
push eax
push ecx
push edx
call fcn.673ebd00
test ax, ax
je 0x673e8b1e
mov eax, 0x36
jmp 0x673e8c4a
mov cl, byte [ebx + 9]
mov dl, byte [ebx + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x673e8b43
mov eax, 0x36
jmp 0x673e8c4a
lea eax, [ebp - 8]
lea ecx, [ebx + 0xa]
movsx dx, byte [edi]
push eax
push ecx
push edx
call fcn.673ebd60
test ax, ax
je 0x673e8b64
mov eax, 0x37
jmp 0x673e8c4a
mov cl, byte [ebx + 0xe]
mov dl, byte [ebx + 0xd]
mov dword [ebp - 4], 0
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x673e8b8c
mov eax, 0x37
jmp 0x673e8c4a
mov ebx, dword [ebp + 0x14]
push 0x1aa
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x673e8baa
mov eax, 0x10
jmp 0x673e8c4a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push 0
push edi
push esi
call fcn.673ebabe
add esp, 0xc
cmp dword [ebp + 0x10], 3
jne 0x673e8bcb
push 0x11
jmp 0x673e8bd7
cmp dword [ebp + 0x10], 4
jne 0x673e8bd5
push 0x1a
jmp 0x673e8bd7
push 0
push ebx
lea eax, [esi + 0x104]
push eax
call fcn.673ebabe
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov byte [esi + 0x181], cl
mov dword [esi + 0x182], ecx
mov dword [esi + 0x100], eax
mov dword [esi + 0x186], ecx
mov dword [esi + 0x1a2], ecx
mov dword [esi + 0x1a6], edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0xce0]
push ecx
push esi
call fcn.673e8c53
add esp, 8
mov edi, eax
cmp edi, 1
je 0x673e8c40
push esi
call fcn.673e7169
mov eax, edi
jmp 0x673e8c4a
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14