Function at 0x10096df0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x364
mov eax, dword [0x10141040]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x150]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
push 0
push eax
mov dword [esp + 0x18], ebx
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x26c]
push ebx
push str._s.lua
push eax
call edi
add esp, 0x18
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x100970e0
test byte [esp + 0x18], 0x10
jne 0x10097035
push 0x101a4800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x44]
push eax
push ebx
lea eax, [esp + 0x160]
push str._s_s
push eax
call edi
push 0x10c
call fcn.100d88db
mov edi, eax
push 0x100
push 0
mov dword [esp + 0x30], edi
lea ebx, [edi + 0xc]
mov dword [edi], vtable.CLuaDecrypt.0
push ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
lea eax, [esp + 0x158]
mov ecx, edi
push eax
call fcn.10089f50
test al, al
je 0x10096f21
lea ecx, [esp + 0x158]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096ee3
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096f04
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
cmp byte [0x101ef878], 0
je 0x10096f32
test al, al
je 0x10097063
push 0x10135778
push 0xffffd8f0
push esi
call fcn.100d9e60
lea eax, [esp + 0x164]
push eax
push 2
push esi
call fcn.100d9e60
push 0xffffffffffffffff
push esi
call fcn.100dad80
add esp, 0x20
test eax, eax
jne 0x100970a5
lea eax, [esp + 0x158]
push eax
push esi
call fcn.100de170
add esp, 8
test eax, eax
jne 0x1009706d
push 0x10135840
push esi
call fcn.100da530
lea eax, [esp + 0x160]
push eax
push 2
push esi
call fcn.100daa40
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.100da620
push 1
push 1
push esi
call fcn.100d9b30
push 0xffffffffffffffff
push esi
call fcn.100daf40
add esp, 0x30
test eax, eax
je 0x10096fd3
lea eax, [esp + 0x158]
push eax
push 2
push esi
call fcn.100daa40
add esp, 0xc
lea eax, [esp + 0x158]
push eax
push 2
push esi
call fcn.100d9e60
push 0xffffffffffffffff
push esi
call fcn.100daf10
add esp, 0x14
cmp eax, 0x10135840
jne 0x10097018
push 1
push esi
call fcn.100da410
push 0xffffffffffffffff
push esi
call fcn.100da6d0
lea eax, [esp + 0x168]
push eax
push 2
push esi
call fcn.100daa40
add esp, 0x1c
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push 0x101a4800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10096e64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x100970d5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push 0
push 0xffffffffffffffff
push esi
call fcn.100dae00
push 0
push 1
push esi
mov edi, eax
call fcn.100dae00
push edi
lea ecx, [esp + 0x174]
push ecx
push eax
push 0x101357ac
push esi
call fcn.100ddee0
add esp, 0x2c
jmp 0x100970d5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push 0xffffffffffffffff
push esi
call fcn.100daf10
add esp, 8
cmp eax, 0x10135840
jne 0x100970d5
lea eax, [esp + 0x158]
push eax
push 0x10135780
push esi
call fcn.100ddee0
add esp, 0xc
push 0x101a4800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret 8