Function at 0x100025d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000f0b9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x38ac
call fcn.1000e390
mov eax, dword [0x10014034]
xor eax, esp
mov dword [esp + 0x38a8], eax
push ebx
push esi
push edi
mov eax, dword [0x10014034]
xor eax, esp
push eax
lea eax, [esp + 0x38c0]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, 7
lea esi, [ebp + 0xc]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, section..data
mov dword [esp + 0x28], ebx
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38c8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, 0xffffffff
je 0x10002811
lea esi, [esp + 0x58]
call fcn.10002dd0
xor ecx, ecx
push 0x7fe
mov byte [esp + 0x38cc], 1
push ecx
lea edx, [esp + 0x10be]
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0
mov word [esp + 0x10c0], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xbe]
push ecx
mov word [esp + 0xc0], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x8be]
push eax
mov word [esp + 0x8c0], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x18be]
push edx
mov word [esp + 0x18c0], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x30be]
push ecx
mov word [esp + 0x30c0], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x20be]
push eax
mov word [esp + 0x20c0], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x28be]
push edx
mov word [esp + 0x28c0], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x400
lea ecx, [esp + 0x10bc]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
lea eax, [esp + 0xa8]
push eax
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x1000284f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10b8]
mov byte [esp + 0x23], 1
call fcn.10005f30
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.USB_Root_Hub
push edx
call esi
add esp, 8
test eax, eax
je 0x100027d4
mov eax, dword [esp + 0x18]
push str.Generic_USB_Hub
push eax
call esi
add esp, 8
test eax, eax
jne 0x100027d9
mov byte [esp + 0x1f], 0
mov byte [esp + 0x38c8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
jne 0x1000283f
lea eax, [esp + 0x58]
call fcn.10002ec0
mov dword [esp + 0x38c8], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x10002da9
lea edx, [esp + 0x10b4]
lea edi, [esp + 0x74]
call fcn.10006070
push 0
push 0x400
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0xa0]
push edx
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea eax, [esp + 0xb4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002877
sub eax, edx
lea ecx, [esp + 0xb4]
sar eax, 1
push ecx
lea edx, [esp + 0x6c]
push edx
mov ebx, eax
call fcn.100071c0
lea eax, [esp + 0x20]
push eax
push 0x400
lea ecx, [esp + 0x8bc]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push 1
lea eax, [esp + 0xa8]
push eax
push ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x10002a2f
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x8b8]
mov bl, 1
call fcn.10005f30
lea edi, [esp + 0x18]
mov byte [esp + 0x38c8], 6
call fcn.100060e0
call fcn.10006000
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jl 0x10002931
push str.USBVID_
push ecx
call dword [sym.imp.MSVCR100.dll_wcsstr]
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x10002931
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x10002933
xor bl, bl
lea eax, [ecx - 0x10]
mov byte [esp + 0x38c8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002957
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x1000297b
lea eax, [esp + 0x58]
call fcn.10002ec0
mov dword [esp + 0x38c8], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
jmp 0x1000281f
lea edx, [esp + 0x8b4]
lea edi, [esp + 0x6c]
call fcn.10006070
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x8b8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sym.Device.dll_private:_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CDevice::GetDeviceID_wchar_t_const___bool_
lea edi, [esp + 0x58]
mov byte [esp + 0x38c8], 8
call fcn.10006000
mov byte [esp + 0x38c8], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100029de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
lea ecx, [esp + 0x8b8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sym.Device.dll_private:_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CDevice::GetDeviceID_wchar_t_const___bool_
lea edi, [esp + 0x5c]
mov byte [esp + 0x38c8], 9
call fcn.10006000
mov byte [esp + 0x38c8], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002a33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10002a33
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea ecx, [esp + 0x20]
push ecx
push 0x400
lea edx, [esp + 0x20bc]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
push 7
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call ebx
test eax, eax
je 0x10002a8e
push 3
lea eax, [esp + 0x20b8]
push eax
mov ecx, esi
call sym.Device.dll_private:_bool___thiscall_CDevice::IsMaybeAndroidDevice_wchar_t_const___enum_devicetype_
test al, al
je 0x1000295b
lea ecx, [esp + 0x20]
push ecx
push 0x400
lea edx, [esp + 0x18bc]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
push 2
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call ebx
test eax, eax
je 0x10002ada
lea edx, [esp + 0x18b4]
lea edi, [esp + 0x64]
call fcn.10006070
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x20]
push ecx
push 0x400
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x94], edx
lea edx, [esp + 0x28bc]
push edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x30]
push eax
push 0x24
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call ebx
test eax, eax
je 0x10002b61
lea edx, [esp + 0x28b4]
lea edi, [esp + 0x80]
call fcn.10006070
lea eax, [esp + 0x20]
push eax
push 0x400
lea ecx, [esp + 0x30bc]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push 4
lea eax, [esp + 0xa8]
push eax
push ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call ebx
test eax, eax
je 0x10002bad
lea edx, [esp + 0x30b4]
lea edi, [esp + 0x78]
call fcn.10006070
sub esp, 0x3c
mov edx, esp
mov dword [esp + 0x50], esp
push edx
lea edi, [esp + 0x98]
call fcn.10003020
mov ecx, esi
call sym.Device.dll_private:_bool___thiscall_CDevice::IsDeviceInList_struct__device_information_
test al, al
jne 0x10002d73
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ebx
push ecx
push edx
mov ecx, esi
call sym.Device.dll_private:_bool___thiscall_CDevice::IsAndroidDevice_wchar_t_const___wchar_t_const___wchar_t_const__
test al, al
je 0x10002d73
lea eax, [esp + 0x30]
push eax
call fcn.10001040
lea eax, [esp + 0x5c]
lea edi, [esp + 0x34]
mov byte [esp + 0x38c8], 0xa
call fcn.10006000
lea eax, [esp + 0x58]
lea edi, [esp + 0x30]
call fcn.10006000
lea ecx, [esp + 0x18b4]
push ecx
mov ecx, esi
mov byte [esp + 0x44], 1
call sym.Device.dll_private:_bool___thiscall_CDevice::IsAdbDevice_wchar_t_const__
mov ecx, esi
test al, al
je 0x10002d28
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x47], 1
call sym.Device.dll_private:_bool___thiscall_CDevice::IsDriverInstalled_wchar_t_const__
movzx eax, al
test eax, eax
setne al
push ecx
mov byte [esp + 0x45], al
mov byte [esp + 0x46], al
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], esp
mov edi, esp
call fcn.100072e0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x38cc], 0xb
mov edi, dword [esp + 0x60]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov ebx, esp
call fcn.100072e0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x38d0], 0xc
mov ebx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x20], esp
lea eax, [ebx - 0x10]
mov dword [esp + 0x20], esp
call fcn.100072e0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
mov byte [esp + 0x38d4], 0xa
call sym.Device.dll_private:_void___thiscall_CDevice::WriteToAdbInfoVector_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
push 1
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push edx
lea ecx, [esp + 0xc0]
call fcn.10005f30
push ecx
mov byte [esp + 0x38d4], 0xd
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov dword [esp + 0x20], esp
call fcn.100072e0
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
push ecx
mov byte [esp + 0x38d8], 0xe
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.100072e0
add eax, 0x10
lea edx, [esi + 0x50]
mov dword [edi], eax
push edx
mov byte [esp + 0x38dc], 0xa
call fcn.10009980
jmp 0x10002d45
lea eax, [esp + 0xb4]
push eax
call sym.Device.dll_private:_bool___thiscall_CDevice::IsDriverInstalled_wchar_t_const__
movzx eax, al
test eax, eax
setne al
mov byte [esp + 0x41], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x58]
lea ebx, [esp + 0x48]
call fcn.100062d0
inc dword [esp + 0x3c]
lea ebx, [esi + 0x14]
lea ecx, [esp + 0x30]
call fcn.10006620
lea eax, [esp + 0x30]
mov byte [esp + 0x38c8], 1
call fcn.10003160
lea eax, [esp + 0x58]
call fcn.10002ec0
mov dword [esp + 0x38c8], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002da7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x38c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38a8]
xor ecx, esp
call fcn.1000d9d2
mov esp, ebp
pop ebp
ret 0x20