Function at 0x441cf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x65bfd4]
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.0042fb10
test eax, eax
jne 0x44210c
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.004627e5
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 0x442042
call fcn.0040cb60
test eax, eax
je 0x44218a
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x442156
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 0x441e01
test ebx, 0xffff0000
jne 0x441dea
movzx eax, bx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d3d0
jmp 0x441e0d
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441df0
sub ecx, edx
sar ecx, 1
jmp 0x441e03
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 0x442180
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x441e3c
push edi
lea ecx, [ebp - 0x14]
call fcn.00401fd8
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.005b5908
add esp, 8
cmp edi, dword [esi - 8]
jg 0x442180
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 0x44215f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x441e81
cmp ecx, dword [edi]
jne 0x441e81
mov esi, edi
lock inc dword [ebx]
jmp 0x441eb0
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
je 0x44217b
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 0x441ef7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x442169
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x442169
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 0x441f26
test dx, dx
je 0x441f22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441f26
add eax, 4
add ecx, 4
test dx, dx
jne 0x441f00
xor eax, eax
jmp 0x441f2b
sbb eax, eax
or eax, 1
movss xmm1, dword [ebp - 0x10]
test eax, eax
jne 0x441f52
movsd xmm2, qword [0x62fb10]
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x441f52
movss xmm0, dword [0x62fb08]
jmp 0x441fde
mov ecx, str.root_hub20
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441f86
test dx, dx
je 0x441f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x441f60
xor eax, eax
jmp 0x441f8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x441f9c
movss xmm0, dword [0x62fb20]
comiss xmm0, xmm1
ja 0x441fde
mov ecx, str.root_hub30
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441fc9
test dx, dx
je 0x441fc5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441fc9
add eax, 4
add ecx, 4
test dx, dx
jne 0x441fa3
xor eax, eax
jmp 0x441fce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x441fe3
movss xmm0, dword [0x62fb38]
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 0x441d80
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x442170
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x442170
push esi
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x441d80
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x62fafc]
jbe 0x4420ff
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x44218a
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x442194
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.0043b8e0
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.00417de0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4420ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x44219b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x44219b
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
je 0x44210c
push ebx
call fcn.004627e0
add esp, 4
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x442121
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 0x44213d
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 0x441dc6
call dword [eax + 0x10]
mov ecx, eax
jmp 0x441e6d
call edx
jmp 0x441ef7
push esi
call edx
mov ebx, dword [ebp - 0x18]
jmp 0x441d80
call fcn.004021a9
push 0x80070057
call fcn.004022df
push 0x80004005
call fcn.004022df
call edx
jmp 0x44207a
call edx
jmp 0x4420ff