Function at 0x100292e7
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152bf0
mov eax, dword fs:[0]
push eax
mov eax, 0x4a7c
call fcn.1012ba20
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x4a48], eax
mov dword [ebp - 0x4a44], eax
mov dword [ebp - 0x4a40], eax
mov dword [ebp - 4], eax
push eax
push eax
lea eax, [ebp - 0x4a48]
push eax
push ebx
call fcn.10024b0c
test eax, eax
je 0x100297f5
mov eax, dword [ebp - 0x4a44]
sub eax, dword [ebp - 0x4a48]
sar eax, 2
cmp eax, 3
jb 0x100297f5
push dword [ebp - 0x4a48]
lea ecx, [ebp - 0x4a68]
call fcn.10008916
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4a68]
push 2
pop edi
mov ecx, dword [eax - 0xc]
cmp ecx, edi
jge 0x10029391
or esi, 0xffffffff
jmp 0x100297e1
test ecx, ecx
js 0x10029825
movzx edx, word [eax]
cmp ecx, 1
jl 0x10029825
movzx eax, word [eax + 2]
xor ecx, ecx
mov dword [ebp - 0x4a4c], ecx
mov dword [ebp - 0x4a64], ecx
cmp edx, 0x66
je 0x100293c1
cmp edx, 0x46
jne 0x100293cb
mov dword [ebp - 0x4a64], 1
cmp eax, 0x65
je 0x100293d5
cmp eax, 0x45
jne 0x100293df
mov dword [ebp - 0x4a4c], 1
mov dword [ebp - 0x4a60], ecx
mov dword [ebp - 0x4a5c], ecx
mov dword [ebp - 0x4a58], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a60]
mov eax, dword [ebp - 0x4a48]
push 0x3b
push ecx
push dword [eax + 4]
call fcn.100548cf
add esp, 0xc
cmp dword [ebp - 0x4a4c], 0
je 0x10029472
lea eax, [ebp - 0x4a48]
push eax
push dword [ebp - 0x4a44]
push dword [ebp - 0x4a48]
call fcn.10009525
mov eax, dword [ebp - 0x4a48]
add esp, 0xc
mov dword [ebp - 0x4a44], eax
mov ecx, esi
lea eax, [ebp - 0x4a48]
push 1
push 1
push eax
push ebx
call fcn.10024b0c
test eax, eax
je 0x1002946a
mov eax, dword [ebp - 0x4a44]
sub eax, dword [ebp - 0x4a48]
sar eax, 2
cmp eax, 3
jae 0x10029472
or esi, 0xffffffff
jmp 0x100297d2
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x4a80], ebx
mov dword [ebp - 0x4a7c], esi
and dword [ebp - 0x4a78], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4a44]
mov ecx, dword [ebp - 0x4a48]
sub eax, ecx
sar eax, 2
cmp eax, edi
jbe 0x100294de
mov eax, dword [ecx + edi*4]
lea ecx, [ebp - 0x4a80]
mov dword [ebp - 0x4a50], eax
lea eax, [ebp - 0x4a50]
push eax
call fcn.10010712
mov eax, dword [ebp - 0x4a44]
inc edi
mov ecx, dword [ebp - 0x4a48]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x100294a1
mov esi, dword [ebp - 0x4a7c]
mov ebx, dword [ebp - 0x4a80]
sub esi, ebx
sar esi, 2
test esi, esi
je 0x100297c1
and dword [ebp - 0x4a74], 0
and dword [ebp - 0x4a70], 0
and dword [ebp - 0x4a6c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a74]
push esi
call fcn.1004c08d
test eax, eax
je 0x100297b2
push esi
push ebx
lea ecx, [ebp - 0x4a74]
call fcn.1004ad93
test eax, eax
je 0x100297b2
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1012db70
mov edi, 0x4000
lea eax, [ebp - 0x4a38]
push edi
push ebx
push eax
call fcn.1012db70
mov esi, dword [ebp - 0x4a4c]
add esp, 0x18
test esi, esi
je 0x1002957b
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x100297b2
lea eax, [ebp - 0x4a84]
push eax
push edi
lea eax, [ebp - 0x4a38]
push eax
call sub.PSAPI.DLL_EnumDeviceDrivers
test eax, eax
je 0x100297b2
mov edi, dword [ebp - 0x4a84]
cmp edi, 0x4000
jae 0x100297b2
push 0x820
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.1012db70
shr edi, 2
add esp, 0xc
test edi, edi
je 0x100297b2
call fcn.10007945
push eax
lea ecx, [ebp - 0x4a3c]
call fcn.10008bfd
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa38]
cmp dword [ebp - 0x4a64], 0
push 0x40f
push eax
push dword [ebp + ebx*4 - 0x4a38]
je 0x10029631
call sub.PSAPI.DLL_GetDeviceDriverFileNameW
test eax, eax
je 0x1002975c
test esi, esi
je 0x1002963e
push 0
lea eax, [ebp - 0x4a3c]
push eax
push 0x820
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100f8795
add esp, 0x14
jmp 0x1002965e
call sub.PSAPI.DLL_GetDeviceDriverBaseNameW
test eax, eax
je 0x1002975c
lea eax, [ebp - 0xa38]
push eax
call fcn.10130fe5
pop ecx
push eax
lea eax, [ebp - 0xa38]
push eax
lea ecx, [ebp - 0x4a3c]
call fcn.10008f20
mov eax, dword [ebp - 0x4a5c]
xor esi, esi
sub eax, dword [ebp - 0x4a60]
sar eax, 2
mov dword [ebp - 0x4a50], esi
test eax, eax
je 0x10029747
call fcn.10007945
push eax
lea ecx, [ebp - 0x4a54]
call fcn.10008bfd
mov byte [ebp - 4], 0xb
push 0x5c
push dword [ebp - 0x4a3c]
call fcn.1012e65c
pop ecx
pop ecx
test eax, eax
je 0x100296ea
sub eax, dword [ebp - 0x4a3c]
sar eax, 1
cmp eax, 0xffffffff
je 0x100296ea
inc eax
lea ecx, [ebp - 0x4a3c]
push eax
lea eax, [ebp - 0x4a88]
push eax
call fcn.1001f1fd
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4a54]
push eax
call fcn.10010aef
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4a88]
lea ecx, [ecx - 0x10]
call fcn.100078bc
jmp 0x100296fc
lea eax, [ebp - 0x4a3c]
push eax
lea ecx, [ebp - 0x4a54]
call fcn.10010aef
mov eax, dword [ebp - 0x4a60]
push dword [eax + esi*4]
mov esi, dword [ebp - 0x4a54]
push esi
call fcn.101311cd
pop ecx
pop ecx
test eax, eax
je 0x1002977e
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
call fcn.100078bc
mov eax, dword [ebp - 0x4a5c]
mov esi, dword [ebp - 0x4a50]
sub eax, dword [ebp - 0x4a60]
inc esi
sar eax, 2
mov dword [ebp - 0x4a50], esi
cmp esi, eax
jb 0x1002967d
push dword [ebp - 0x4a3c]
lea ecx, [ebp - 0x4a74]
call fcn.10052720
test eax, eax
jne 0x1002978c
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4a3c]
lea ecx, [ecx - 0x10]
call fcn.100078bc
inc ebx
cmp ebx, edi
jge 0x100297b2
mov esi, dword [ebp - 0x4a4c]
jmp 0x100295c9
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
call fcn.100078bc
jmp 0x1002975c
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4a3c]
lea ecx, [ecx - 0x10]
call fcn.100078bc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a74]
call fcn.100495b3
xor esi, esi
inc esi
jmp 0x100297c3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a74]
call fcn.100495b3
xor esi, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4a80]
call fcn.10015f18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a60]
call fcn.10008abd
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4a68]
lea ecx, [ecx - 0x10]
call fcn.100078bc
jmp 0x100297f8
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a48]
call fcn.10008abd
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012b632
leave
ret 8
push 0x80070057
call fcn.100074e1
int3