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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10043c23
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x10055330]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [0x10055330]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov ebx, 0x10058958
push ebx
mov dword [esp + 0x90], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x200], esi
call fcn.100073cb
push str.udev_ids
lea ecx, [esp + 0x184]
call fcn.10001ad2
lea edx, [esp + 0x180]
lea edi, [esp + 0x1d4]
mov byte [esp + 0x200], 1
call fcn.10006572
push esi
push 1
lea ecx, [esp + 0x188]
mov byte [esp + 0x208], 3
call fcn.10001d94
cmp dword [esp + 0x1e8], esi
je 0x10006bb0
mov eax, edi
push eax
lea eax, [esp + 0x1bc]
push eax
call fcn.100248ab
pop ecx
pop ecx
mov byte [esp + 0x200], 4
cmp dword [esp + 0x1cc], esi
je 0x10006ba1
push esi
push esi
lea eax, [esp + 0x7c]
call fcn.1001b5c1
push eax
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x204], 7
call fcn.10001203
pop ecx
test al, al
je 0x10006b8e
cmp byte [esp + 0x7c], 7
jne 0x10006b8e
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
call fcn.1001b8f8
mov byte [esp + 0x200], 8
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x10006753
call fcn.100299cf
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x50], eax
jbe 0x10006772
call fcn.100299cf
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000678e
cmp eax, dword [esp + 0x90]
je 0x10006793
call fcn.100299cf
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
je 0x10006b7b
lea esi, [esp + 0x1c]
call fcn.100052e2
lea ecx, [esp + 0x74]
push ecx
call fcn.1001b881
push eax
lea ebx, [esp + 0x60]
call fcn.1001a790
mov byte [esp + 0x200], 9
cmp byte [esp + 0x64], 7
jne 0x10006b57
call fcn.100052e2
push eax
lea ecx, [esp + 0x184]
call fcn.10001af4
push 0x10049134
lea ecx, [esp + 0x168]
mov byte [esp + 0x204], 0xa
call fcn.10001ad2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x10048cb8
mov byte [esp + 0x220], 0xb
call fcn.10001ad2
lea eax, [esp + 0x180]
mov esi, ebx
push eax
lea ebx, [esp + 0xc0]
call fcn.10003143
push eax
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x224], 0xc
call fcn.100011be
add esp, 0x24
push 0
push 1
mov ecx, ebx
call fcn.10001d94
push 0
push 1
lea ecx, [esp + 0x16c]
mov byte [esp + 0x208], 0xf
call fcn.10001d94
cmp dword [esp + 0x1b0], 0
je 0x10006b37
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.1001b8f8
mov byte [esp + 0x200], 0x10
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
jbe 0x10006899
call fcn.100299cf
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], eax
jbe 0x100068b8
call fcn.100299cf
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100068d4
cmp eax, dword [esp + 0x98]
je 0x100068d9
call fcn.100299cf
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], eax
je 0x10006a80
lea esi, [esp + 0x14]
call fcn.100052e2
push eax
lea ecx, [esp + 0x168]
call fcn.10001af4
mov byte [esp + 0x200], 0x11
cmp dword [esp + 0x178], 4
jne 0x10006a5a
call fcn.100052e2
lea ecx, [esp + 0x5c]
push ecx
call fcn.1001b881
cmp byte [eax + 8], 4
jne 0x10006a5a
call fcn.100052e2
lea ecx, [esp + 0x5c]
push ecx
call fcn.1001b881
push eax
lea ecx, [esp + 0xc0]
call fcn.1001ab12
push eax
lea ecx, [esp + 0x14c]
mov byte [esp + 0x204], 0x12
call fcn.100011be
pop ecx
push eax
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x20c], 0x13
call fcn.100065f0
mov esi, eax
push 0x10049138
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x134]
push eax
mov byte [esp + 0x20c], 0x14
call fcn.1000800b
add esp, 0xc
lea ecx, [esp + 0x164]
push ecx
push eax
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x20c], 0x15
call fcn.10008051
add esp, 0xc
push eax
lea ebx, [esp + 0xa4]
mov byte [esp + 0x204], 0x16
call fcn.1000809c
pop ecx
push eax
mov byte [esp + 0x204], 0x17
call fcn.100072be
mov edi, eax
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov eax, esi
call fcn.10001ddf
push 0xffffffffffffffff
add edi, 0x1c
lea eax, [esi + 0x1c]
push edi
call fcn.10001ddf
xor esi, esi
push esi
inc ebx
push ebx
lea ecx, [esp + 0xa8]
call fcn.10001d94
push esi
push ebx
lea ecx, [esp + 0x118]
call fcn.10001d94
push esi
push ebx
lea ecx, [esp + 0x134]
call fcn.10001d94
lea edi, [esp + 0xd8]
call fcn.10006bfa
push esi
push ebx
lea esi, [esp + 0x150]
call fcn.10001e8c
push 0
push ebx
lea ecx, [esp + 0xc4]
call fcn.10001d94
push 0
push 1
lea ecx, [esp + 0x16c]
mov byte [esp + 0x208], 0x10
call fcn.10001d94
lea esi, [esp + 0x14]
call fcn.1000530a
jmp 0x100068c3
push 0x100489f8
lea esi, [esp + 0x168]
call fcn.10001b24
mov eax, esi
push eax
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x20c], 0x18
call fcn.100065f0
mov esi, eax
lea eax, [esp + 0x180]
push eax
lea ebx, [esp + 0xc0]
mov byte [esp + 0x204], 0x19
call fcn.1000809c
pop ecx
push eax
mov byte [esp + 0x204], 0x1a
call fcn.100072be
mov edi, eax
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov eax, esi
call fcn.10001ddf
push 0xffffffffffffffff
add edi, 0x1c
lea eax, [esi + 0x1c]
push edi
call fcn.10001ddf
push ebx
push 1
lea ecx, [esp + 0xc4]
call fcn.10001d94
lea edi, [esp + 0xd8]
call fcn.10006bfa
push ebx
push 1
lea esi, [esp + 0x16c]
call fcn.10001e8c
lea esi, [esp + 0x2c]
call fcn.10001ef0
push dword [esp + 0x2c]
call fcn.10029a09
pop ecx
push 0
push 1
lea esi, [esp + 0x1a4]
call fcn.10001e8c
push 0
push 1
lea ecx, [esp + 0x188]
call fcn.10001d94
lea esi, [esp + 0x5c]
mov byte [esp + 0x200], 8
call fcn.1001a924
lea esi, [esp + 0x1c]
call fcn.1000530a
mov ebx, 0x10058958
jmp 0x1000677d
lea esi, [esp + 0x44]
call fcn.10001ef0
push dword [esp + 0x44]
call fcn.10029a09
pop ecx
lea esi, [esp + 0x74]
mov byte [esp + 0x200], 4
call fcn.1001a924
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x1c0]
call fcn.10001d94
xor eax, eax
cmp dword [0x1005904c], esi
push esi
setne al
push 1
lea ecx, [esp + 0x1dc]
mov dword [0x100589d8], eax
call fcn.10001d94
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.10029677
mov esp, ebp
pop ebp
ret