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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x1006d050]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esp + 8], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0xc], 0
test esi, esi
je 0x100158a5
cmp dword [ebp + 0x10], edi
jne 0x100153aa
cmp dword [ebp + 0x14], edi
je 0x100158a5
mov byte [esp + 0x70], 0
lea edx, [esp + 0x6c]
push dword [esp + 0x70]
lea ecx, [esp + 0x94]
call fcn.10016240
add esp, 4
lea ecx, [esp + 0x90]
call fcn.1000a9a0
test al, al
jne 0x1001544e
mov eax, dword [esp + 8]
test eax, eax
je 0x100153e7
mov ecx, eax
call fcn.10026000
jmp 0x100153fa
cmp dword [0x10095acc], 0x10
mov eax, 0x10095ab8
cmovae eax, dword [0x10095ab8]
mov byte [esp + 8], 0
lea edx, [esp + 0x6c]
push dword [esp + 8]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], eax
call fcn.10016240
add esp, 4
lea eax, [esp + 0x90]
lea edx, [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
call fcn.1000c340
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.1000d3b0
lea ecx, [esp + 0x48]
call fcn.1000aa30
lea ecx, [esp + 0x78]
call fcn.1000aa30
push 0x140
lea eax, [esp + 0xac]
push 0
push eax
call fcn.10034580
add esp, 0xc
lea eax, [esp + 0xa8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x6c], eax
cmp eax, 0xffffffff
jne 0x10015492
push esi
push str.No_files_found_in:__s
push 3
call fcn.1000c7e0
add esp, 0xc
jmp 0x10015867
push 0x28
mov dword [esp + 0x78], edi
call fcn.10032986
mov edi, dword [ebp + 0x14]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0x70], eax
nop word [eax + eax]
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xa8]
jne 0x100154d5
test al, 0x10
jne 0x1001576a
test edi, edi
jne 0x100154e1
test al, 0x10
je 0x1001576a
lea esi, [esp + 0xd4]
mov byte [esp + 8], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100154f2
sub ecx, edx
push ecx
push esi
push dword [esp + 0x10]
lea ecx, [esp + 0x84]
call fcn.1000bb00
mov eax, dword [esp + 0x94]
lea esi, [esp + 0x84]
add esp, 0xc
cmp dword [esp + 0x8c], 8
cmovae esi, dword [esp + 0x78]
lea ecx, [eax + eax]
lea edx, [ecx + esi]
sar ecx, 1
cmp ecx, 2
jl 0x10015562
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10015562
cmp ecx, 3
jl 0x1001555e
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001555a
cmp eax, 0x2f
jne 0x1001555e
mov al, 1
jmp 0x1001556e
xor al, al
jmp 0x1001556e
mov ecx, esi
call fcn.1000a650
cmp esi, eax
setne al
test al, al
jne 0x10015633
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x98]
call fcn.1000a8d0
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.1000c340
add esp, 4
lea ecx, [esp + 0x78]
push eax
call fcn.1000d3b0
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100155e0
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100155d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100158c6
push edx
push ecx
call fcn.10032cd0
add esp, 8
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x10015633
mov ecx, dword [esp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015629
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100158c6
push edx
push ecx
call fcn.10032cd0
add esp, 8
push ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x80]
call fcn.1000b820
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
call fcn.10016280
mov edx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0x3c], xmm0
cmp byte [edx + 0xd], 0
jne 0x1001567b
add edx, 0x10
lea ecx, [esp + 0x10]
call fcn.100167a0
test al, al
je 0x100156f5
cmp dword [esp + 0x74], 0x6666666
je 0x100158c1
mov esi, dword [esp + 0x70]
push 0x28
call fcn.10032986
add esp, 4
lea ecx, [esp + 0x70]
mov dword [eax + 0x10], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [esp + 0x10]
push eax
push dword [esp + 0x44]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x28]
push dword [esp + 0x44]
movq qword [eax + 0x20], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10016570
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x1001572b
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100158c6
push edx
push ecx
call fcn.10032cd0
add esp, 8
mov edx, dword [esp + 0x8c]
cmp edx, 8
jb 0x1001576a
mov ecx, dword [esp + 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100158c6
push edx
push ecx
call fcn.10032cd0
add esp, 8
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100154c0
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10039981
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp + 8], edi
mov esi, dword [eax]
cmp byte [esi + 0xd], 0
jne 0x1001584a
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x10]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10039981
add esp, 4
mov edx, eax
cmp dword [edi + 0x14], 0x10
jb 0x100157dc
mov edi, dword [edi]
mov ecx, edx
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x100157e0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [edi + eax*4], edx
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10015824
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10015820
nop
cmp esi, dword [eax + 8]
jne 0x10015820
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10015810
mov esi, eax
jmp 0x1001583c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001583c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10015830
cmp byte [esi + 0xd], 0
je 0x100157b7
mov eax, dword [esp + 0x70]
push dword [eax + 4]
lea eax, [esp + 0x74]
push eax
mov ecx, eax
call fcn.100162e0
push 0x28
push dword [esp + 0x74]
call fcn.10032cd0
add esp, 8
mov edx, dword [esp + 0xa4]
cmp edx, 8
jb 0x100158a5
mov ecx, dword [esp + 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001589b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100158c6
push edx
push ecx
call fcn.10032cd0
add esp, 8
mov ecx, dword [esp + 0x1ec]
mov edx, edi
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10032978
mov esp, ebp
pop ebp
ret 0x10
call fcn.1000c490
call fcn.10039177
int3