Function at 0x10014d80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x1006d080]
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 0x10015382
cmp dword [ebp + 0x10], eax
jne 0x10014dcd
cmp dword [ebp + 0x14], eax
je 0x10015382
mov byte [esp + 0x98], al
lea edx, [esp + 0x94]
push dword [esp + 0x98]
lea ecx, [esp + 0xc4]
call fcn.10015db0
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 0x10014e48
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10014e48
cmp ecx, 3
jl 0x10014e57
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x10014f0e
cmp eax, 0x2f
je 0x10014f0e
jmp 0x10014e57
mov ecx, esi
call fcn.1000a430
cmp esi, eax
jne 0x10014f0e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10014e68
mov ecx, eax
call fcn.10025790
jmp 0x10014e7b
cmp dword [0x1009589c], 0xf
mov eax, 0x10095888
cmova eax, dword [0x10095888]
mov byte [esp + 0x14], 0
lea edx, [esp + 0x94]
push dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov dword [esp + 0x98], eax
call fcn.10015db0
add esp, 4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
call fcn.1000c020
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x24]
call fcn.1000a5a0
lea ecx, [esp + 0xc0]
call fcn.1000a820
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.1000a820
lea ecx, [esp + 0x40]
call fcn.1000a820
push 0x140
lea eax, [esp + 0xec]
push 0
push eax
call fcn.10033cd0
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 0x10014f52
push edi
push str.No_files_found_in:__s
push 3
call fcn.1000c4a0
add esp, 0xc
jmp 0x10015340
push 0x28
mov dword [esp + 0xa0], 0
call fcn.100320e6
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 0x10014f95
test al, 0x10
jne 0x1001522f
cmp dword [ebp + 0x14], 0
jne 0x10014fa3
test al, 0x10
je 0x1001522f
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 0x10014fb4
sub ecx, edx
push ecx
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0xac]
call fcn.1000b6f0
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 0x10015029
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x10015029
cmp ecx, 3
jl 0x10015038
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x100150e2
cmp eax, 0x2f
je 0x100150e2
jmp 0x10015038
mov ecx, esi
call fcn.1000a430
cmp esi, eax
jne 0x100150e2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc4]
call fcn.1000a720
push eax
lea ecx, [esp + 0x44]
call fcn.1000c020
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
call fcn.1000a5a0
lea ecx, [esp + 0xa0]
call fcn.1000a820
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 0x100150e2
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100150d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100153a1
push ecx
push edx
call fcn.10032430
add esp, 8
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xa8]
call fcn.1000b1d0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xa0]
call fcn.10015df0
mov edx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
cmp byte [edx + 0xd], 0
jne 0x10015134
add edx, 0x10
lea ecx, [esp + 0x20]
call fcn.10016160
test al, al
je 0x100151b7
cmp dword [esp + 0x9c], 0x6666666
je 0x1001539c
mov esi, dword [esp + 0x98]
push 0x28
call fcn.100320e6
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.10015f50
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x100151ed
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100151e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100153a1
push ecx
push edx
call fcn.10032430
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 7
jbe 0x1001522f
mov edx, dword [esp + 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015225
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100153a1
push ecx
push edx
call fcn.10032430
add esp, 8
lea eax, [esp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10014f80
mov eax, dword [esp + 0x9c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10039841
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [esp + 0x98]
mov esi, dword [eax]
cmp byte [esi + 0xd], 0
jne 0x1001531d
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.10039841
add esp, 4
mov edx, eax
cmp dword [edi + 0x14], 0xf
jbe 0x100152a5
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 0x100152b0
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 0x100152f4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100152f0
nop
cmp esi, dword [eax + 8]
jne 0x100152f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100152e0
mov esi, eax
jmp 0x1001530c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001530c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10015300
cmp byte [esi + 0xd], 0
je 0x10015280
mov eax, dword [esp + 0x98]
push dword [eax + 4]
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
call fcn.10015e50
push 0x28
push dword [esp + 0x9c]
call fcn.10032430
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 7
jbe 0x1001537e
mov edx, dword [esp + 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015374
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100153a1
push ecx
push edx
call fcn.10032430
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.100320d8
mov esp, ebp
pop ebp
ret 0x10
call fcn.1000c120
call fcn.10039037
int3