Function at 0x1006ad00
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [section..data]
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 - 0x314], edx
mov eax, ecx
mov dword [ebp - 0x2e4], eax
mov esi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x304], esi
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x30c], esi
xor esi, esi
mov dword [ebp - 0x310], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], si
mov dword [ebp - 4], esi
mov dword [ebp - 0x2ec], esi
cmp dword [eax + 0xc38], esi
je 0x1006b403
cmp dword [ebx + 0x24], esi
jne 0x1006b403
test edx, edx
je 0x1006add6
cmp word [ecx + edx*2 - 2], 0x5c
je 0x1006add6
mov eax, 0x5c
mov word [ecx + edx*2], ax
inc edx
mov dword [ebp - 0x300], edx
push dword [ebp - 0x304]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ecx + edx*2]
xor edx, edx
mov dword [ebp - 0x2f4], eax
push ecx
mov word [eax], dx
call esi
test eax, eax
je 0x1006afe9
push dword [ebp - 0x30c]
push dword [ebp - 0x2e8]
call esi
test eax, eax
je 0x1006afe9
push str.C:Program_Files_
push dword [ebp - 0x2e8]
call esi
test eax, eax
je 0x1006afe9
push str.C:Program_Files__x86__
push dword [ebp - 0x2e8]
call esi
test eax, eax
je 0x1006afe9
mov edx, dword [ebp - 0x2f4]
mov ecx, 0x100c6850
sub edx, ecx
jmp 0x1006ae50
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006ae50
push edi
push dword [ebp - 0x2e8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x318], eax
cmp eax, 0xffffffff
je 0x1006afe9
lea esi, [edi + 0x2c]
mov dword [ebp - 0x2f0], esi
mov ecx, 0x100c6858
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006aeb6
test dx, dx
je 0x1006aeb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006aeb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006ae90
xor eax, eax
jmp 0x1006aebb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006afc8
mov ecx, 0x100c685c
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006aef6
test dx, dx
je 0x1006aef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006aef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006aed0
xor eax, eax
jmp 0x1006aefb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006afc8
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x2e4]
jne 0x1006af2c
cmp dword [eax + 0xc5c], 0
jbe 0x1006af2c
push 0xffffffffffffffff
push dword [eax + 0xc8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2e4]
cmp dword [eax + 0xc38], 0
je 0x1006afdd
cmp dword [ebx + 0x24], 0
jne 0x1006afdd
test byte [edi], 0x10
je 0x1006b00b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006af51
sub ecx, edx
lea eax, [edi + 0x2c]
mov edx, esi
sar ecx, 1
mov esi, dword [ebp - 0x2f4]
sub esi, eax
lea ecx, [ecx]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [esi + edx - 2], ax
test ax, ax
jne 0x1006af70
push dword [ebp - 0x30c]
mov eax, dword [ebp - 0x300]
push dword [ebp - 0x304]
mov edx, dword [ebp - 0x314]
add eax, ecx
mov ecx, dword [ebp - 0x2e4]
push eax
push dword [ebp - 0x2e8]
mov eax, dword [ebp + 0x14]
push edi
inc eax
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x310]
push ebx
call fcn.1006ad00
add esp, 0x24
add dword [ebp - 0x2ec], eax
lea esi, [edi + 0x2c]
push edi
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1006ae85
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x228], 8
jb 0x1006b000
push dword [ebp - 0x23c]
call fcn.1007b706
add esp, 4
mov eax, dword [ebp - 0x2ec]
jmp 0x1006b405
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x1006b017
cmp dword [edi + 0x20], eax
je 0x1006afc8
mov edx, dword [ebp - 0x2e0]
add edi, 0x14
push eax
push dword [edx + 0x20]
lea eax, [edx + 0xc]
lea ecx, [edx + 4]
mov edx, esi
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x314]
call fcn.1006a900
add esp, 0x14
test eax, eax
je 0x1006b3f3
mov eax, dword [ebp - 0x2e4]
xor esi, esi
add eax, 0xd10
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x2e4]
push edi
lea eax, [edx + 4]
push eax
push dword [edx + 0x1c]
lea eax, [edx + 0x2c]
push dword [edx + 0x20]
lea ecx, [ecx + 0xc3c]
push eax
lea edx, [ebp - 0x308]
call fcn.10068b70
add esp, 0x14
test eax, eax
je 0x1006b1b3
cmp dword [ebx + 0x20], 0xffffffff
mov eax, dword [ebp - 0x2e8]
movzx edx, word [eax]
jne 0x1006b0ae
mov ecx, ebx
call fcn.1006a670
test eax, eax
je 0x1006b1b3
mov edx, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2f0]
sub edx, ecx
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1006b0c0
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x278], esi
call fcn.1006a820
test eax, eax
jne 0x1006b0ec
or dword [ebp - 0x278], 1
push 0
push 0
push dword [ebx + 0xc]
xorps xmm0, xmm0
push dword [ebx + 8]
movlpd qword [ebp - 0x2fc], xmm0
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push dword [ebp - 0x2e8]
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2fc]
mov ecx, dword [ebx + 0x20]
push dword [eax + 0xcf0]
push dword [eax + 0xcec]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x278]
lea eax, [ebx + 0x28]
push eax
call fcn.10065190
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x24], eax
cmp dword [ebp - 0x2f8], esi
ja 0x1006b159
cmp dword [ebp - 0x2fc], esi
jbe 0x1006b1b3
test eax, eax
jne 0x1006b1b3
mov ecx, dword [ebp - 0x2e4]
lea edx, [ebp - 0x24]
lea ecx, [ecx + 0xc3c]
call fcn.10068b10
mov ecx, dword [ebp - 0x2e4]
lea edx, [ebp - 0x308]
push edi
mov edi, dword [ebp - 0x2e0]
neg eax
sbb esi, esi
lea ecx, [ecx + 0xc3c]
inc esi
lea eax, [edi + 4]
push eax
push dword [edi + 0x1c]
lea eax, [edi + 0x2c]
push dword [edi + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.10068c00
add esp, 0x1c
inc dword [ebp - 0x2ec]
jmp 0x1006b1b9
mov edi, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2e4]
add eax, 0xd10
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1006afc5
push dword [ebp + 0x14]
lea edx, [ebx + 0x90]
push dword [ebp - 0x300]
lea ecx, [ebx + 0x94]
push dword [ebp - 0x2e8]
call fcn.1006ab00
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
mov eax, dword [ebp + 0x14]
movdqu xmm0, xmmword [ebp - 0x24]
mov dword [ebp - 0x27c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x274], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x250], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x244], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x240], eax
lea eax, [ecx + 0x2c]
push eax
lea ecx, [ebp - 0x23c]
movdqu xmmword [ebp - 0x270], xmm0
call fcn.100632c0
mov eax, dword [ebp - 0x22c]
lea ecx, [ebx + 0x94]
lea eax, [eax*2 + 0x3c]
add dword [ebx + 0x90], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.1006eeb0
mov eax, dword [ebp - 0x2fc]
add dword [ebx + 8], eax
mov eax, dword [ebp - 0x2f8]
adc dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
ja 0x1006b2c1
cmp dword [ebx + 8], 0x1000000
jb 0x1006b3e2
mov ecx, ebx
call fcn.1006a7a0
test eax, eax
je 0x1006b3e2
xor eax, eax
mov dword [ebp - 0x2c8], 7
mov dword [ebp - 0x2cc], 0
mov word [ebp - 0x2dc], ax
lea edx, [ebx + 0x80]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c4]
call fcn.10069db0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x2dc]
call fcn.100632c0
push dword [ebx + 0x1c]
lea eax, [ebp - 0x224]
push dword [ebx + 0x18]
push eax
call fcn.1007bf5d
mov eax, dword [ebx + 0x1c]
add esp, 0xc
lea eax, [eax*2 - 2]
cmp eax, 0x200
jae 0x1006b3fe
xor ecx, ecx
mov word [ebp + eax - 0x224], cx
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.1007b43d
mov edx, eax
add esp, 8
test edx, edx
je 0x1006b375
add edx, 2
mov eax, str.sendlist.abc
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x1006b365
mov esi, dword [ebp - 0x2e4]
lea edi, [esi + 0xd40]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [esi + 0xc44]
call fcn.1006efe0
lea ecx, [ebp - 0x224]
call fcn.10068da0
lea edx, [ebp - 0x224]
lea ecx, [esi + 0xc44]
call fcn.10069950
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x2dc]
inc dword [eax]
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 0
call fcn.10063290
mov edi, dword [ebp - 0x2e0]
mov esi, dword [ebp - 0x2f0]
jmp 0x1006afc8
mov edi, dword [ebp - 0x2e0]
jmp 0x1006afc8
call fcn.1007b843
xor eax, eax
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.1007a730
mov esp, ebp
pop ebp
ret