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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56add6
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x5bc324]
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 dword [ebp - 0x328], ecx
mov dword [ebp - 0x32c], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, edx
mov byte [ebp - 4], 1
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465c42
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0043e6b0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00441560
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x465c8e
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x465c82
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043e6b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x465cd4
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465cca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465cca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052365a
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00441e90
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0043e6b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 3
jb 0x465d4f
cmp edx, 8
lea esi, [ebp - 0x40]
push 6
cmovae esi, dword [ebp - 0x40]
lea edi, [ecx + 3]
push 0x592c04
mov dword [ebp - 0x30], 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 0x465d6d
push 3
push 0x592c04
mov byte [ebp - 0x324], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x324]
push 3
call fcn.0043df10
push 0x250
lea eax, [ebp - 0x320]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x320]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x324], esi
cmp esi, 0xffffffff
jne 0x465e41
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x465dec
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465de2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465de2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052365a
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x465e28
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465e1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465e1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052365a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x466588
mov ebx, dword [ebp + 8]
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x592c0c
lea eax, [ebp - 0x2f4]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x465e86
test dx, dx
je 0x465e82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x465e86
add eax, 4
add ecx, 4
test dx, dx
jne 0x465e60
xor eax, eax
jmp 0x465e8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x466558
mov ecx, 0x592c10
lea eax, [ebp - 0x2f4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x465ec6
test dx, dx
je 0x465ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x465ec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x465ea0
xor eax, eax
jmp 0x465ecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x466558
mov eax, dword [ebp - 0x320]
and eax, 0x10
je 0x46601a
test bl, bl
je 0x46601a
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0043e6b0
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465f30
mov ebx, dword [ebp - 0x44]
sub ecx, edx
mov edx, dword [ebp - 0x48]
mov eax, ebx
sar ecx, 1
sub eax, edx
cmp ecx, eax
ja 0x465f82
cmp ebx, 8
lea eax, [ecx + ecx]
push eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
lea eax, [ebp - 0x2f4]
push eax
lea edi, [edx + ecx]
mov dword [ebp - 0x48], edi
lea eax, [esi + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x324]
jmp 0x465fa0
push ecx
lea eax, [ebp - 0x2f4]
mov byte [ebp - 0x338], 0
push eax
push dword [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0043df10
lea ecx, [ebp - 0x58]
call fcn.00441e90
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0046aa90
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov ebx, dword [ebp + 8]
cmovae edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x328]
push ebx
call fcn.00465be0
mov byte [ebp - 4], 5
add esp, 0x10
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x466558
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46600b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465cc4
push edx
push ecx
call fcn.0052365a
add esp, 8
jmp 0x466558
test eax, eax
jne 0x466558
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x334], eax
cmp ecx, eax
je 0x466558
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
cmp eax, ecx
je 0x466084
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x466075
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0043e6b0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0043e6b0
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0xb
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4660c6
mov ebx, dword [ebp - 0x14]
sub ecx, edx
mov edx, dword [ebp - 0x18]
mov eax, ebx
sar ecx, 1
sub eax, edx
cmp ecx, eax
ja 0x466112
cmp ebx, 8
lea eax, [ecx + ecx]
push eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x2f4]
push eax
lea edi, [ecx + edx]
mov dword [ebp - 0x18], edi
lea eax, [esi + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x466130
push ecx
lea eax, [ebp - 0x2f4]
mov byte [ebp - 0x33c], 0
push eax
push dword [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043df10
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0xa0]
mov edi, dword [ebp - 0xa0]
cmp esi, 8
mov ecx, 0x592c04
cmovae eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466176
test dx, dx
je 0x466172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466176
add eax, 4
add ecx, 4
test dx, dx
jne 0x466150
xor eax, eax
jmp 0x46617b
sbb eax, eax
or eax, 1
test eax, eax
je 0x46647e
cmp esi, 8
lea eax, [ebp - 0xa0]
mov ecx, 0x592c18
cmovae eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4661ba
test dx, dx
je 0x4661b6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4661ba
add eax, 4
add ecx, 4
test dx, dx
jne 0x466194
xor eax, eax
jmp 0x4661bf
sbb eax, eax
or eax, 1
test eax, eax
je 0x46647e
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
push dword [ebp - 0x90]
cmp esi, 8
lea ecx, [ebp - 0x70]
cmovae eax, edi
push eax
call fcn.0043e6b0
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0x5c]
cmp edi, 8
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
cmovae esi, ebx
test edx, edx
je 0x466232
mov ecx, edx
mov eax, esi
nop dword [eax + eax]
cmp word [eax], 0x2e
je 0x466399
add eax, 2
sub ecx, 1
jne 0x466220
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], cx
cmp edx, eax
jb 0x4665ac
mov ecx, edx
sub ecx, eax
cmp ecx, edx
cmovb edx, ecx
cmp edi, 8
lea ecx, [ebp - 0x70]
cmovae ecx, ebx
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0043e6b0
or dword [ebp - 0x32c], 1
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0xa8]
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.0043e6b0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x4662ee
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4662e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465cc4
push edx
push ecx
call fcn.0052365a
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
mov dword [ebp - 0xc0], 0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov ecx, edx
mov byte [ebp - 4], 0xf
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466330
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.0043e6b0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0xd0]
mov edi, dword [ebp - 0xbc]
cmovae eax, dword [ebp - 0x70]
cmp edi, 8
mov esi, dword [ebp - 0xd0]
cmovae ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4663aa
test dx, dx
je 0x466395
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4663aa
add ecx, 4
add eax, 4
test dx, dx
jne 0x466373
xor eax, eax
jmp 0x4663af
test eax, eax
je 0x466232
sub eax, esi
sar eax, 1
jmp 0x466235
sbb eax, eax
or eax, 1
test eax, eax
jne 0x466402
mov ebx, dword [ebp - 0x328]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x4663f6
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x340], ecx
mov word [ecx], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
cmp ecx, eax
je 0x4663f0
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0043e6b0
add dword [ebx + 4], 0x18
jmp 0x466402
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00461330
mov byte [ebp - 4], 0xd
cmp edi, 8
jb 0x46643a
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x466430
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465cc4
push ecx
push esi
call fcn.0052365a
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4664d3
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465cc4
push edx
push ecx
call fcn.0052365a
add esp, 8
jmp 0x4664d3
mov ebx, dword [ebp - 0x328]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x4664c7
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x340], ecx
mov word [ecx], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
cmp ecx, eax
je 0x4664c1
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0043e6b0
add dword [ebx + 4], 0x18
jmp 0x4664d3
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00461330
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x466511
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465cc4
push edx
push ecx
call fcn.0052365a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
call fcn.0043eac0
mov ecx, dword [ebp - 0x330]
add ecx, 0x18
mov dword [ebp - 0x330], ecx
cmp ecx, dword [ebp - 0x334]
jne 0x466040
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x324]
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x465e50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x88]
call fcn.0043eac0
lea ecx, [ebp - 0x40]
call fcn.0043eac0
lea ecx, [ebp + 0xc]
call fcn.004620f0
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.00523a6a
mov esp, ebp
pop ebp
ret
call fcn.00449f80
int3