Function at 0x100117e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x1006a080]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test edi, edi
je 0x10011de2
cmp dword [ebp + 0x10], eax
jne 0x1001182d
cmp dword [ebp + 0x14], eax
je 0x10011de2
mov byte [esp + 0x98], al
lea edx, [esp + 0x94]
push dword [esp + 0x98]
lea ecx, [esp + 0xc4]
call fcn.10012810
mov eax, dword [esp + 0xd4]
lea esi, [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd4], 7
cmova esi, dword [esp + 0xc0]
lea ecx, [eax + eax]
lea edx, [esi + ecx]
sar ecx, 1
cmp ecx, 2
jl 0x100118a8
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x100118a8
cmp ecx, 3
jl 0x100118b7
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x1001196e
cmp eax, 0x2f
je 0x1001196e
jmp 0x100118b7
mov ecx, esi
call fcn.10006e20
cmp esi, eax
jne 0x1001196e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100118c8
mov ecx, eax
call fcn.100221e0
jmp 0x100118db
cmp dword [0x1009289c], 0xf
mov eax, 0x10092888
cmova eax, dword [0x10092888]
mov byte [esp + 0x14], 0
lea edx, [esp + 0x94]
push dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov dword [esp + 0x98], eax
call fcn.10012810
add esp, 4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
call fcn.10008a10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x24]
call fcn.10006f90
lea ecx, [esp + 0xc0]
call fcn.10007210
movaps xmm0, xmmword [esp + 0x20]
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0xc0], xmm0
xor eax, eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xd0], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
call fcn.10007210
lea ecx, [esp + 0x40]
call fcn.10007210
push 0x140
lea eax, [esp + 0xec]
push 0
push eax
call fcn.10030580
add esp, 0xc
lea eax, [esp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x100119b2
push edi
push str.No_files_found_in:__s
push 3
call fcn.10008e90
add esp, 0xc
jmp 0x10011da0
push 0x28
mov dword [esp + 0xa0], 0
call fcn.1002e996
mov edi, dword [esp + 0x18]
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 + 0x98], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0xe8]
jne 0x100119f5
test al, 0x10
jne 0x10011c8f
cmp dword [ebp + 0x14], 0
jne 0x10011a03
test al, 0x10
je 0x10011c8f
lea esi, [esp + 0x114]
mov byte [esp + 0x14], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011a14
sub ecx, edx
push ecx
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0xac]
call fcn.100080e0
mov eax, dword [esp + 0xbc]
lea esi, [esp + 0xac]
add esp, 0xc
cmp dword [esp + 0xb4], 7
cmova esi, dword [esp + 0xa0]
lea ecx, [eax + eax]
lea edx, [ecx + esi]
sar ecx, 1
cmp ecx, 2
jl 0x10011a89
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10011a89
cmp ecx, 3
jl 0x10011a98
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x10011b42
cmp eax, 0x2f
je 0x10011b42
jmp 0x10011a98
mov ecx, esi
call fcn.10006e20
cmp esi, eax
jne 0x10011b42
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc4]
call fcn.10007110
push eax
lea ecx, [esp + 0x44]
call fcn.10008a10
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
call fcn.10006f90
lea ecx, [esp + 0xa0]
call fcn.10007210
movaps xmm0, xmmword [esp + 0x40]
xor eax, eax
mov ecx, dword [esp + 0x84]
movaps xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
cmp ecx, 7
jbe 0x10011b42
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10011b38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e01
push ecx
push edx
call fcn.1002ece0
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xa8]
call fcn.10007bc0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xa0]
call fcn.10012850
mov edx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
cmp byte [edx + 0xd], 0
jne 0x10011b94
add edx, 0x10
lea ecx, [esp + 0x20]
call fcn.10012bc0
test al, al
je 0x10011c17
cmp dword [esp + 0x9c], 0x6666666
je 0x10011dfc
mov esi, dword [esp + 0x98]
push 0x28
call fcn.1002e996
xorps xmm0, xmm0
lea ecx, [esp + 0x9c]
add esp, 4
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [esp + 0x6c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x38]
push dword [esp + 0x6c]
movq qword [eax + 0x20], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.100129b0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x10011c4d
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011c43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e01
push ecx
push edx
call fcn.1002ece0
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 7
jbe 0x10011c8f
mov edx, dword [esp + 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10011c85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e01
push ecx
push edx
call fcn.1002ece0
add esp, 8
lea eax, [esp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100119e0
mov eax, dword [esp + 0x9c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100360f1
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [esp + 0x98]
mov esi, dword [eax]
cmp byte [esi + 0xd], 0
jne 0x10011d7d
nop dword [eax]
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.100360f1
add esp, 4
mov edx, eax
cmp dword [edi + 0x14], 0xf
jbe 0x10011d05
mov edi, dword [edi]
mov ecx, edx
sub ecx, edi
nop dword [eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x10011d10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x18], ecx
cmp byte [eax + 0xd], 0
je 0x10011d54
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10011d50
nop
cmp esi, dword [eax + 8]
jne 0x10011d50
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10011d40
mov esi, eax
jmp 0x10011d6c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10011d6c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10011d60
cmp byte [esi + 0xd], 0
je 0x10011ce0
mov eax, dword [esp + 0x98]
push dword [eax + 4]
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
call fcn.100128b0
push 0x28
push dword [esp + 0x9c]
call fcn.1002ece0
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 7
jbe 0x10011dde
mov edx, dword [esp + 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10011dd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011e01
push ecx
push edx
call fcn.1002ece0
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.1002e988
mov esp, ebp
pop ebp
ret 0x10
call fcn.10008b10
call fcn.100358e7
int3