Function at 0x100def50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016742a
mov eax, dword fs:[0]
push eax
sub esp, 0xec0
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xeb8], ebx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp word [esi], 0
mov dword [ebp - 0xecc], esi
mov dword [ebp - 0xebc], eax
jne 0x100defa2
xor edx, edx
jmp 0x100defb6
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100defa7
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, ebx
call fcn.100048b0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xec8], edi
mov dword [ebp - 0xec4], ebx
mov dword [ebp - 0xec0], ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
mov dword [ebp - 4], ebx
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10098090
push dword [ebp - 0xebc]
lea eax, [ebp - 0x830]
push 0x10192050
push eax
call fcn.10091da4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call fcn.10098090
add esp, 0x48
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xc40]
push 0x1019234c
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [ebp - 0xea8]
push eax
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100df226
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
lea eax, [ebp - 0xea8]
push eax
push esi
call edi
test eax, eax
je 0x100df21a
cmp word [ebp - 0xe7c], 0x2e
je 0x100df0c0
mov ax, word [ebp - 0xe7a]
test ax, ax
je 0x100df0c0
cmp ax, 0x2e
jne 0x100df0f8
cmp word [ebp - 0xe78], 0
je 0x100df0c0
test byte [ebp - 0xea8], 0x10
jne 0x100df0c0
lea eax, [ebp - 0xe7c]
push eax
lea eax, [ebp - 0x628]
push 0x10192050
push eax
call fcn.10091da4
lea eax, [ebp - 0x628]
push eax
call fcn.10092063
lea eax, [ebp - 0x628]
push str..scel
push eax
call fcn.10094da5
add esp, 0x18
test eax, eax
je 0x100df0c0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10098090
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.1000e140
add esp, 0x14
mov ecx, str..scel
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100df1a6
test dx, dx
je 0x100df1a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100df1a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100df180
xor eax, eax
jmp 0x100df1ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100df0c0
lea eax, [ebp - 0xe7c]
push eax
lea eax, [ebp - 0xa38]
push 0x10192050
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [ebp - 0xa38]
push eax
lea ecx, [ebp - 0xc58]
call fcn.10004410
lea eax, [ebp - 0xc58]
push eax
lea ecx, [ebp - 0xec8]
mov byte [ebp - 4], 1
call fcn.1000ffc0
cmp dword [ebp - 0xc44], 8
mov byte [ebp - 4], 0
jb 0x100df0c0
push dword [ebp - 0xc58]
call fcn.10091747
add esp, 4
jmp 0x100df0c0
mov ebx, dword [ebp - 0xec4]
mov edi, dword [ebp - 0xec8]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0xea9], 1
mov esi, edi
cmp edi, ebx
je 0x100df4ec
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x100df24a
mov edi, dword [esi]
jmp 0x100df24c
mov edi, esi
push edi
push dword [ebp - 0xebc]
lea eax, [ebp - 0x420]
push 0x101917a4
push eax
call fcn.10091da4
push 0x68
call fcn.10092352
add esp, 0x14
mov dword [ebp - 0xeb0], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100df285
mov ecx, eax
call fcn.1010c230
jmp 0x100df287
xor eax, eax
lea ecx, [ebp - 0x420]
push ecx
push edi
push dword [ebp - 0xecc]
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0xeb4], eax
call fcn.1010c500
test eax, eax
jne 0x100df45a
cmp byte [ebp - 0xea9], 1
jne 0x100df2bf
mov byte [ebp - 0xea9], al
jmp 0x100df2d4
mov ecx, dword [ebp - 0xeb8]
push 1
push 0x101928f0
add ecx, 0x18
call fcn.10004660
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
cmp word [edi], ax
jne 0x100df2fa
xor ecx, ecx
jmp 0x100df30f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100df300
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xc58]
call fcn.100048b0
push 1
push 0
lea eax, [ebp - 0xeb0]
push eax
lea ecx, [ebp - 0xc58]
mov byte [ebp - 4], 3
mov dword [ebp - 0xeb0], 0x2e
call fcn.10010d20
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10098090
add esp, 0xc
cmp dword [ebp - 0xc48], edi
lea ecx, [ebp - 0xc58]
cmovb edi, dword [ebp - 0xc48]
cmp dword [ebp - 0xc44], 8
cmovae ecx, dword [ebp - 0xc58]
test edi, edi
je 0x100df399
lea eax, [edi + edi]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.10096b40
add esp, 0xc
cmp word [ebp - 0x218], 0
jne 0x100df3a7
xor eax, eax
jmp 0x100df3bf
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100df3b0
sub eax, edx
sar eax, 1
mov edi, dword [ebp - 0xeb8]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x18]
call fcn.10004660
lea eax, [ebp - 0x218]
push eax
call fcn.100946c9
add esp, 4
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xeb0]
push eax
lea ecx, [edi + 0x34]
call fcn.100deb10
cmp word [ebp - 0x420], 0
mov edi, eax
jne 0x100df409
xor ecx, ecx
jmp 0x100df421
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100df412
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.100048b0
mov edi, dword [ebp - 0xeb4]
test edi, edi
je 0x100df4c0
mov ecx, edi
call fcn.1010c2f0
push edi
call fcn.10091747
add esp, 4
mov dword [ebp - 0xeb4], 0
jmp 0x100df4c0
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
cmp word [edi], ax
jne 0x100df480
xor ecx, ecx
jmp 0x100df494
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100df485
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xc58]
call fcn.100048b0
mov eax, dword [ebp - 0xeb8]
lea edx, [ebp - 0xeb4]
mov ecx, dword [eax + 0x30]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0xc58]
push edx
mov byte [ebp - 4], 4
call dword [eax]
cmp dword [ebp - 0xc44], 8
mov byte [ebp - 4], 0
jb 0x100df4db
push dword [ebp - 0xc58]
call fcn.10091747
add esp, 4
add esi, 0x18
cmp esi, ebx
jne 0x100df240
mov edi, dword [ebp - 0xec8]
test edi, edi
je 0x100df529
mov esi, edi
cmp edi, ebx
je 0x100df520
cmp dword [esi + 0x14], 8
jb 0x100df506
push dword [esi]
call fcn.10091747
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x100df4f6
push edi
call fcn.10091747
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 8