Function at 0x10017240
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a148
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1005f0f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea edi, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
jb 0x100172a4
mov edi, dword [ebx + 8]
test edi, edi
jne 0x100172a4
push 2
call fcn.10032e53
add esp, 4
jmp 0x1001750e
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100172b0
sub ecx, edx
lea eax, [ecx + 3]
cmp eax, 0x104
jb 0x100172d2
push 0x26
call fcn.10032e53
add esp, 4
jmp 0x1001750e
push 0x360
call fcn.1002f781
mov esi, eax
add esp, 4
test esi, esi
je 0x1001750e
push 0
lea eax, [esi + 0x258]
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x100174fa
push 0
lea edi, [esi + 0x258]
push edi
call fcn.10028d20
add esp, 8
cmp edi, eax
jae 0x1001732c
mov cl, byte [eax - 1]
cmp cl, 0x5c
je 0x1001732c
cmp cl, 0x3a
je 0x1001732c
mov byte [eax], 0x5c
inc eax
mov word [eax], 0x2a
lea eax, [esi + 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x254], eax
cmp eax, 0xffffffff
je 0x100174f3
mov dword [esi + 0x250], 1
nop dword [eax + eax]
cmp dword [esi + 0x250], 0
je 0x100173c1
mov dword [esi + 0x250], 0
lea edi, [esi + 0x110]
push 0xffffffffffffffff
lea eax, [esi + 0x13c]
push eax
push 0x105
push esi
call fcn.100338fb
mov ecx, esi
mov byte [esi + 0x104], 0
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100173a0
mov eax, dword [edi]
sub ecx, edx
mov dword [esi + 0x108], ecx
test al, 0x40
je 0x100173fe
mov dword [esi + 0x10c], 0x2000
jmp 0x10017413
mov eax, dword [esi + 0x254]
cmp eax, 0xffffffff
jne 0x100173d0
xor edx, edx
jmp 0x10017415
lea edi, [esi + 0x110]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10017379
push dword [esi + 0x254]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
mov dword [esi + 0x254], 0xffffffff
xor edx, edx
jmp 0x1001741b
test al, 0x10
mov ecx, 0x4000
mov eax, 0x8000
cmovne eax, ecx
mov dword [esi + 0x10c], eax
mov edx, esi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
test edx, edx
je 0x100174ce
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017441
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003e80
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10017483
movups xmm0, xmmword [ebp - 0x2c]
mov edx, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x10017490
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.1001bef0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10017360
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100174bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017573
push edx
push ecx
call fcn.100274be
add esp, 8
jmp 0x10017360
mov eax, dword [esi + 0x254]
cmp eax, 0xffffffff
je 0x100174e6
push eax
call edi
mov dword [esi + 0x254], 0xffffffff
push esi
call fcn.1002eef9
add esp, 4
xor esi, esi
jmp 0x1001752d
mov eax, 2
jmp 0x100174ff
mov eax, 0xc
push eax
call fcn.10032e53
push esi
call fcn.1002eef9
add esp, 8
push 0x10
push 0x10058ca8
push str.Dosya_konumu_hatas
push dword [0x10061304]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.10032e40
mov esi, dword [eax]
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x1001755d
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017553
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017573
push edx
push ecx
call fcn.100274be
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002df33
int3