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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ee83
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5c1334]
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, edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a705
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.0043e6f0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00441ee0
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x260]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0043e6f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x21c]
mov eax, edx
mov ecx, dword [ebp - 0x220]
sub eax, ecx
cmp eax, 3
jb 0x46a7c7
cmp edx, 8
lea esi, [ebp - 0x230]
push 6
cmovae esi, dword [ebp - 0x230]
lea edi, [ecx + 3]
push 0x596ed4
mov dword [ebp - 0x220], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x46a7e8
push 3
push 0x596ed4
mov byte [ebp - 0x4b4], 0
lea ecx, [ebp - 0x230]
push dword [ebp - 0x4b4]
push 3
call fcn.0043df50
push 0x250
lea eax, [ebp - 0x4b0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4b0]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46aa31
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x484], 0x2e
je 0x46aa18
test byte [ebp - 0x4b0], 0x10
je 0x46aa18
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x484]
push ecx
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push 0x596efc
push eax
call fcn.0043e9b0
add esp, 0x1c
cmp byte [ebp + 8], 0
je 0x46a8ee
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a8c0
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043e6f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
jmp 0x46a903
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x248]
call fcn.0043fa30
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00453670
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x46a94f
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a945
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa63
push edx
push ecx
call fcn.005283f2
add esp, 8
cmp byte [ebp + 0xc], 0
je 0x46aa18
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a983
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0043e6f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 8
call fcn.00441ee0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
push dword [ebp + 0xc]
cmovae ecx, dword [ebp - 0x248]
mov edx, ebx
push dword [ebp + 8]
call fcn.0046a6b0
mov byte [ebp - 4], 3
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x46aa18
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46aa0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46aa63
push edx
push ecx
call fcn.005283f2
add esp, 8
lea eax, [ebp - 0x4b0]
push eax
push esi
call edi
test eax, eax
jne 0x46a831
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x46aa73
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46aa69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46aa69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x46aad2
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46aac8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46aac8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
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.00528802
mov esp, ebp
pop ebp
ret