Function at 0x10002420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000f448
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10014034]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x10014034]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x100024a3
mov edx, dword [esp + 0x18]
push edx
push ecx
call fcn.10007cf0
mov ebx, eax
mov eax, dword [esi + 0x18]
add esp, 8
mov dword [esp + 0x14], eax
mov edi, ebx
cmp ebx, eax
je 0x100024a0
mov edi, edi
mov eax, edi
call fcn.100032c0
add edi, 0x28
cmp edi, dword [esp + 0x14]
jne 0x10002490
mov dword [esi + 0x18], ebx
push 0xe
xor edi, edi
push edi
push 0x10010408
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10002640
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
mov dword [esp + 0x28], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, edi
je 0x10002515
inc dword [esp + 0x14]
sub esp, 0x1c
mov edi, esp
mov ecx, 7
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
push ebx
call sym.Device.dll_private:_bool___thiscall_CDevice::GetDeviceInfo_void___struct__SP_DEVINFO_DATA_
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x100024dc
mov esi, dword [esp + 0x10]
xor edi, edi
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x66666667
imul ecx
mov ecx, dword [0x10014484]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10002553
cmp ecx, 0x1e
jg 0x10002553
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x10014484]
jmp 0x10002467
cmp eax, edi
je 0x10002591
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x13], 0
jne 0x10002574
cmp dword [0x10014488], 0xa
jge 0x10002574
inc dword [0x10014488]
jmp 0x10002467
mov dword [0x10014488], edi
cmp byte [eax + 0x11], 0
jne 0x10002597
cmp ecx, 0x32
jge 0x10002597
inc ecx
mov dword [0x10014484], ecx
jmp 0x10002467
mov dword [0x10014488], edi
mov ecx, esi
mov dword [0x10014484], edi
call sym.Device.dll_private:_void___thiscall_CDevice::DeepScanDevice_void_
mov ecx, esi
mov dword [esi + 0xc], edi
call sym.Device.dll_private:_int___thiscall_CDevice::IsHasNewDevice_void_
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
jne 0x100025c1
push 0x10010420
call ebx
jmp 0x100025de
cmp dword [esi + 8], edi
je 0x100025de
push 0x10010438
call ebx
mov eax, dword [esi + 8]
push edi
push edi
push 0x800
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
lea edi, [esp + 0x10]
push eax
push 0x10010410
call fcn.10007a00
mov esi, dword [esp + 0x18]
add esp, 8
push esi
call ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002640
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1000db42
mov esp, ebp
pop ebp
ret