Function at 0x10015d10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x1006c050]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x100164b1
cmp dword [ebp + 0x10], edi
jne 0x10015d56
cmp dword [ebp + 0x14], edi
je 0x100164b1
mov byte [esp + 0xa4], 0
lea edx, [esp + 0x7c]
push dword [esp + 0xa4]
lea ecx, [esp + 0xe4]
call fcn.10016d60
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.1000b860
test al, al
jne 0x10015e05
test esi, esi
je 0x10015d95
mov ecx, esi
call fcn.100269f0
jmp 0x10015da8
cmp dword [0x1009486c], 0x10
mov eax, 0x10094858
cmovae eax, dword [0x10094858]
mov byte [esp + 0xa4], 0
lea edx, [esp + 0x7c]
push dword [esp + 0xa4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], eax
call fcn.10016d60
add esp, 4
lea eax, [esp + 0xe0]
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x64]
push eax
call fcn.1000d290
add esp, 4
lea ecx, [esp + 0xe0]
push eax
call fcn.1000e2a0
lea ecx, [esp + 0x64]
call fcn.1000b8f0
lea ecx, [esp + 0x4c]
call fcn.1000b8f0
push 0x28
mov dword [esp + 0xb0], edi
call fcn.100330d6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
movups xmm0, xmmword [0x10094c14]
mov dword [esp + 0xa8], eax
mov eax, dword [0x10094c24]
mov dword [esp + 0x90], eax
movd eax, xmm0
movaps xmmword [esp + 0x80], xmm0
shr eax, 8
test al, al
je 0x1001608c
mov dword [esp + 0x14], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0xf
test esi, esi
je 0x10015efa
mov ecx, esi
call fcn.100268f0
mov ecx, eax
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0xa4], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10015e90
sub edx, dword [esp + 0xa4]
push edx
push ecx
lea ecx, [esp + 0xd0]
call fcn.1000c130
push 0x5c
lea ecx, [esp + 0xcc]
call fcn.1000e330
mov ecx, esi
call fcn.10026970
mov edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015ec8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xd0]
call fcn.1000c3b0
cmp dword [esp + 0xdc], 0x10
lea eax, [esp + 0xc8]
cmovae eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xe8]
call fcn.1000c6c0
push dword [ebp + 0x14]
cmp dword [esp + 0xc8], 0x10
lea eax, [esp + 0xb4]
push dword [ebp + 0x10]
cmovae eax, dword [esp + 0xb8]
push eax
push dword [esp + 0x20]
call dword [esp + 0x9c]
add esp, 0x10
mov dword [esp + 0xa4], edx
mov esi, eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1c], esi
call fcn.1000bd40
test esi, esi
je 0x10015fcf
xor ecx, ecx
mov dword [esp + 0x18], esi
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100392d2
add esp, 4
mov edi, eax
mov dword [esp + 0x7c], edi
test esi, esi
je 0x10015fcf
mov edi, dword [esp + 0xa4]
sub eax, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], esi
mov esi, dword [edi]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10015f97
sub esi, ecx
inc esi
push esi
call fcn.100392d2
mov ecx, dword [esp + 0x48]
add esp, 4
push esi
mov dword [ecx + edi], eax
push dword [edi]
push eax
call fcn.100346e0
add esp, 0xc
add edi, 4
sub dword [esp + 0x14], 1
jne 0x10015f92
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
push dword [esp + 0xa4]
push esi
call dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
add esp, 8
cmp edx, 0x10
jb 0x1001601d
mov ecx, dword [esp + 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016013
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164cd
push edx
push ecx
call fcn.10033420
add esp, 8
mov eax, dword [esp + 0xa8]
push dword [eax + 4]
lea eax, [esp + 0xac]
push eax
mov ecx, eax
call fcn.10016da0
push 0x28
push dword [esp + 0xac]
call fcn.10033420
mov edx, dword [esp + 0xfc]
add esp, 8
cmp edx, 8
jb 0x100164b1
mov ecx, dword [esp + 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100164a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164d2
jmp 0x100164a7
push 0x140
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.10034c70
add esp, 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0xe4]
push eax
call fcn.1000c6c0
cmp dword [esp + 0x60], 0x10
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], eax
call fcn.1000bd40
cmp dword [esp + 0x14], 0xffffffff
je 0x1001601d
mov edi, dword [esp + 0x14]
nop dword [eax]
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xf8]
jne 0x10016105
test al, 0x10
jne 0x100163e8
cmp dword [ebp + 0x14], 0
jne 0x10016113
test al, 0x10
je 0x100163e8
lea esi, [esp + 0x124]
mov byte [esp + 0x1c], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016124
sub ecx, edx
push ecx
push esi
push dword [esp + 0x24]
lea ecx, [esp + 0xbc]
call fcn.1000ca50
mov eax, dword [esp + 0xcc]
lea esi, [esp + 0xbc]
add esp, 0xc
cmp dword [esp + 0xc4], 8
cmovae esi, dword [esp + 0xb0]
lea ecx, [eax + eax]
lea edx, [ecx + esi]
sar ecx, 1
cmp ecx, 2
jl 0x10016197
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10016197
cmp ecx, 3
jl 0x10016193
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001618f
cmp eax, 0x2f
jne 0x10016193
mov al, 1
jmp 0x100161a3
xor al, al
jmp 0x100161a3
mov ecx, esi
call fcn.1000b510
cmp esi, eax
setne al
test al, al
jne 0x1001626e
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xe8]
call fcn.1000b790
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.1000d290
add esp, 4
lea ecx, [esp + 0xb0]
push eax
call fcn.1000e2a0
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x1001621b
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016211
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164cd
push edx
push ecx
call fcn.10033420
add esp, 8
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x1001626e
mov ecx, dword [esp + 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164cd
push edx
push ecx
call fcn.10033420
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb8]
call fcn.1000c6c0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xb0]
call fcn.100172d0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0xc8], xmm0
cmp byte [eax + 0xd], 0
jne 0x100162c5
add eax, 0x10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100173c0
test al, al
je 0x1001636c
cmp dword [esp + 0xac], 0x6666666
je 0x100164d7
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0xa8]
push 0x28
mov dword [esp + 0x48], eax
call fcn.100330d6
mov edi, eax
mov dword [esp + 0x4c], 0
add esp, 4
lea ecx, [esp + 0x44]
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [edi + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov word [edi + 0xc], 0
call fcn.10017020
push edi
push dword [esp + 0xd0]
lea ecx, [esp + 0xb0]
push dword [esp + 0xd0]
call fcn.10017090
mov edx, dword [esp + 0x34]
cmp edx, 0x10
jb 0x100163a2
mov ecx, dword [esp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164cd
push edx
push ecx
call fcn.10033420
add esp, 8
mov edx, dword [esp + 0xc4]
cmp edx, 8
jb 0x100163e4
mov ecx, dword [esp + 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100163da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100164cd
push edx
push ecx
call fcn.10033420
add esp, 8
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100160f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xac]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100392d2
mov edi, eax
add esp, 4
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
mov dword [esp + 0xa4], eax
cmp byte [eax + 0xd], 0
jne 0x1001601d
lea esi, [eax + 0x10]
xor ecx, ecx
mov eax, dword [esi + 0x10]
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.100392d2
add esp, 4
mov edx, eax
cmp dword [esi + 0x14], 0x10
jb 0x10016467
mov esi, dword [esi]
mov ecx, edx
sub ecx, esi
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10016470
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xa4]
mov dword [edi + eax*4], edx
inc eax
mov dword [esp + 0x18], eax
call fcn.100168d0
mov eax, dword [esp + 0xa4]
cmp byte [eax + 0xd], 0
je 0x10016442
jmp 0x1001601d
push edx
push ecx
call fcn.10033420
add esp, 8
mov ecx, dword [esp + 0x23c]
mov edx, edi
mov eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.100330c8
mov esp, ebp
pop ebp
ret 0x10
call fcn.10038ba7
call fcn.10038ba7
call fcn.1000d3e0
int3