Function at 0x4865f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2df1
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x58bd90]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0xc8], edx
lea edx, [esp + 0x14]
push edx
push esi
push esi
push esi
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0xe0], eax
mov dword [esp + 0xd8], ecx
mov ecx, dword [ebp + 0x18]
push esi
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.msdmo.dll_DMOEnum]
cmp eax, esi
jl 0x486b4e
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x486b4e
mov dword [esp + 0x18], esi
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 + 0xe0]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x486b2f
jmp 0x4866d0
lea ecx, [esp + 0xd8]
push 0x54cfd4
push ecx
call fcn.004052b0
add esp, 8
test eax, eax
jne 0x486af4
lea edx, [esp + 0x54]
push edx
call fcn.004847d0
mov dword [esp + 0xf8], esi
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
call fcn.00401830
mov byte [esp + 0xf8], 1
push eax
lea ecx, [esp + 0x5c]
call fcn.00402150
mov byte [esp + 0xf8], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0xbc], 1
mov dword [esp + 0x88], esi
call fcn.0041d9cc
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x486b3f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xf8], 4
push 0xc
push str._device:dmo:
lea ecx, [esp + 0x24]
call fcn.004016f0
mov edi, dword [sym.imp.ole32.dll_StringFromCLSID]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xdc]
push edx
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x486866
push eax
lea ecx, [esp + 0x3c]
call fcn.00401830
mov byte [esp + 0xf8], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00402220
mov byte [esp + 0xf8], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
push ecx
call ebx
mov dword [esp + 0x10], esi
jmp 0x48686c
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc8]
push eax
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4868d8
push eax
lea ecx, [esp + 0x44]
call fcn.00401830
mov byte [esp + 0xf8], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00402220
mov byte [esp + 0xf8], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4868cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov dword [esp + 0x10], esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x60]
call fcn.00402150
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 2
call fcn.00485580
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xdc]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x38]
call fcn.00401830
mov byte [esp + 0xf8], 9
call fcn.0041d9cc
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x486b3f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xf8], 0xb
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x486956
push eax
call ebx
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push 0x52b7e8
push edx
call fcn.00402950
xor ebx, ebx
mov dword [esp + 0x34], ebx
add esp, 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0xf8], 0xc
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
push ecx
push SysReAllocStringLen
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4869f2
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
push 0x52b7fc
mov dword [esp + 0x3c], ebx
mov edi, 4
mov dword [esp + 0x40], esi
push ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x4869e5
cmp dword [esp + 0x50], edi
je 0x4869ff
mov dword [esp + 0x84], 0x600800
jmp 0x486a0a
mov dword [esp + 0x84], 0x600800
jmp 0x486a1f
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], edx
cmp ebx, esi
je 0x486a1b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x4c]
mov esi, dword [edi + 0xc]
add edi, 4
test esi, esi
js 0x486b49
lea ecx, [esi + 1]
push edi
call fcn.00405c20
imul esi, esi, 0x6c
add esi, dword [edi + 4]
lea edi, [esp + 0x54]
call fcn.00483e50
mov byte [esp + 0xf8], 0xb
xor esi, esi
cmp ebx, esi
je 0x486a62
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0xf8], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486a8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486ab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486ade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.00482ea0
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x486b07
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0xe0]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x4866d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x486b51
push 0x80004005
call fcn.004016a0
call fcn.0041d34a
or eax, 0xffffffff
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 0x14