Function at 0x10169e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d1680
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 4], 0
test edx, edx
je 0x10169f24
mov dword [ebp - 0x18], 7
mov byte [ebp - 4], 1
lea esi, [ecx + 2]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10169eb5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10005040
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10169eee
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10004ee0
push 0x2a
lea ecx, [ebp - 0x2c]
call fcn.10004ee0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x10169f42
lea ecx, [ebp - 0x2c]
call fcn.10004e60
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x10169f60
nop dword [eax + eax]
mov ecx, esi
call fcn.10004e60
add esi, 0x40
cmp esi, ebx
jne 0x10169f50
mov esi, dword [edi]
mov dword [edi + 4], esi
nop dword [eax]
nop word [eax + eax]
mov ecx, 0x101f5228
lea eax, [ebp - 0x294]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10169fa6
test dx, dx
je 0x10169fa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10169fa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10169f80
xor eax, eax
jmp 0x10169fab
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016a103
mov eax, 0x101f522c
lea ecx, [ebp - 0x294]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10169fe6
test dx, dx
je 0x10169fe2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10169fe6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10169fc0
xor eax, eax
jmp 0x10169feb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1016a103
mov ebx, dword [ebp - 0x2a4]
xor esi, esi
add esi, dword [ebp - 0x2a0]
mov dword [ebp - 0x60], 0
adc ebx, 0
mov dword [ebp - 0x5c], 7
xor eax, eax
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1016a025
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10005040
mov eax, dword [ebp - 0x2c0]
push dword [ebp - 0x2b8]
shr eax, 4
push dword [ebp - 0x2bc]
and al, 1
mov byte [ebp - 0x58], al
call fcn.10002d00
push dword [ebp - 0x2b0]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x2b4]
mov dword [ebp - 0x4c], edx
call fcn.10002d00
push dword [ebp - 0x2a8]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x2ac]
mov dword [ebp - 0x44], edx
call fcn.10002d00
add esp, 0x18
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x70]
mov esi, dword [edi + 4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ebx
push eax
cmp dword [edi + 8], esi
je 0x1016a0ef
mov ecx, esi
call fcn.10003f20
mov al, byte [ebp - 0x58]
mov byte [esi + 0x18], al
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3c], eax
add dword [edi + 4], 0x40
jmp 0x1016a0f7
push esi
mov ecx, edi
call fcn.1016a170
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.10004e60
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10169f70
lea ecx, [ebp - 0x2c]
call fcn.10004e60
mov al, 1
jmp 0x10169f26