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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5882cc
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5d4074]
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 edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x46ae3c
xor ecx, ecx
jmp 0x46ae50
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ae41
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004061c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x46ae80
push 0x5c
push 1
lea ecx, [ebp - 0x40]
call fcn.0041af80
push 0x5c30cc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040afb0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x46aed4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46aeb7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406510
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46aeed
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x308]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46b1b3
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
lea eax, [ebp - 0x308]
push eax
push esi
call ebx
test eax, eax
je 0x46b1b3
cmp word [ebp - 0x2dc], 0x2e
je 0x46af30
mov ax, word [ebp - 0x2da]
test ax, ax
je 0x46af30
cmp ax, 0x2e
jne 0x46af68
cmp word [ebp - 0x2d8], 0
je 0x46af30
test byte [ebp - 0x308], 0x10
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x40]
push eax
je 0x46b054
lea eax, [ebp - 0xa0]
push eax
call fcn.0040afb0
push 0x5beba4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0040b0a0
add esp, 0x10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x46afc4
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004074b0
sub esp, 0x18
mov dword [ebp - 0x8c], 7
mov ecx, esp
mov dword [ebp - 0x30c], esp
xor eax, eax
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.004062c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edx, edi
cmovae ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0046adc0
mov byte [ebp - 4], 2
add esp, 0x18
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x46b03b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x46af30
lea eax, [ebp - 0xb8]
push eax
call fcn.0040afb0
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x46b071
mov ecx, dword [eax]
jmp 0x46b073
mov ecx, eax
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004206a0
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x46b0a7
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004074b0
push dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xa4], 7
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x58]
mov word [ebp - 0xb8], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
mov dword [ebp - 0xa8], 0
call fcn.004206a0
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x46b0f7
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004074b0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x58]
mov dword [ebp + 0x18], 0
push eax
call fcn.00406510
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46b130
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test ecx, ecx
je 0x46b16a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x88]
push 0
push eax
call fcn.00413430
cmp eax, 0xffffffff
jne 0x46b178
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0041c640
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x46b197
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jmp 0x46af30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x46b1d3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46b1ff
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x46b22f
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004074b0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
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.004a04e0
mov esp, ebp
pop ebp
ret