Function at 0x4083d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x410020]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x890], ecx
mov word [ebp - 0x888], 0
push 0x206
push 0
lea eax, [ebp - 0x886]
push eax
call fcn.004010a0
add esp, 0xc
mov dword [ebp - 0x88c], 1
mov dword [ebp - 0x680], 0
cmp dword [ebp + 8], 0
jne 0x408434
push 4
mov ecx, dword [ebp - 0x890]
call fcn.00408190
jmp 0x4086ca
push 0x104
lea ecx, [ebp - 0x888]
push ecx
mov edx, dword [ebp - 0x890]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x408464
push 0x102
mov ecx, dword [ebp - 0x890]
call fcn.00408190
jmp 0x4086ca
push 0x40ebf8
lea ecx, [ebp - 0x888]
push ecx
call fcn.0040111a
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x888]
push eax
call fcn.0040111a
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x888]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x67c], eax
cmp dword [ebp - 0x67c], 0xffffffff
je 0x4084de
mov eax, dword [ebp - 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x4084d4
lea ecx, [ebp - 0x888]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401144
add esp, 8
mov eax, 1
jmp 0x4086ca
push 0x104
lea eax, [ebp - 0x888]
push eax
mov ecx, dword [ebp - 0x890]
mov edx, dword [ecx + 0x10]
call edx
test eax, eax
jne 0x40850e
push 0x102
mov ecx, dword [ebp - 0x890]
call fcn.00408190
jmp 0x4086ca
push 0x40ec04
lea eax, [ebp - 0x888]
push eax
call fcn.0040111a
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x888]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x67c], eax
jmp 0x408558
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x67c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x67c], 0xffffffff
je 0x4086a2
cmp dword [ebp - 0x88c], 0
je 0x4086a2
push 0x104
lea edx, [ebp - 0x888]
push edx
mov eax, dword [ebp - 0x890]
mov ecx, dword [eax + 0x10]
call ecx
push 0x40ec20
lea edx, [ebp - 0x888]
push edx
call fcn.0040111a
add esp, 8
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x888]
push ecx
call fcn.0040111a
add esp, 8
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
lea eax, [ebp - 0x888]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupGetInfInformationW]
test eax, eax
jne 0x4085d3
jmp 0x40853e
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x25c], eax
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x25c]
push eax
push 2
lea ecx, [ebp - 0x888]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetInfInformationW]
test eax, eax
jne 0x408617
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40853e
mov dword [ebp - 0x678], 0x414
lea eax, [ebp - 0x678]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x890]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x408654
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40853e
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x674]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401a42
add esp, 8
test eax, eax
jne 0x40869d
mov dword [ebp - 0x680], 1
cmp dword [ebp + 0xc], 0
je 0x40869b
lea edx, [ebp - 0x888]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401144
add esp, 8
jmp 0x4086a2
jmp 0x40853e
cmp dword [ebp - 0x67c], 0xffffffff
je 0x4086b8
mov ecx, dword [ebp - 0x67c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x680], 0
je 0x4086c8
mov eax, 1
jmp 0x4086ca
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004014e5
mov esp, ebp
pop ebp
ret 8