Function at 0x4071b0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x438e12
mov eax, dword fs:[0]
push eax
sub esp, 0xeb4
mov eax, dword [0x44c538]
xor eax, esp
mov dword [esp + 0xeb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c538]
xor eax, esp
push eax
lea eax, [esp + 0xec8]
mov dword fs:[0], eax
mov esi, ecx
push str.FUNC_01VEN_10EC
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], esi
call fcn.00404c90
xor edi, edi
push str.FUNC_01VEN_10EC
lea ecx, [esp + 0x48]
mov dword [esp + 0xed4], edi
call fcn.00404c90
push 0x1ff
lea eax, [esp + 0x1bd]
push edi
push eax
mov byte [esp + 0xedc], 1
mov byte [esp + 0x1c4], 0
call fcn.004276e0
push 0x1ff
lea ecx, [esp + 0xbcd]
push edi
push ecx
mov byte [esp + 0xbd4], 0
call fcn.004276e0
push 0x1ff
lea edx, [esp + 0x8d9]
push edi
push edx
mov byte [esp + 0x8e0], 0
call fcn.004276e0
add esp, 0x24
push 0x43c9d7
lea ecx, [esp + 0x54]
call fcn.00404c90
mov byte [esp + 0xed0], 2
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00415e0b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4072b2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0xed0], 3
call fcn.00415e0b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4072e4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x20]
push ecx
mov bl, 4
mov ecx, esi
mov byte [esp + 0xed4], bl
call fcn.00406040
push 0x43cf5c
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xedc], 5
call fcn.00403040
mov eax, dword [eax]
push eax
lea eax, [esp + 0x4cc]
push 0x200
push eax
call fcn.00427193
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xed0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407380
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x140
lea ecx, [esp + 0x7c]
push edi
push ecx
call fcn.004276e0
add esp, 0xc
xor eax, eax
jmp 0x4073a0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x4073a0
mov eax, dword [0x44da10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4073c0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4073d5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b8]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407400
mov edx, dword [0x43d08c]
mov cx, word [0x43d090]
mov dword [eax], edx
lea edx, [esp + 0x78]
mov word [eax + 4], cx
push edx
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x408202
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 6
push 0
push str.HDAUDIO
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
lea ecx, [esp + 0x5c]
push ecx
push 0
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x44], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x407d62
jmp 0x407480
mov ecx, dword [esp + 0x20]
push 0
push 0x100
lea edx, [esp + 0x7c4]
push edx
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
mov eax, dword [0x44d9d4]
mov esi, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x5a
setge dl
push 0
sub edx, 1
and edx, 5
add eax, edx
push eax
mov dword [0x44d9d4], eax
mov eax, dword [esi + 0x7870]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411514
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x7c0]
push edx
call fcn.0042706a
add esp, 8
test eax, eax
je 0x407d34
xor eax, eax
mov edi, 1
nop
mov cl, byte [esp + eax + 0x7bc]
mov byte [esp + eax + 0x6bc], cl
add eax, edi
test cl, cl
jne 0x407500
xor eax, eax
jmp 0x407520
mov cl, byte [esp + eax + 0x7bc]
mov byte [esp + eax + 0xabc], cl
add eax, edi
test cl, cl
jne 0x407520
mov eax, dword [0x44d9d4]
add dword [esp + 0x40], edi
mov byte [esp + 0xaf6], cl
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], 0
sub ecx, edi
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44d9d4], eax
mov edx, dword [esi + 0x7870]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00411514
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
mov byte [esp + 0x6f9], 0
call fcn.004276e0
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, edi
test cl, cl
jne 0x4075a0
mov eax, dword [0x44da10]
mov edx, eax
jmp 0x4075c0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4075c0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4075d5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b8]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407600
mov ecx, dword [0x43d08c]
mov dx, word [0x43d090]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4077ff
jmp 0x407640
xor eax, eax
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407642
lea eax, [esp + 0xa4]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407660
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407675
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0
lea edx, [esp + 0x1c4]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4077e4
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x28]
push eax
push 0
push str.Manufacturer
push esi
call edi
test eax, eax
je 0x4077dd
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 1
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x4077dd
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3bc]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016b0
test eax, eax
jne 0x407714
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x4077eb
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x3c0]
push eax
push esi
call edi
test eax, eax
je 0x4077dd
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x407740
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 2
lea edx, [esp + 0x38]
push edx
call edi
test eax, eax
je 0x4077a9
lea eax, [esp + 0x3b8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407766
sub eax, edx
push eax
lea eax, [esp + 0x3bc]
push eax
lea ecx, [esp + 0x20]
call fcn.00402de0
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
jl 0x4077a9
lea ecx, [esp + 0x6bc]
push ecx
push ebp
call fcn.0042706a
add esp, 8
test eax, eax
je 0x4077a9
sub eax, ebp
cmp eax, 0xffffffff
jne 0x4077bd
lea edx, [esp + 0x28]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x407740
jmp 0x4077dd
xor eax, eax
nop
mov cl, byte [esp + eax + 0x1b8]
mov byte [esp + eax + 0xbbc], cl
add eax, 1
test cl, cl
jne 0x4077c0
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
jne 0x4077ff
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407640
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x1c], 0
jne 0x407c69
push 0x140
lea edx, [esp + 0x7c]
push 0
push edx
mov byte [esp + 0x6e9], 0
call fcn.004276e0
add esp, 0xc
xor eax, eax
nop
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407830
mov eax, dword [0x44da10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407850
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407865
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b8]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407890
mov ecx, dword [0x43d08c]
mov dx, word [0x43d090]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407a9f
jmp 0x4078d0
xor eax, eax
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x4078d2
lea eax, [esp + 0xa4]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4078f0
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407905
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0
lea edx, [esp + 0x1c4]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407a84
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x28]
push eax
push 0
push str.Manufacturer
push esi
call edi
test eax, eax
je 0x407a7d
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 1
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x407a7d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3bc]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016b0
test eax, eax
jne 0x4079a4
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x407a8b
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x3c0]
push eax
push esi
call edi
test eax, eax
je 0x407a7d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x4079d0
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 2
lea edx, [esp + 0x38]
push edx
call edi
test eax, eax
je 0x407a42
lea eax, [esp + 0x3b8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403880
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
jl 0x407a42
lea ecx, [esp + 0x6bc]
push ecx
push ebp
call fcn.0042706a
add esp, 8
test eax, eax
je 0x407a42
sub eax, ebp
cmp eax, 0xffffffff
je 0x407a42
cmp dword [ebp - 0xc], 0
jl 0x407a5a
push str.SUBSYS
push ebp
call fcn.0042706a
add esp, 8
test eax, eax
je 0x407a5a
sub eax, ebp
cmp eax, 0xffffffff
je 0x407a5a
lea edx, [esp + 0x28]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x4079d0
jmp 0x407a7d
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x1b8]
mov byte [esp + eax + 0xbbc], cl
add eax, 1
test cl, cl
jne 0x407a60
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
jne 0x407a9f
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4078d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x1c], 0
jne 0x407c69
xor eax, eax
jmp 0x407ac0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407ac0
push str..inf
lea edx, [esp + 0x58]
push 0x44da10
push edx
call fcn.00403040
mov eax, dword [eax]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x407af0
lea edi, [esp + 0x1b8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407b07
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x54]
and ecx, 3
add eax, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 2
push 0
lea ecx, [esp + 0x1c4]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407d25
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea edx, [esp + 0x28]
push edx
push 0
push str.Manufacturer
push esi
call edi
test eax, eax
je 0x407c56
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
push 0
push 0x104
lea eax, [esp + 0x3c0]
push eax
push 1
lea ecx, [esp + 0x38]
push ecx
call ebx
test eax, eax
je 0x407c56
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3bc]
push eax
push esi
call fcn.004016b0
test eax, eax
jne 0x407bc8
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x407d34
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x3c0]
push edx
push esi
call edi
test eax, eax
je 0x407c56
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
jmp 0x407bf0
push 0
push 0x104
lea eax, [esp + 0x3c0]
push eax
push 2
lea ecx, [esp + 0x38]
push ecx
call ebx
test eax, eax
je 0x407c48
lea edx, [esp + 0x3b8]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403880
mov eax, dword [esp + 0x44]
test eax, eax
mov ebp, dword [esp + 0x18]
je 0x407c48
cmp dword [ebp - 0xc], 0
jl 0x407c48
push eax
push ebp
call fcn.0042706a
add esp, 8
test eax, eax
je 0x407c48
sub eax, ebp
cmp eax, 0xffffffff
jne 0x407cfe
lea eax, [esp + 0x28]
push eax
mov ecx, eax
push ecx
call edi
test eax, eax
jne 0x407bf0
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test edi, edi
je 0x407d25
mov eax, dword [0x44d9d4]
mov edi, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x5a
setge dl
push 0
sub edx, 1
and edx, 0x14
add eax, edx
push eax
mov dword [0x44d9d4], eax
mov eax, dword [edi + 0x7870]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, edi
call fcn.00411514
lea ecx, [esp + 0x58]
push ecx
mov ebx, 1
push ebx
lea edx, [esp + 0xbc4]
push edx
lea eax, [esp + 0xac8]
push eax
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x407d1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x5b4
jne 0x407cf4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov ecx, edi
call fcn.00401a20
test eax, eax
je 0x407cf4
mov dword [esp + 0x24], ebx
push esi
mov ecx, edi
call fcn.00403ff0
jmp 0x407d34
xor eax, eax
mov cl, byte [esp + eax + 0x1b8]
mov byte [esp + eax + 0xbbc], cl
add eax, 1
test cl, cl
jne 0x407d00
mov edi, 1
jmp 0x407c5a
mov dword [esp + 0x24], ebx
jmp 0x407d34
cmp dword [esp + 0x40], 0
jne 0x407d34
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x44], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x407480
cmp dword [esp + 0x3c], eax
jne 0x4080eb
mov eax, dword [0x44d9d4]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0x32
add eax, ecx
push eax
mov dword [0x44d9d4], eax
mov edx, dword [ebx + 0x7870]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, ebx
call fcn.00411514
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004276e0
add esp, 0xc
xor eax, eax
jmp 0x407dc0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407dc0
mov eax, dword [0x44da10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407de0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407df5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b8]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407e20
mov ecx, dword [str.Rt.inf]
mov dx, word [0x43d124]
mov dword [eax], ecx
mov cl, byte [0x43d126]
mov word [eax + 4], dx
lea edx, [esp + 0x78]
mov byte [eax + 6], cl
push edx
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x407eae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0
push 0x104
lea ecx, [esp + 0xdc8]
push ecx
push 0
push 1
push 0
lea edx, [esp + 0x1d4]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfA]
test eax, eax
jne 0x407ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.00403ff0
jmp 0x4080ef
mov dword [esp + 0x24], 1
jmp 0x4080ef
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004276e0
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407ed0
mov eax, dword [0x44da10]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407ef0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407f05
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b8]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407f30
mov ecx, dword [0x43d08c]
mov dx, word [0x43d090]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4080e0
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfA]
mov eax, dword [0x44da10]
lea edx, [esp + 0x8bc]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x407f80
lea eax, [esp + 0x8bc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407f96
mov edx, dword [str.Rt.inf]
mov cx, word [0x43d124]
mov dword [eax], edx
mov dl, byte [0x43d126]
mov word [eax + 4], cx
mov byte [eax + 6], dl
lea eax, [esp + 0x8bc]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.00426d50
add esp, 8
test eax, eax
jne 0x4080cc
mov eax, dword [0x44da10]
lea edx, [esp + 0x8bc]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x407ff0
lea eax, [esp + 0x8bc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408006
mov edx, dword [str..inf]
mov cl, byte [0x43d12c]
mov dword [eax], edx
lea edx, [esp + 0x8bc]
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.00426d50
add esp, 8
test eax, eax
jne 0x4080cc
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x408041
lea eax, [esp + 0xa4]
mov esi, eax
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408060
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408075
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, eax
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xdc8]
push ecx
push 0
push 1
push 0
lea edx, [esp + 0x1d4]
push edx
call ebx
test eax, eax
jne 0x4080c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00403ff0
jmp 0x4080cc
mov dword [esp + 0x24], 1
lea eax, [esp + 0x78]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407f71
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [0x44d9d4]
xor edx, edx
cmp eax, 0x5a
setge dl
push 0
sub edx, 1
and edx, 0xa
add eax, edx
push eax
mov dword [0x44d9d4], eax
mov eax, dword [ebx + 0x7870]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, ebx
call fcn.00411514
lea eax, [ebp - 0x10]
mov byte [esp + 0xed0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408156
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40817e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0xed0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
jmp 0x4082cb
lea eax, [ebp - 0x10]
mov byte [esp + 0xed0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40824e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xed0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40829e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0xed0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xec8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xeb0]
xor ecx, esp
call fcn.0042652f
add esp, 0xec0
ret