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

Disassembly:
push 0xffffffffffffffff
push 0x51cae2
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov esi, dword [esp + 0x318]
mov ebp, dword [esp + 0x31c]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebp
jne 0x417842
xor eax, eax
jmp 0x417c50
cmp ebp, ebx
je 0x41783b
mov edi, 7
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417870
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0xa0]
call fcn.004021f0
push 3
push 0x560434
mov ecx, esi
mov dword [esp + 0x318], ebx
call fcn.00401d70
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov byte [esp + 0x310], 1
mov eax, ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4178d2
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x84]
call fcn.004021f0
mov edi, esi
mov byte [esp + 0x310], 2
call fcn.0040cd20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x310], 3
mov ecx, dword [esp + 0x80]
mov esi, 8
cmp dword [esp + 0x94], esi
jae 0x41792e
lea ecx, [esp + 0x80]
lea eax, [esp + 0x18]
push eax
mov edx, 0x560f28
call fcn.0040d4f0
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
jne 0x41794e
mov dword [esp + 0x34], ebx
jmp 0x41796b
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], eax
cmp dword [esp + 0xb0], esi
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], ebx
jae 0x417986
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xb4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x38], edi
je 0x417b8a
lea edx, [esp + 0xb4]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x417b8a
cmp word [esp + 0xe0], 0x2e
je 0x4179a4
mov ax, word [esp + 0xe2]
cmp ax, bx
je 0x4179a4
cmp ax, 0x2e
jne 0x4179e3
cmp word [esp + 0xe4], bx
je 0x4179a4
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4179f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xe4]
push eax
lea esi, [esp + 0x68]
call fcn.004021f0
test byte [esp + 0xb4], 0x10
je 0x417a85
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
call fcn.00401b60
mov ecx, esi
push ebx
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0x318], 4
call fcn.00401bd0
mov edx, esi
push edx
mov edx, str._.
call fcn.00401d40
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x417a5c
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x3c]
push ebp
push eax
call fcn.004177e0
cmp eax, ebx
lea ecx, [esp + 0x44]
jne 0x417b7d
mov byte [esp + 0x310], 3
call fcn.004022c0
jmp 0x4179a4
lea edi, [esp + 0x60]
call fcn.0040cd20
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp esi, eax
jbe 0x417aa3
call fcn.0042d45a
mov eax, dword [esp + 0x20]
mov ebp, esi
cmp dword [esp + 0x1c], eax
mov esi, eax
jbe 0x417ab6
call fcn.0042d45a
mov eax, dword [esp + 0x20]
cmp ebp, esi
je 0x417b70
cmp ebp, eax
jb 0x417ac7
call fcn.0042d45a
mov edi, 8
cmp dword [ebp + 0x18], edi
jb 0x417ad6
mov edx, dword [ebp + 4]
jmp 0x417ad9
lea edx, [ebp + 4]
mov eax, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417af0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x4c]
call fcn.004021f0
mov byte [esp + 0x310], 5
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x417b20
lea eax, [esp + 0x64]
mov edi, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
call fcn.00404930
test eax, eax
jne 0x417b3b
add dword [esp + 0x2c], 1
mov byte [esp + 0x310], 3
cmp dword [esp + 0x5c], 8
jb 0x417b57
mov eax, dword [esp + 0x48]
push eax
call fcn.0042d197
add esp, 4
mov eax, dword [esp + 0x20]
cmp ebp, eax
jb 0x417b68
call fcn.0042d45a
mov eax, dword [esp + 0x20]
add ebp, 0x1c
jmp 0x417aa5
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
jmp 0x4179a4
mov dword [esp + 0x28], 1
call fcn.004022c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x417ba7
cmp eax, dword [esp + 0x34]
jl 0x417ba7
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x417bcd
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
push ecx
call fcn.00404f50
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x94], 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x417bf3
mov eax, dword [esp + 0x80]
push eax
call fcn.0042d197
add esp, 4
mov edi, 8
cmp dword [esp + 0x78], edi
mov esi, 7
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x417c26
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0xb0], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x417c4c
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042d197
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0042d085
add esp, 0x300
ret 8