Function at 0x445b10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7f20
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 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.00435b20
mov ebx, dword [ebp - 0x3c]
test eax, eax
jne 0x445e61
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0x100
xor edi, edi
movss dword [ebp - 0x10], xmm0
push 0x202
mov dword [ebp - 0x18], edi
call fcn.0046f3d6
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
nop
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x445dcf
push esi
lea ecx, [ebp - 0x24]
call fcn.0040d490
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x445dc5
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x445bf4
push esi
mov ecx, edi
call fcn.00401eba
lea eax, [esi + 1]
push eax
push dword [edi]
call fcn.005c1d03
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x445dc5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
push edi
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x20]
call fcn.00410c20
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x445c67
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x445c63
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x445c63
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x445c67
mov ecx, edx
call esi
mov eax, dword [ebp - 0x20]
mov edx, str.root_hub
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x445c97
test si, si
je 0x445c93
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x445c97
add ecx, 4
add edx, 4
test si, si
jne 0x445c71
xor ecx, ecx
jmp 0x445c9c
sbb ecx, ecx
or ecx, 1
movss xmm1, dword [ebp - 0x10]
test ecx, ecx
sete cl
test cl, cl
je 0x445cc8
movsd xmm2, qword [0x63d0d0]
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x445cc8
movss xmm0, dword [0x63d0c8]
jmp 0x445d56
mov edx, str.root_hub20
mov ecx, eax
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x445cf6
test si, si
je 0x445cf2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x445cf6
add ecx, 4
add edx, 4
test si, si
jne 0x445cd0
xor ecx, ecx
jmp 0x445cfb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x445d11
movss xmm0, dword [0x63d0e0]
comiss xmm0, xmm1
ja 0x445d56
mov ecx, str.root_hub30
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445d3c
test dx, dx
je 0x445d38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445d3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x445d16
xor eax, eax
jmp 0x445d41
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x445d5b
movss xmm0, dword [0x63d0f8]
maxss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
mov edi, dword [ebp - 0x18]
or eax, 0xffffffff
mov dword [ebp - 0x1c], 0x100
inc edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov esi, dword [ebp - 0x14]
test eax, eax
jg 0x445ba0
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x445db8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x445db8
push ecx
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x14]
jmp 0x445ba0
push ecx
mov ecx, edx
call esi
mov esi, dword [ebp - 0x14]
jmp 0x445ba0
push 0x80070057
call fcn.004021c2
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x63d0bc]
jbe 0x445e54
call fcn.0040cdf0
mov ecx, eax
test ecx, ecx
jne 0x445df2
push 0x80004005
call fcn.004021c2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x445e07
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x445e09
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
cvtps2pd xmm0, xmm0
sub esp, 8
mov byte [ebp - 4], 4
movsd qword [esp], xmm0
push str._.1f
push eax
call fcn.004425b0
mov ecx, dword [ebp - 0x28]
add esp, 0x10
push dword [ebp - 0x14]
mov ecx, dword [ecx]
push 0
push 0x115b4
call fcn.0041a4e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040d440
test esi, esi
je 0x445e61
push esi
call fcn.0046f3d1
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x445e73
push ebx
call esi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x445e8f
push ebx
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