Function at 0x1000f570
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x1000f570
push 0xffffffffffffffff
push 0x100a67bc
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x100d2fa4]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d2fa4]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x380]
xor esi, esi
cmp dword [esp + 0x384], esi
mov ebx, ecx
jne 0x1000f5c4
call fcn.100011c2
push ebp
lea eax, [esp + 0x26c]
push str._s.gif
push eax
call fcn.1005d553
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x1000f774
lea eax, [esp + 0x50]
push eax
push ebp
lea ecx, [esp + 0x16c]
push str._s_s
push ecx
call fcn.1005d553
push 0x1ac
call fcn.1001f3a2
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x378], esi
je 0x1000f639
mov ecx, eax
call fcn.10001320
mov esi, eax
lea edx, [esp + 0x164]
push edx
mov ecx, esi
mov dword [esp + 0x37c], 0xffffffff
mov dword [esp + 0x18], esi
call fcn.10001262
lea eax, [esp + 0x164]
push eax
mov ecx, esi
call fcn.1000111d
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x130]
call fcn.10001096
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000f76d
lea eax, [esp + 0x50]
push eax
push ebp
lea ecx, [esp + 0x16c]
push str._s_s
push ecx
call fcn.1005d553
push 0x1ac
call fcn.1001f3a2
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x378], 1
je 0x1000f6cd
mov ecx, eax
call fcn.10001320
mov edi, eax
jmp 0x1000f6cf
xor edi, edi
lea edx, [esp + 0x164]
push edx
mov ecx, edi
mov dword [esp + 0x37c], 0xffffffff
mov dword [esp + 0x18], edi
call fcn.10001262
lea eax, [esp + 0x164]
push eax
mov ecx, edi
call fcn.1000111d
mov esi, dword [ebx + 0x130]
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000f70d
xor edx, edx
jmp 0x1000f715
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x1000f732
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x1000f732
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x1000f751
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x1000f73e
call fcn.1005dddd
lea ecx, [esp + 0x14]
push ecx
push edi
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.10001113
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f68a
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x1000f785
xor eax, eax
jmp 0x1000f78d
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
lea edx, [eax + 0x77]
mov eax, 0x88888889
mul edx
shr edx, 6
mov ecx, ebx
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x88], 0
call fcn.10001695
push 0
push 4
mov ecx, ebx
call fcn.100010eb
mov eax, dword [ebx + 0x130]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x1000f7cd
xor eax, eax
jmp 0x1000f7d5
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.1005ca47
add esp, 0x368
ret 8