Function at 0x1007e160
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b60ae
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2e4], edx
cmp dword [ecx + 0x10], 0
jne 0x1007e1a7
or eax, 0xffffffff
or edx, eax
jmp 0x1007e69e
push ecx
lea ecx, [ebp - 0x88]
call fcn.10006ac0
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x88]
call fcn.100b4c20
mov edx, 0x40000000
lea ecx, [ebp - 0x88]
call fcn.100b4c20
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.1019e7c9
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
lea eax, [edx + 1]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
ja 0x1007e256
push ecx
lea ecx, [ebp - 0x28]
call fcn.1007fcf0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, dword [ebp - 0x1c]
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov ecx, dword [ebp - 0x24]
cmp dword [esi + ecx], 0
jne 0x1007e286
push 0x18
call fcn.1019e7c9
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [esi + ecx]
call fcn.10006ac0
inc dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e0], xmm0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.10005010
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10005010
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.10005010
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
mov esi, 0x104
cmp ecx, esi
jb 0x1007e2f0
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x1007e2fe
push ecx
mov eax, esi
sub eax, ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1006f800
mov eax, dword [ebp - 0x48]
cmp eax, 0x104
jb 0x1007e325
mov dword [ebp - 0x48], 0x104
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x1007e331
push ecx
sub esi, eax
push esi
lea ecx, [ebp - 0x58]
call fcn.1006f800
mov edi, dword [ebp - 0x2dc]
nop word [eax + eax]
cmp dword [ebp - 0x18], 0
je 0x1007e588
push 0
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007e588
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1007e369
mov eax, dword [eax]
mov ecx, dword [eax + 8]
dec ecx
and ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov byte [ebp - 4], 8
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
cmp ecx, eax
je 0x1007e39f
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1007e393
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.100055f0
mov ecx, dword [ebp - 0x20]
dec ecx
and ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + ecx*4]
call fcn.10004f10
sub dword [ebp - 0x18], 1
jne 0x1007e3c0
mov dword [ebp - 0x1c], 0
jmp 0x1007e3c3
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.100055f0
push 1
push 0x101df948
lea ecx, [ebp - 0x40]
call fcn.1001f0c0
push 0x250
push 0
lea eax, [ebp - 0x2d8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e8], esi
cmp esi, 0xffffffff
je 0x1007e340
mov eax, 1
nop
test eax, eax
je 0x1007e57c
push 0
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007e57c
mov eax, dword [ebp - 0x2d8]
test al, 0x10
je 0x1007e543
mov cx, word [ebp - 0x2ac]
test cx, cx
je 0x1007e569
cmp cx, 0x2e
je 0x1007e569
test eax, 0x400
jne 0x1007e569
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.100055f0
lea ecx, [ebp - 0x2ac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007e4a1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x58]
call fcn.1001f0c0
push 1
push 0x101dba9c
lea ecx, [ebp - 0x58]
call fcn.1001f0c0
mov edx, dword [ebp - 0x18]
lea eax, [edx + 1]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
ja 0x1007e4eb
push ecx
lea ecx, [ebp - 0x28]
call fcn.1007fcf0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, dword [ebp - 0x1c]
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + esi], 0
jne 0x1007e51b
push 0x18
call fcn.1019e7c9
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + esi], eax
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ecx + esi]
call fcn.10006ac0
inc dword [ebp - 0x18]
mov esi, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1007e430
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2ec], ecx
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2f0], eax
add dword [ebp - 0x2e0], eax
adc edi, ecx
mov dword [ebp - 0x2dc], edi
lea eax, [ebp - 0x2d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1007e430
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1007e340
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.10004f10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10004f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.10004f10
mov dword [ebp - 4], 3
jmp 0x1007e5c8
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007e602
mov ecx, dword [ebp - 0x1c]
dec eax
add ecx, eax
mov edx, dword [ebp - 0x20]
dec edx
and edx, ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4]
call fcn.10004f10
mov eax, dword [ebp - 0x18]
xor edx, edx
add eax, 0xffffffff
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
cmove ecx, edx
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x1007e5d6
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1007e62d
nop dword [eax]
dec esi
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x1007e626
push 0x18
push eax
call fcn.1019e7f9
add esp, 8
mov ecx, dword [ebp - 0x24]
test esi, esi
jne 0x1007e610
mov esi, dword [ebp - 0x20]
test ecx, ecx
je 0x1007e65e
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x1007e654
add esi, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e654
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.1019e7f9
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xd
push 8
push dword [ebp - 0x28]
call fcn.1019e7f9
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10004f10
mov eax, dword [ebp - 0x2e0]
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret