Function at 0x100072c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x10033a60]
xor eax, esp
mov dword [esp + 0x470], eax
mov eax, dword [esp + 0x47c]
push esi
mov esi, dword [esp + 0x47c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
call fcn.1000c5d9
test eax, eax
jne 0x10007306
push 0x80004005
call fcn.10001090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
push 0x1ff
lea ecx, [esp + 0x279]
add eax, 0x10
push 0
push ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x280], 0
call fcn.100151d0
add esp, 0xc
call fcn.1000c5d9
test eax, eax
jne 0x10007348
push 0x80004005
call fcn.10001090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
push 0x140
mov ebx, eax
lea ecx, [esp + 0x38]
push 0
add ebx, 0x10
push ecx
mov dword [esp + 0x1c], ebx
call fcn.100151d0
add esp, 0xc
test esi, esi
jne 0x10007377
xor eax, eax
jmp 0x1000738b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007380
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.10006230
push str..inf
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.100066a0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
call fcn.100067c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100073d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x100075d9
lea edx, [esp + 0x278]
push ebp
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
sub edx, esi
push edi
mov dword [esp + 0x20], edx
jmp 0x10007418
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10007420
lea edi, [esp + 0x280]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10007436
mov ax, word [0x1002a928]
mov word [edi], ax
lea eax, [esp + 0x68]
mov esi, eax
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007450
lea edi, [esp + 0x280]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10007465
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
and ecx, 3
push 2
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x28c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100075ad
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea edx, [esp + 0x2c]
push edx
push 0
push str.Manufacturer
push esi
call edi
test eax, eax
je 0x100075a6
push 0
push 0x104
lea eax, [esp + 0x184]
push eax
push 1
lea ecx, [esp + 0x3c]
push ecx
call ebp
test eax, eax
je 0x100075a6
lea edx, [esp + 0x2c]
push edx
push 0
lea eax, [esp + 0x184]
push eax
push esi
call fcn.100039e0
add esp, 0x10
test eax, eax
jne 0x10007501
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x100075b4
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x184]
push edx
push esi
call edi
test eax, eax
je 0x100075a6
jmp 0x10007520
push 0
push 0x104
lea eax, [esp + 0x184]
push eax
push 2
lea ecx, [esp + 0x3c]
push ecx
call ebp
test eax, eax
je 0x1000758a
lea eax, [esp + 0x17c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007546
sub eax, edx
push eax
lea edx, [esp + 0x180]
push edx
lea ecx, [esp + 0x20]
call fcn.10006230
mov eax, dword [esp + 0x28]
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x1000758a
cmp dword [ebx - 0xc], 0
jl 0x1000758a
push eax
push ebx
call fcn.10014de7
add esp, 8
test eax, eax
je 0x1000758a
sub eax, ebx
cmp eax, 0xffffffff
jne 0x1000759e
lea eax, [esp + 0x2c]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x10007520
jmp 0x100075a6
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
jne 0x100075cc
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007410
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebp
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop ebx
jg 0x100075f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007616
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x474]
mov eax, dword [esp + 0x10]
pop esi
xor ecx, esp
call fcn.1001524a
add esp, 0x474
ret