Function at 0x100070c6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x49c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x208
push ebx
mov eax, dword [edi]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2a8]
push eax
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [esp + 0x2ac]
add esp, 0xc
push dword [ebp + 0x10]
push eax
call esi
push 0x1004ad04
lea eax, [esp + 0x2a4]
push eax
call esi
push 0x250
lea eax, [esp + 0x54]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ecx, dword [edi + 0xc]
mov esi, eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x14], esi
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x4c], 0x2072024
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call fcn.100030eb
mov edi, eax
test esi, esi
je 0x100072c1
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x1000721b
push 0x2e
pop eax
cmp word [esp + 0x7c], ax
jne 0x100071cd
cmp word [esp + 0x7e], 0
je 0x10007208
cmp word [esp + 0x7e], ax
jne 0x100071cd
cmp word [esp + 0x80], 0
je 0x10007208
test ebx, ebx
je 0x100071f7
push ebx
call dword [ebx + 0x18]
pop ecx
push eax
push 0
push ebx
call dword [ebx + 0x1c]
pop ecx
pop ecx
push eax
push edi
call dword [edi + 0x14]
push 0x250
lea eax, [esp + 0x60]
push eax
push edi
call dword [edi + 0x14]
add esp, 0x18
jmp 0x10007208
push 0x250
lea eax, [esp + 0x54]
push eax
push edi
call dword [edi + 0x14]
add esp, 0xc
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x100071ac
push edi
call dword [edi + 0x18]
pop ecx
test eax, eax
jne 0x10007250
test ebx, ebx
je 0x10007259
push ebx
call dword [ebx + 0x18]
pop ecx
push eax
push 0
push ebx
call dword [ebx + 0x1c]
pop ecx
pop ecx
push eax
push edi
call dword [edi + 0x14]
push edi
call dword [edi + 0x18]
push ebx
mov esi, eax
call dword [ebx + 0x18]
add esp, 0x14
add esi, eax
mov dword [esp + 0x40], esi
jmp 0x10007259
push edi
call dword [edi + 0x18]
pop ecx
mov dword [esp + 0x40], eax
call fcn.100030eb
mov esi, eax
lea eax, [esp + 0x18]
push 0x38
push eax
push esi
call dword [esi + 0x14]
push edi
call dword [edi + 0x18]
add esp, 0x10
push eax
push 0
push edi
call dword [edi + 0x1c]
pop ecx
pop ecx
push eax
push esi
call dword [esi + 0x14]
push esi
call dword [esi + 0x18]
add esp, 0x10
push eax
push 0
push esi
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [eax + 0x18]
add esp, 0xc
mov ecx, edi
call fcn.100031f9
mov ecx, esi
call fcn.100031f9
test ebx, ebx
je 0x100072b5
mov ecx, ebx
call fcn.100031f9
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x100072d8
test edi, edi
je 0x100072cc
mov ecx, edi
call fcn.100031f9
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100072d8
call fcn.100031f9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret