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

Disassembly:
push 0xffffffffffffffff
push 0x10111469
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102ac760]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
lea eax, [esp + 0x4c]
mov ebx, ecx
xor ebp, ebp
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
call fcn.10031250
mov dword [esp + 0x4e0], ebp
push 0x12
push ebp
push ebp
lea eax, [esp + 0xb4]
mov ecx, 0x6530
mov edx, 0x11d2
push eax
mov dword [esp + 0xb8], 0xa5dcbf10
mov word [esp + 0xbc], cx
mov word [esp + 0xbe], dx
mov byte [esp + 0xc0], 0x90
mov byte [esp + 0xc1], 0x1f
mov byte [esp + 0xc2], 0
mov byte [esp + 0xc3], 0xc0
mov byte [esp + 0xc4], 0x4f
mov byte [esp + 0xc5], 0xb9
mov byte [esp + 0xc6], 0x51
mov byte [esp + 0xc7], 0xed
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov edi, eax
mov dword [esp + 0x3c], edi
cmp edi, 0xffffffff
jne 0x10030a07
push ebx
lea ecx, [esp + 0x50]
call fcn.100312b0
lea ecx, [esp + 0x4c]
call fcn.10031810
mov ecx, dword [esp + 0x4c]
push ecx
jmp 0x10030f60
push 0x3ff
lea edx, [esp + 0xd9]
push ebp
push edx
mov dword [esp + 0x28], ebp
mov byte [esp + 0xe0], 0
call fcn.100b2d30
xor eax, eax
add esp, 0xc
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xb8]
push eax
push ebp
push edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xc4], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x10030f0c
mov bl, 7
mov edi, edi
lea ecx, [esp + 0x7c]
call fcn.1002f0c0
push ebp
push 0x400
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x7c]
push edx
push 1
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x4f8], 1
push edi
mov byte [esp + 0xf0], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
cmp eax, ebp
je 0x10030ed7
cmp byte [esp + 0xd4], 0
je 0x10030ed7
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100181c0
mov byte [esp + 0x4e0], 2
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0
call fcn.10018320
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
call fcn.10018300
lea edx, [esi + 1]
push edx
push eax
call fcn.100f319c
push eax
call fcn.100050f0
add esp, 0xc
push esi
lea ecx, [esp + 0x1c]
call fcn.1001a7f0
lea ecx, [esp + 0x18]
call fcn.10018320
cmp eax, ebp
jl 0x10030ec8
lea ecx, [esp + 0x18]
call fcn.10015b40
push str.USB_
push eax
call fcn.100b3a6d
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x10030ec8
lea ecx, [esp + 0x18]
call fcn.10015b40
sub esi, eax
js 0x10030ec8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x80]
call fcn.10031560
lea ecx, [esp + 0x18]
call fcn.10015b40
push eax
lea ecx, [esp + 0x44]
call fcn.10002f20
push 4
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e8], 3
call fcn.100185e0
mov byte [esp + 0x4e0], 4
mov eax, dword [eax]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.1002f1d0
add esp, 8
mov byte [esp + 0x4e0], 6
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10030be5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 2
cmp eax, ebp
jbe 0x10030e4b
cmp esi, eax
jb 0x10030c03
call fcn.100b2342
mov ecx, dword [esp + 0x30]
push 3
lea edx, [esp + 0x24]
lea ecx, [ecx + esi*4]
push edx
call fcn.10018790
mov byte [esp + 0x4e0], bl
mov edi, dword [esp + 0x20]
mov ecx, 0x10289af0
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10030c4e
cmp dx, bp
je 0x10030c4a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10030c4e
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x10030c28
xor eax, eax
jmp 0x10030c53
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
je 0x10030caa
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp esi, eax
jb 0x10030c70
call fcn.100b2342
mov ecx, dword [esp + 0x30]
push 4
lea edx, [esp + 0x6c]
lea ecx, [ecx + esi*4]
push edx
call fcn.100185e0
mov byte [esp + 0x4e0], 8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x84]
call fcn.100194d0
mov byte [esp + 0x4e0], bl
mov eax, dword [esp + 0x68]
jmp 0x10030df3
mov ecx, 0x10289af8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10030cd7
cmp dx, bp
je 0x10030cd3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10030cd7
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x10030cb1
xor eax, eax
jmp 0x10030cdc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
je 0x10030d33
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
sar ecx, 2
cmp esi, ecx
jb 0x10030cf9
call fcn.100b2342
mov edx, dword [esp + 0x30]
push 4
lea eax, [esp + 0x68]
lea ecx, [edx + esi*4]
push eax
call fcn.100185e0
mov byte [esp + 0x4e0], 9
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x88]
call fcn.100194d0
mov byte [esp + 0x4e0], bl
mov eax, dword [esp + 0x64]
jmp 0x10030df3
lea ecx, [esp + 0x20]
push 0x10289b00
push ecx
call fcn.100059e0
add esp, 8
test al, al
je 0x10030d94
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
cmp esi, edx
jb 0x10030d5d
call fcn.100b2342
mov eax, dword [esp + 0x30]
push 4
lea edx, [esp + 0x48]
lea ecx, [eax + esi*4]
push edx
call fcn.100185e0
mov byte [esp + 0x4e0], 0xa
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x8c]
call fcn.100194d0
mov byte [esp + 0x4e0], bl
mov eax, dword [esp + 0x44]
jmp 0x10030df3
lea ecx, [esp + 0x20]
push 0x10289b08
push ecx
call fcn.100059e0
add esp, 8
test al, al
je 0x10030e0f
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
cmp esi, edx
jb 0x10030dbe
call fcn.100b2342
mov eax, dword [esp + 0x30]
push 3
lea edx, [esp + 0x7c]
lea ecx, [eax + esi*4]
push edx
call fcn.100185e0
mov byte [esp + 0x4e0], 0xb
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x94]
call fcn.100194d0
mov byte [esp + 0x4e0], bl
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10030e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4e0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10030e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc esi
sar eax, 2
cmp esi, eax
jb 0x10030c03
lea ecx, [esp + 0x7c]
push ecx
lea edi, [esp + 0x50]
call fcn.100313d0
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x10030e83
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call fcn.10004ea0
mov eax, dword [esp + 0x40]
push eax
call fcn.100b1e2a
add esp, 0x14
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.100b1e2a
mov byte [esp + 0x4e4], 2
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10030ec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x3c]
inc dword [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.100182c0
jmp 0x10030edb
inc dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4e0], 0
call fcn.100300d0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
push ecx
push edx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x10030a80
mov ebx, dword [esp + 0x48]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push ebx
lea ecx, [esp + 0x50]
call fcn.100312b0
mov esi, dword [esp + 0x58]
cmp esi, ebp
je 0x10030f4f
mov edi, dword [esp + 0x5c]
cmp esi, edi
je 0x10030f42
lea ecx, [ecx]
mov ecx, esi
call fcn.100300d0
add esi, 0x2c
cmp esi, edi
jne 0x10030f30
mov esi, dword [esp + 0x58]
push esi
call fcn.100b1e2a
mov ebx, dword [esp + 0x4c]
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
push eax
call fcn.100b1e2a
mov eax, ebx
add esp, 4
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.100b2738
add esp, 0x4d0
ret