Function at 0x441e70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x65afd4]
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 0x44228c
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.00462180
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 0x4421c2
call fcn.0040cce6
test eax, eax
je 0x44230a
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x4422d6
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 0x441f81
test ebx, 0xffff0000
jne 0x441f6a
movzx eax, bx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d540
jmp 0x441f8d
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441f70
sub ecx, edx
sar ecx, 1
jmp 0x441f83
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 0x442300
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x441fbc
push edi
lea ecx, [ebp - 0x14]
call fcn.00401fd8
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.005b52c8
add esp, 8
cmp edi, dword [esi - 8]
jg 0x442300
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 0x4422df
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x442001
cmp ecx, dword [edi]
jne 0x442001
mov esi, edi
lock inc dword [ebx]
jmp 0x442030
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
je 0x4422fb
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 0x442077
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4422e9
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4422e9
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 0x4420a6
test dx, dx
je 0x4420a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4420a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x442080
xor eax, eax
jmp 0x4420ab
sbb eax, eax
or eax, 1
movss xmm1, dword [ebp - 0x10]
test eax, eax
jne 0x4420d2
movsd xmm2, qword [0x62f798]
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x4420d2
movss xmm0, dword [0x62f790]
jmp 0x44215e
mov ecx, str.root_hub20
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442106
test dx, dx
je 0x442102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4420e0
xor eax, eax
jmp 0x44210b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44211c
movss xmm0, dword [0x62f7a8]
comiss xmm0, xmm1
ja 0x44215e
mov ecx, str.root_hub30
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442149
test dx, dx
je 0x442145
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442149
add eax, 4
add ecx, 4
test dx, dx
jne 0x442123
xor eax, eax
jmp 0x44214e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x442163
movss xmm0, dword [0x62f7c0]
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 0x441f00
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4422f0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4422f0
push esi
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x441f00
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x62f780]
jbe 0x44227f
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x44230a
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x442314
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.0043ba70
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 0x44227f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x44231b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x44231b
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
je 0x44228c
push ebx
call fcn.0046217b
add esp, 4
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4422a1
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 0x4422bd
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 0x441f46
call dword [eax + 0x10]
mov ecx, eax
jmp 0x441fed
call edx
jmp 0x442077
push esi
call edx
mov ebx, dword [ebp - 0x18]
jmp 0x441f00
call fcn.004021a9
push 0x80070057
call fcn.004022df
push 0x80004005
call fcn.004022df
call edx
jmp 0x4421fa
call edx
jmp 0x44227f