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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4f07b0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4f07b0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0x18]
push ebx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], ebx
call sub.msdmo.dll_DMOEnum
cmp eax, ebx
jl 0x437cb3
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x437cb3
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x64]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x437c9e
lea ecx, [esp + 0x5c]
push 0x4c1b28
push ecx
call section..text
add esp, 8
test eax, eax
jne 0x437c66
lea edx, [esp + 0x6c]
push edx
call fcn.00435220
mov dword [esp + 0xf0], ebx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00409030
mov byte [esp + 0xf0], 1
push eax
lea ecx, [esp + 0x74]
call fcn.00409c00
mov byte [esp + 0xf0], bl
lea ecx, [esp + 0x30]
call fcn.00409790
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0xd4], 1
mov dword [esp + 0xa0], ebx
call fcn.00408f60
mov byte [esp + 0xf0], 2
push 0xc
push str._device:dmo:
lea ecx, [esp + 0x24]
call fcn.0040a130
mov edi, dword [sym.imp.ole32.dll_StringFromCLSID]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x437a72
push eax
lea ecx, [esp + 0x3c]
call fcn.00409030
mov byte [esp + 0xf0], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0041b210
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x38]
call fcn.00409790
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push edx
call esi
mov dword [esp + 0x10], ebx
jmp 0x437a78
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
push ecx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x437aca
push eax
lea ecx, [esp + 0x48]
call fcn.00409030
mov byte [esp + 0xf0], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0041b210
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x44]
call fcn.00409790
mov edx, dword [esp + 0x10]
push edx
call esi
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
call fcn.00409c00
lea ecx, [esp + 0x6c]
mov dword [esp + 0x98], 2
call fcn.004357f0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.00409030
mov byte [esp + 0xf0], 5
lea ecx, [esp + 0x28]
call fcn.00408f60
mov byte [esp + 0xf0], 6
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x437b2a
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push str.CLSID_s
push edx
call fcn.0040aad0
add esp, 0xc
mov dword [esp + 0x20], ebx
mov byte [esp + 0xf0], 7
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
push 0x20019
push ebx
push ecx
push SysReAllocStringLen
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x437bb4
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
push ecx
push ebx
push str.Merit
mov edi, 4
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x437ba7
cmp dword [esp + 0x40], edi
je 0x437bc1
mov dword [esp + 0x9c], 0x600800
jmp 0x437bcc
mov dword [esp + 0x9c], 0x600800
jmp 0x437bdb
mov edx, dword [esp + 0x48]
mov dword [esp + 0x9c], edx
cmp esi, ebx
je 0x437bdb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x34]
mov esi, dword [edi + 0xc]
add edi, 4
cmp esi, ebx
jl 0x437cae
lea ecx, [esi + 1]
push edi
call fcn.0040e5c0
imul esi, esi, 0x6c
add esi, dword [edi + 4]
lea edi, [esp + 0x6c]
call fcn.004355a0
mov byte [esp + 0xf0], 6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x437c20
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov byte [esp + 0xf0], 5
lea ecx, [esp + 0x28]
call fcn.00409790
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x2c]
call fcn.00409790
mov byte [esp + 0xf0], bl
lea ecx, [esp + 0x1c]
call fcn.00409790
mov dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.004354e0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x437c79
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x64]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x437932
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x437cb6
call fcn.004547dc
or eax, 0xffffffff
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004892f2
mov esp, ebp
pop ebp
ret 0x14