Function at 0x30f1ff30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x30f27ea2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
mov eax, dword [0x30f33218]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x2a0], eax
push edi
xor eax, eax
xor esi, esi
mov dword [esp + 0x50], esi
mov ecx, 0x93
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [0x30f332d0]
mov ecx, 0x30f332d0
mov dword [esp + 0x20], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [str..csmanifest]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_s
push eax
mov dword [esp + 0x2c4], esi
call fcn.30f02b30
mov edx, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x30f20236
mov eax, dword [0x30f332d0]
mov ecx, 0x30f332d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov eax, dword [edi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x2b4], 1
jge 0x30f20012
push 0x104
lea ecx, [esp + 0x14]
call fcn.30f01330
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
push ecx
lea eax, [ebx + 0x2c]
push eax
lea edx, [esp + 0x34]
push edx
call fcn.30f0f890
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x2b4], 2
je 0x30f2008c
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x30f2007a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x30f2007a
push eax
call fcn.30f031c0
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x30f2006d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov edi, dword [esp + 0x18]
add edi, 0x10
mov dword [esp + 0x10], edi
jmp 0x30f2008c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.30f02900
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x2b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x30f200b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x1c]
push eax
push edi
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
je 0x30f201f5
push 0x2e
push edi
call dword [sym.imp.MSVCR71.dll_wcsrchr]
xor esi, esi
add esp, 8
cmp eax, esi
jne 0x30f200df
or eax, 0xffffffff
jmp 0x30f200e3
sub eax, edi
sar eax, 1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.30f1b1d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.30f0f780
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x30f2012a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.30f1ccc0
mov eax, dword [ebx + 0x4c]
cmp eax, dword [esp + 0x28]
jne 0x30f201f5
push esi
push edi
call dword [sym.imp.MSVCR71.dll__waccess]
add esp, 8
cmp eax, 0xffffffff
je 0x30f201f5
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x2b4], 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.30f1a820
mov esi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x30]
push ecx
push edi
mov ecx, ebx
mov byte [esp + 0x2bc], 5
call fcn.30f1f5d0
mov dword [esp + 0x18], eax
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov byte [esp + 0x2b4], 1
mov dword [esi + 4], esi
mov dword [esp + 0x4c], 0
je 0x30f201d8
mov ebx, dword [eax]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, esi
mov eax, ebx
jne 0x30f201c3
mov ebx, dword [esp + 0x20]
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov esi, dword [esp + 0x1c]
add esp, 4
test esi, esi
mov dword [esp + 0x48], 0
jl 0x30f20282
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x50]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x30f20012
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
add edi, 0xfffffff0
mov byte [esp + 0x2b4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x30f20236
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x30f2025f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2a4]
call fcn.30f25a4e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add edi, 0xfffffff0
mov byte [esp + 0x2b4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x30f202a4
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x30f202cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
jmp 0x30f20261