Function at 0x4172ac
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3ac
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov dword [ebp - 0x60], 0x45d7f8
mov dword [ebp - 0x5c], 0x463cb8
mov dword [ebp - 0x58], ebp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x58], 0x4177ff
mov dword [ebp - 0x74], 1
lea eax, [ebp - 0x7c]
call fcn.0045e461
mov dword [esp + 4], esi
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
call fcn.00416254
mov dword [ebp - 0x74], 2
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], str._.
call fcn.0041a51c
mov dword [ebp - 0xdc], 7
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], 0
mov edx, dword [eax + 0x18]
cmp edx, 7
ja 0x4173a4
mov ecx, dword [eax + 0x14]
mov edi, eax
add edi, 4
inc ecx
je 0x4173b9
mov dword [ebp - 0x74], 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x40], edi
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
call fcn.0044ccac
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
lea esi, [ebp - 0xf0]
mov edi, dword [ebp - 0x40]
jmp 0x4173b9
mov edi, eax
add edi, 4
mov ecx, dword [eax + 4]
mov dword [ebp - 0xf0], ecx
mov dword [eax + 4], 0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov word [edi], 0
mov ecx, dword [ebp - 0x390]
cmp ecx, 8
jb 0x417403
mov eax, dword [ebp - 0x3a4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x4173fb
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
cmp dword [ebp - 0xdc], 7
jbe 0x417412
mov esi, dword [ebp - 0xf0]
mov dword [ebp - 0x74], 4
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.DLL_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4177be
lea eax, [ebp - 0x37c]
nop word cs:[eax + eax]
test byte [ebp - 0x3a8], 0x10
je 0x41777c
mov dword [ebp - 0x74], 5
mov dword [esp], eax
mov dword [esp + 4], 0x463b34
call fcn.0044cbc4
test eax, eax
lea eax, [ebp - 0x37c]
je 0x41777c
mov dword [ebp - 0x74], 6
mov dword [esp], eax
mov dword [esp + 4], 0x463b38
call fcn.0044cbc4
test eax, eax
lea esi, [ebp - 0x37c]
je 0x41777c
mov dword [ebp - 0xfc], 7
mov dword [ebp - 0x100], 0
mov word [ebp - 0x110], 0
cmp word [ebp - 0x37c], 0
je 0x4174d4
mov dword [esp], esi
call fcn.0044c630
jmp 0x4174d6
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0x114]
mov dword [esp], eax
call fcn.0041a23c
mov dword [ebp - 0x74], 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00416254
mov dword [ebp - 0x74], 9
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x463b30
call fcn.0041a51c
mov esi, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov eax, dword [esi + 0x18]
cmp eax, 7
ja 0x417594
mov ecx, dword [esi + 0x14]
mov edi, esi
add edi, 4
inc ecx
je 0x4175a6
mov dword [ebp - 0x74], 0xa
mov dword [esp + 8], ecx
mov dword [ebp - 0xf8], edi
mov dword [esp + 4], edi
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x40], esi
call fcn.0044ccac
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x18]
lea edx, [ebp - 0x114]
mov edi, dword [ebp - 0xf8]
jmp 0x4175ac
mov edi, esi
add edi, 4
mov ecx, dword [esi + 4]
mov dword [ebp - 0x38], ecx
mov dword [esi + 4], 0
lea edx, [ebp - 0x114]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [edi], 0
mov dword [ebp - 0x74], 0xb
mov dword [esp + 8], edx
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x154]
mov dword [esp], eax
call fcn.00416f6c
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x41760a
mov eax, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x417602
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x417646
mov eax, dword [ebp - 0xd4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41763e
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x74], 0xc
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00416078
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0xd
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00419c20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x74], 0xe
lea ecx, [ebp - 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004170f8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x4176d1
mov eax, dword [ebp - 0x38]
inc ecx
cmp ecx, 0x1000
jb 0x4176c9
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0
je 0x41772b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xcc]
sub ecx, eax
cmp ecx, 0x1000
mov eax, dword [ebp - 0x14]
jb 0x417705
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x13c]
cmp ecx, 8
jb 0x417753
mov eax, dword [ebp - 0x150]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41774b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov ecx, dword [ebp - 0xfc]
cmp ecx, 8
jb 0x41777c
mov eax, dword [ebp - 0x110]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x417773
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
nop
mov dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileW
sub esp, 8
test eax, eax
lea eax, [ebp - 0x37c]
jne 0x41744c
mov dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindClose
sub esp, 4
mov ecx, dword [ebp - 0xdc]
cmp ecx, 8
jb 0x4177e6
mov eax, dword [ebp - 0xf0]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x4177de
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0045e482
mov eax, dword [ebp + 8]
add esp, 0x3ac
pop esi
pop edi
pop ebx
pop ebp
ret