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

Disassembly:
push 0xffffffffffffffff
push 0x4386a2
mov eax, dword fs:[0]
push eax
sub esp, 0xeb4
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0xeb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44b538]
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 + 0x40]
mov dword [esp + 0x18], esi
call fcn.004048f0
xor edi, edi
push str.FUNC_01VEN_10EC
lea ecx, [esp + 0x48]
mov dword [esp + 0xed4], edi
call fcn.004048f0
push 0x1ff
lea eax, [esp + 0x1bd]
push edi
push eax
mov byte [esp + 0xedc], 1
mov byte [esp + 0x1c4], 0
call fcn.00426f40
push 0x1ff
lea ecx, [esp + 0xbcd]
push edi
push ecx
mov byte [esp + 0xbd4], 0
call fcn.00426f40
push 0x1ff
lea edx, [esp + 0x8d9]
push edi
push edx
mov byte [esp + 0x8e0], 0
call fcn.00426f40
add esp, 0x24
push 0x43b903
lea ecx, [esp + 0x54]
call fcn.004048f0
mov byte [esp + 0xed0], 2
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
call fcn.0041564a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406ce2
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.0041564a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406d14
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.00405b10
push 0x43bef4
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xedc], 5
call fcn.00402cd0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x4cc]
push 0x200
push eax
call fcn.00427441
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 0x406d89
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 0x406db0
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.00426f40
add esp, 0xc
xor eax, eax
jmp 0x406dd0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x406dd0
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406df0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x406e05
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 0x406e30
mov edx, dword [0x43bfe8]
mov cx, word [0x43bfec]
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 0x407c12
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 0x407776
jmp 0x406eb0
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 [0x44c9d4]
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 [0x44c9d4], eax
mov eax, dword [esi + 0x2a50]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00410d54
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x7c0]
push edx
call fcn.0042692a
add esp, 8
test eax, eax
je 0x407748
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 0x406f30
xor eax, eax
jmp 0x406f50
mov cl, byte [esp + eax + 0x7bc]
mov byte [esp + eax + 0xabc], cl
add eax, edi
test cl, cl
jne 0x406f50
mov eax, dword [0x44c9d4]
add dword [esp + 0x48], edi
mov byte [esp + 0xaf6], cl
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], 0
sub ecx, edi
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x44c9d4], eax
mov edx, dword [esi + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00410d54
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
mov byte [esp + 0x6f9], 0
call fcn.00426f40
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 0x406fd0
mov eax, dword [0x44c9d8]
mov edx, eax
jmp 0x406ff0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406ff0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407005
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 0x407030
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x40722f
jmp 0x407070
xor eax, eax
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407072
lea eax, [esp + 0xa4]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407090
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4070a5
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 0x407214
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x24]
push eax
push 0
push 0x43bf4c
push esi
call edi
test eax, eax
je 0x40720d
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 1
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x40720d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3bc]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016a0
test eax, eax
jne 0x407144
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x40721b
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x3c0]
push eax
push esi
call edi
test eax, eax
je 0x40720d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x407170
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 2
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x4071d9
lea eax, [esp + 0x3b8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407196
sub eax, edx
push eax
lea eax, [esp + 0x3bc]
push eax
lea ecx, [esp + 0x20]
call fcn.00402a70
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
jl 0x4071d9
lea ecx, [esp + 0x6bc]
push ecx
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x4071d9
sub eax, ebp
cmp eax, 0xffffffff
jne 0x4071ed
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x407170
jmp 0x40720d
xor eax, eax
nop
mov cl, byte [esp + eax + 0x1b8]
mov byte [esp + eax + 0xbbc], cl
add eax, 1
test cl, cl
jne 0x4071f0
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
jne 0x40722f
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407070
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x1c], 0
jne 0x407699
push 0x140
lea edx, [esp + 0x7c]
push 0
push edx
mov byte [esp + 0x6e9], 0
call fcn.00426f40
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 0x407260
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407280
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407295
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 0x4072c0
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x4074cf
jmp 0x407300
xor eax, eax
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407302
lea eax, [esp + 0xa4]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407320
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407335
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 0x4074b4
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea eax, [esp + 0x24]
push eax
push 0
push 0x43bf4c
push esi
call edi
test eax, eax
je 0x4074ad
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 1
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
test eax, eax
je 0x4074ad
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3bc]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004016a0
test eax, eax
jne 0x4073d4
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x4074bb
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x3c0]
push eax
push esi
call edi
test eax, eax
je 0x4074ad
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
jmp 0x407400
push 0
push 0x104
lea ecx, [esp + 0x3c0]
push ecx
push 2
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x407472
lea eax, [esp + 0x3b8]
push eax
lea ecx, [esp + 0x1c]
call fcn.004034e0
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
jl 0x407472
lea ecx, [esp + 0x6bc]
push ecx
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x407472
sub eax, ebp
cmp eax, 0xffffffff
je 0x407472
cmp dword [ebp - 0xc], 0
jl 0x40748a
push str.SUBSYS
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x40748a
sub eax, ebp
cmp eax, 0xffffffff
je 0x40748a
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x407400
jmp 0x4074ad
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 0x407490
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x1c], 0
jne 0x4074cf
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407300
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x1c], 0
jne 0x407699
xor eax, eax
jmp 0x4074f0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x4074f0
push 0x43c070
lea edx, [esp + 0x58]
push 0x44c9d8
push edx
call fcn.00402cd0
mov eax, dword [eax]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x407520
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 0x407537
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 0x40756f
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 0x407739
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
lea edx, [esp + 0x24]
push edx
push 0
push 0x43bf4c
push esi
call edi
test eax, eax
je 0x407686
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
push 0
push 0x104
lea eax, [esp + 0x3c0]
push eax
push 1
lea ecx, [esp + 0x34]
push ecx
call ebx
test eax, eax
je 0x407686
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3bc]
push eax
push esi
call fcn.004016a0
test eax, eax
jne 0x4075f8
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x407748
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x3c0]
push edx
push esi
call edi
test eax, eax
je 0x407686
mov edi, dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
jmp 0x407620
push 0
push 0x104
lea eax, [esp + 0x3c0]
push eax
push 2
lea ecx, [esp + 0x34]
push ecx
call ebx
test eax, eax
je 0x407678
lea edx, [esp + 0x3b8]
push edx
lea ecx, [esp + 0x1c]
call fcn.004034e0
mov eax, dword [esp + 0x44]
test eax, eax
mov ebp, dword [esp + 0x18]
je 0x407678
cmp dword [ebp - 0xc], 0
jl 0x407678
push eax
push ebp
call fcn.0042692a
add esp, 8
test eax, eax
je 0x407678
sub eax, ebp
cmp eax, 0xffffffff
jne 0x407707
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call edi
test eax, eax
jne 0x407620
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test edi, edi
je 0x407739
mov eax, dword [0x44c9d4]
mov esi, 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 [0x44c9d4], eax
mov eax, dword [esi + 0x2a50]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00410d54
lea ecx, [esp + 0x58]
push ecx
push 1
lea edx, [esp + 0xbc4]
push edx
lea eax, [esp + 0xac8]
push eax
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x40772f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00403c50
jmp 0x407748
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 0x407710
mov edi, 1
jmp 0x40768a
mov dword [esp + 0x34], 1
jmp 0x407748
cmp dword [esp + 0x48], 0
jne 0x407748
mov dword [esp + 0x40], 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 0x406eb0
cmp dword [esp + 0x40], eax
jne 0x407afb
mov eax, dword [0x44c9d4]
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 [0x44c9d4], eax
mov edx, dword [ebx + 0x2a50]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, ebx
call fcn.00410d54
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.00426f40
add esp, 0xc
xor eax, eax
jmp 0x4077d0
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x4077d0
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4077f0
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407805
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 0x407830
mov ecx, dword [str.Rt.inf]
mov dx, word [0x43c06c]
mov dword [eax], ecx
mov cl, byte [0x43c06e]
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 0x4078be
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 0x4078b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.00403c50
jmp 0x407aff
mov dword [esp + 0x34], 1
jmp 0x407aff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x140
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.00426f40
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 0x4078e0
mov eax, dword [0x44c9d8]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407900
lea edi, [esp + 0x1b8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407915
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 0x407940
mov ecx, dword [0x43bfe8]
mov dx, word [0x43bfec]
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 0x407af0
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfA]
mov eax, dword [0x44c9d8]
lea edx, [esp + 0x8bc]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x407990
lea eax, [esp + 0x8bc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4079a6
mov edx, dword [str.Rt.inf]
mov cx, word [0x43c06c]
mov dword [eax], edx
mov dl, byte [0x43c06e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
lea eax, [esp + 0x8bc]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.00426610
add esp, 8
test eax, eax
jne 0x407adc
mov eax, dword [0x44c9d8]
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 0x407a00
lea eax, [esp + 0x8bc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407a16
mov edx, dword [0x43c070]
mov cl, byte [0x43c074]
mov dword [eax], edx
lea edx, [esp + 0x8bc]
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.00426610
add esp, 8
test eax, eax
jne 0x407adc
mov cl, byte [esp + eax + 0x4bc]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x407a51
lea eax, [esp + 0xa4]
mov esi, eax
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407a70
lea edi, [esp + 0x1b8]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407a85
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 0x407ad4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00403c50
jmp 0x407adc
mov dword [esp + 0x34], 1
lea eax, [esp + 0x78]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407981
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 [0x44c9d4]
xor edx, edx
cmp eax, 0x5a
setge dl
push 0
sub edx, 1
and edx, 0xa
add eax, edx
push eax
mov dword [0x44c9d4], eax
mov eax, dword [ebx + 0x2a50]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, ebx
call fcn.00410d54
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 0x407b66
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 0x407b8e
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 0x407bb6
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 0x407bde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
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 0x407c09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
jmp 0x407cdb
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 0x407c36
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 0x407c5e
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 0x407c86
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 0x407cae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
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 0x407cd9
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.00425dea
add esp, 0xec0
ret