Function at 0x100df440
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101da035
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x1020b06c]
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.1019bb90
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 0x100df4c8
jmp 0x100df914
mov edx, dword [ebp - 0x358]
and edx, 0x10
jne 0x100df8f8
mov ecx, dword [ebp - 0x364]
call fcn.1005edc0
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.1014d7e1
add esp, 4
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x368], 0
je 0x100df54f
push 0x10c
mov ecx, dword [ebp - 0x368]
call fcn.100079c0
mov ecx, dword [ebp - 0x368]
call fcn.100d2e30
mov dword [ebp - 0x37c], eax
jmp 0x100df559
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 0x100df599
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x360]
call fcn.100d32d0
mov byte [ebp - 0x359], al
movzx eax, byte [0x10545ce0]
test eax, eax
je 0x100df619
movzx ecx, byte [ebp - 0x359]
test ecx, ecx
jne 0x100df619
cmp dword [ebp - 0x360], 0
je 0x100df609
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 0x100df5ff
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 0x100df609
mov dword [ebp - 0x390], 0
mov ecx, dword [ebp - 0x364]
call fcn.1005ede0
jmp 0x100df914
push 0x101f836c
push 0xffffd8f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014edb0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.1014edb0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014fcd0
add esp, 8
test eax, eax
je 0x100df6f1
cmp dword [ebp - 0x360], 0
je 0x100df6b4
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 0x100df6aa
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 0x100df6b4
mov dword [ebp - 0x39c], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014fe60
add esp, 8
cmp eax, 0x101f8434
jne 0x100df6e1
lea edx, [ebp - 0x114]
push edx
push 0x101f8374
mov eax, dword [ebp + 8]
push eax
call fcn.10152e30
add esp, 0xc
mov ecx, dword [ebp - 0x364]
call fcn.1005ede0
jmp 0x100df914
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.101530c0
add esp, 8
test eax, eax
je 0x100df7c8
cmp dword [ebp - 0x360], 0
je 0x100df766
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 0x100df75c
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 0x100df766
mov dword [ebp - 0x3a8], 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.1014fd50
add esp, 0xc
mov dword [ebp - 0x3ac], eax
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1014fd50
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 0x101f83a0
mov ecx, dword [ebp + 8]
push ecx
call fcn.10152e30
add esp, 0x14
mov ecx, dword [ebp - 0x364]
call fcn.1005ede0
jmp 0x100df914
push 0x101f8434
mov edx, dword [ebp + 8]
push edx
call fcn.1014f480
add esp, 8
lea eax, [ebp - 0x114]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014f990
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1014f570
add esp, 8
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ea80
add esp, 0xc
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.1014fe90
add esp, 8
test eax, eax
je 0x100df838
lea eax, [ebp - 0x114]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014f990
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.1014edb0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014fe60
add esp, 8
cmp eax, 0x101f8434
jne 0x100df893
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1014f360
add esp, 8
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.1014f620
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.1014f990
add esp, 0xc
cmp dword [ebp - 0x360], 0
je 0x100df8ed
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 0x100df8e3
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 0x100df8ed
mov dword [ebp - 0x3bc], 0
mov ecx, dword [ebp - 0x364]
call fcn.1005ede0
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100df4c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret 8