Function at 0x441a50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d90e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x659fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0x20019
push str.systemcurrentcontrolsetenumusb
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.0042f890
test eax, eax
jne 0x441e6c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x100
xor edi, edi
movss dword [ebp - 0x10], xmm0
push 0x202
mov dword [ebp - 0x1c], edi
call fcn.00461290
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
nop dword [eax]
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x441da2
call fcn.0040cce6
test eax, eax
je 0x441eea
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x441eb6
lock inc dword [eax + 0x14]
add eax, 8
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x441b61
test ebx, 0xffff0000
jne 0x441b4a
movzx eax, bx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d540
jmp 0x441b6d
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441b50
sub ecx, edx
sar ecx, 1
jmp 0x441b63
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.004020e5
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x441ee0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x441b9c
push edi
lea ecx, [ebp - 0x14]
call fcn.00401fd8
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.005b43c8
add esp, 8
cmp edi, dword [esi - 8]
jg 0x441ee0
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
lea edi, [esi - 0x10]
mov ecx, dword [edi]
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x441ebf
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x441be1
cmp ecx, dword [edi]
jne 0x441be1
mov esi, edi
lock inc dword [ebx]
jmp 0x441c10
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
je 0x441edb
mov ecx, dword [edi + 4]
lea eax, [esi + 0x10]
mov dword [esi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [edi + 4]
inc edx
push edx
push ecx
push edx
push eax
call fcn.004021b4
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x441c57
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x441ec9
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x441ec9
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, str.root_hub
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441c86
test dx, dx
je 0x441c82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441c86
add eax, 4
add ecx, 4
test dx, dx
jne 0x441c60
xor eax, eax
jmp 0x441c8b
sbb eax, eax
or eax, 1
movss xmm1, dword [ebp - 0x10]
test eax, eax
jne 0x441cb2
movsd xmm2, qword [0x62e630]
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x441cb2
movss xmm0, dword [0x62e628]
jmp 0x441d3e
mov ecx, str.root_hub20
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441ce6
test dx, dx
je 0x441ce2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441ce6
add eax, 4
add ecx, 4
test dx, dx
jne 0x441cc0
xor eax, eax
jmp 0x441ceb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x441cfc
movss xmm0, dword [0x62e640]
comiss xmm0, xmm1
ja 0x441d3e
mov ecx, str.root_hub30
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441d29
test dx, dx
je 0x441d25
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441d29
add eax, 4
add ecx, 4
test dx, dx
jne 0x441d03
xor eax, eax
jmp 0x441d2e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x441d43
movss xmm0, dword [0x62e658]
maxss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
mov edi, dword [ebp - 0x1c]
add esi, 0xfffffff0
inc edi
mov dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], edi
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [esi + 0xc], eax
dec eax
mov ebx, dword [ebp - 0x18]
test eax, eax
jg 0x441ae0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x441ed0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x441ed0
push esi
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x441ae0
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x62e618]
jbe 0x441e5f
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x441eea
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x441ef4
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x1c], eax
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
cvtps2pd xmm0, xmm0
sub esp, 8
mov byte [ebp - 4], 6
movsd qword [esp], xmm0
push str._.1f
push eax
call fcn.0043b640
mov esi, dword [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [ebp - 0x24]
push esi
mov ecx, dword [ecx]
push 0
push 0x115b4
call fcn.00417e80
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441e5f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x441efb
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x441efb
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
je 0x441e6c
push ebx
call fcn.0046128b
add esp, 4
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x441e81
push eax
call esi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x441e9d
push eax
call esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call edx
jmp 0x441b26
call dword [eax + 0x10]
mov ecx, eax
jmp 0x441bcd
call edx
jmp 0x441c57
push esi
call edx
mov ebx, dword [ebp - 0x18]
jmp 0x441ae0
call fcn.004021a9
push 0x80070057
call fcn.004022df
push 0x80004005
call fcn.004022df
call edx
jmp 0x441dda
call edx
jmp 0x441e5f