Function at 0x10014e70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b59eb
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x100d3fe0]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3fe0]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x17c]
mov edi, ecx
test esi, esi
je 0x10015180
push esi
lea ecx, [edi + 0x34]
call fcn.10009830
mov ecx, edi
call fcn.100144a0
push esi
lea ecx, [esp + 0x1c]
call fcn.10001bc0
push str..
push str..
mov dword [esp + 0x17c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x20]
call fcn.100098f0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10014f5b
push 0x14
call fcn.10080587
add esp, 4
test eax, eax
je 0x10014f2c
mov edx, dword [0x100d302c]
mov dword [eax], edx
mov esi, eax
jmp 0x10014f2e
xor esi, esi
mov eax, dword [esp + 0x28]
and eax, 0x10
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x54]
mov dword [esi + 4], ecx
push edx
mov ecx, esi
call fcn.10009830
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.100149f0
lea ecx, [esp + 0x28]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10015040
push 0x14
call fcn.10080587
add esp, 4
test eax, eax
je 0x10014f89
mov edx, dword [0x100d302c]
mov dword [eax], edx
mov esi, eax
jmp 0x10014f8b
xor esi, esi
mov eax, dword [esp + 0x28]
and eax, 0x10
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x54]
push edx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
mov ecx, esi
call fcn.100096e0
test eax, eax
je 0x10014fd1
mov ecx, dword [esi]
push ebx
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.1007f6e0
mov edx, dword [esi]
mov dword [edx - 8], ebx
mov eax, dword [esi]
add esp, 0xc
mov byte [ebx + eax], 0
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], edx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test ecx, ecx
jne 0x10014fee
xor eax, eax
jmp 0x10014ff6
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x1001500e
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x1001502c
cmp ecx, ebx
jbe 0x10015017
call fcn.10080551
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.100148c0
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10014f6f
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x14], 0
cmp ebx, dword [edi + 0x10]
jbe 0x1001505c
call fcn.10080551
mov ebp, dword [edi]
mov esi, ebx
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x20], esi
cmp dword [edi + 0xc], ebx
jbe 0x10015071
call fcn.10080551
mov eax, dword [edi]
test ebp, ebp
je 0x1001507b
cmp ebp, eax
je 0x10015080
call fcn.10080551
cmp esi, ebx
je 0x1001515a
test ebp, ebp
jne 0x10015143
call fcn.10080551
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100150a1
call fcn.10080551
mov ecx, dword [esi]
cmp dword [ecx + 8], 0
je 0x10015126
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
sar edx, 2
cmp esi, edx
jb 0x100150bf
call fcn.10080551
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
sub edx, eax
lea ebx, [esi*4]
mov ecx, dword [ebx + eax]
sar edx, 2
mov dword [esp + 0x24], ecx
cmp esi, edx
jb 0x100150e1
call fcn.10080551
mov esi, dword [edi + 0xc]
add esi, ebx
test ebp, ebp
jne 0x1001514b
call fcn.10080551
xor eax, eax
mov ebx, dword [esp + 0x20]
cmp ebx, dword [eax + 0x10]
jb 0x100150ff
call fcn.10080551
mov eax, dword [ebx]
inc dword [esp + 0x14]
mov dword [esi], eax
test ebp, ebp
jne 0x10015150
call fcn.10080551
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x1001511c
call fcn.10080551
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ebx], ecx
test ebp, ebp
jne 0x10015155
call fcn.10080551
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1001513b
call fcn.10080551
add esi, 4
jmp 0x10015060
mov eax, dword [ebp]
jmp 0x10015097
mov eax, dword [ebp]
jmp 0x100150f1
mov eax, dword [ebp]
jmp 0x10015112
mov eax, dword [ebp]
jmp 0x10015131
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, dword [0x100d3028]
je 0x10015180
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10015180
push esi
call fcn.1007f6d5
add esp, 4
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1007fec9
add esp, 0x164
ret 4