Function at 0x100de660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d9125
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x1020a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], ecx
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.1019aa40
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str._s.lua
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
jne 0x100de6e8
jmp 0x100deb34
mov edx, dword [ebp - 0x358]
and edx, 0x10
jne 0x100deb18
mov ecx, dword [ebp - 0x364]
call fcn.1005e8f0
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s_s
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov byte [ebp - 0x359], 0
push 0x10c
call fcn.1014c8ed
add esp, 4
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x368], 0
je 0x100de76f
push 0x10c
mov ecx, dword [ebp - 0x368]
call fcn.100079c0
mov ecx, dword [ebp - 0x368]
call fcn.100d2340
mov dword [ebp - 0x37c], eax
jmp 0x100de779
mov dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x384], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x360], ecx
cmp dword [ebp - 0x360], 0
je 0x100de7b9
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x360]
call fcn.100d27e0
mov byte [ebp - 0x359], al
movzx eax, byte [0x10544cc0]
test eax, eax
je 0x100de839
movzx ecx, byte [ebp - 0x359]
test ecx, ecx
jne 0x100de839
cmp dword [ebp - 0x360], 0
je 0x100de829
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x388], edx
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0
je 0x100de81f
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x38c], eax
push 1
mov ecx, dword [ebp - 0x36c]
call dword [ebp - 0x38c]
mov dword [ebp - 0x390], eax
jmp 0x100de829
mov dword [ebp - 0x390], 0
mov ecx, dword [ebp - 0x364]
call fcn.1005e910
jmp 0x100deb34
push 0x101f7268
push 0xffffd8f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014dec0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.1014dec0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ede0
add esp, 8
test eax, eax
je 0x100de911
cmp dword [ebp - 0x360], 0
je 0x100de8d4
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
je 0x100de8ca
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x398], eax
push 1
mov ecx, dword [ebp - 0x370]
call dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
jmp 0x100de8d4
mov dword [ebp - 0x39c], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ef70
add esp, 8
cmp eax, 0x101f7330
jne 0x100de901
lea edx, [ebp - 0x114]
push edx
push 0x101f7270
mov eax, dword [ebp + 8]
push eax
call fcn.10151f40
add esp, 0xc
mov ecx, dword [ebp - 0x364]
call fcn.1005e910
jmp 0x100deb34
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.101521d0
add esp, 8
test eax, eax
je 0x100de9e8
cmp dword [ebp - 0x360], 0
je 0x100de986
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
mov dword [ebp - 0x374], ecx
cmp dword [ebp - 0x374], 0
je 0x100de97c
mov edx, dword [ebp - 0x374]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x3a4], ecx
push 1
mov ecx, dword [ebp - 0x374]
call dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], eax
jmp 0x100de986
mov dword [ebp - 0x3a8], 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.1014ee60
add esp, 0xc
mov dword [ebp - 0x3ac], eax
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1014ee60
add esp, 0xc
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3ac]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x3b0]
push eax
push 0x101f729c
mov ecx, dword [ebp + 8]
push ecx
call fcn.10151f40
add esp, 0x14
mov ecx, dword [ebp - 0x364]
call fcn.1005e910
jmp 0x100deb34
push 0x101f7330
mov edx, dword [ebp + 8]
push edx
call fcn.1014e590
add esp, 8
lea eax, [ebp - 0x114]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014eaa0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1014e680
add esp, 8
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014db90
add esp, 0xc
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.1014efa0
add esp, 8
test eax, eax
je 0x100dea58
lea eax, [ebp - 0x114]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014eaa0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.1014dec0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ef70
add esp, 8
cmp eax, 0x101f7330
jne 0x100deab3
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1014e470
add esp, 8
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.1014e730
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.1014eaa0
add esp, 0xc
cmp dword [ebp - 0x360], 0
je 0x100deb0d
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x378], ecx
cmp dword [ebp - 0x378], 0
je 0x100deb03
mov edx, dword [ebp - 0x378]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x3b8], ecx
push 1
mov ecx, dword [ebp - 0x378]
call dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
jmp 0x100deb0d
mov dword [ebp - 0x3bc], 0
mov ecx, dword [ebp - 0x364]
call fcn.1005e910
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100de6e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c2d1
mov esp, ebp
pop ebp
ret 8