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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ea42
mov eax, dword fs:[0]
push eax
sub esp, 0x310
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 dword [ebp - 0x310], ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, edx
mov dword [ebp - 4], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467270
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0043e6f0
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004415b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
cmp ecx, eax
je 0x4672bf
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4672b3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043e6f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x467302
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4672f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4672f8
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
lea ecx, [ebp - 0x40]
call fcn.00441ee0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0043e6f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 3
jb 0x467377
cmp edx, 8
lea esi, [ebp - 0x40]
push 6
cmovae esi, dword [ebp - 0x40]
lea edi, [ecx + 3]
push 0x596ed4
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 0x467395
push 3
push 0x596ed4
mov byte [ebp - 0x30c], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30c]
push 3
call fcn.0043df50
push 0x250
lea eax, [ebp - 0x308]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x308]
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 - 0x30c], esi
cmp esi, 0xffffffff
je 0x467980
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
mov ecx, 0x596edc
lea eax, [ebp - 0x2dc]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x467416
test dx, dx
je 0x467412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x467416
add eax, 4
add ecx, 4
test dx, dx
jne 0x4673f0
xor eax, eax
jmp 0x46741b
sbb eax, eax
or eax, 1
test eax, eax
je 0x467963
mov ecx, 0x596ee0
lea eax, [ebp - 0x2dc]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x467456
test dx, dx
je 0x467452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x467456
add eax, 4
add ecx, 4
test dx, dx
jne 0x467430
xor eax, eax
jmp 0x46745b
sbb eax, eax
or eax, 1
test eax, eax
je 0x467963
mov eax, dword [ebp - 0x308]
and eax, 0x10
je 0x467597
test bl, bl
je 0x467597
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0043e6f0
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4674b6
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 0x467508
cmp ebx, 8
lea eax, [ecx + ecx]
push eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
lea eax, [ebp - 0x2dc]
push eax
lea edi, [ecx + edx]
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 - 0x30c]
jmp 0x467526
push ecx
lea eax, [ebp - 0x2dc]
mov byte [ebp - 0x314], 0
push eax
push dword [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0043df50
lea ecx, [ebp - 0x58]
call fcn.00441ee0
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov ebx, dword [ebp + 8]
cmovae edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x310]
push 0x596ed4
push ebx
call fcn.00467220
mov byte [ebp - 4], 4
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x467963
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467588
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672f2
push edx
push ecx
call fcn.005283f2
add esp, 8
jmp 0x467963
test eax, eax
jne 0x467963
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0043e6f0
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4675d5
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 0x467621
cmp ebx, 8
lea eax, [ecx + ecx]
push eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x2dc]
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 0x46763f
push ecx
lea eax, [ebp - 0x2dc]
mov byte [ebp - 0x318], 0
push eax
push dword [ebp - 0x318]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043df50
mov ecx, 0x596ed4
mov eax, ecx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46766c
test dx, dx
je 0x467668
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46766c
add eax, 4
add ecx, 4
test dx, dx
jne 0x467646
xor eax, eax
jmp 0x467671
sbb eax, eax
or eax, 1
test eax, eax
je 0x4678c7
mov ecx, 0x596ee8
mov eax, 0x596ed4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4676a9
test dx, dx
je 0x4676a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4676a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x467683
xor eax, eax
jmp 0x4676ae
sbb eax, eax
or eax, 1
test eax, eax
je 0x4678c7
push 0x596ed4
lea ecx, [ebp - 0xa0]
call fcn.0043e1f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x90]
sub esp, 8
call fcn.00446b70
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0044a0e0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
cmp ecx, eax
je 0x467718
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x467709
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0043e6f0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x46775c
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672f2
push edx
push ecx
call fcn.005283f2
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]
push eax
lea ecx, [ebp - 0x88]
call fcn.0043e1f0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x74]
cmovae eax, dword [ebp - 0xa0]
cmp edi, 8
mov esi, dword [ebp - 0x88]
cmovae ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4677cd
test dx, dx
je 0x4677c9
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4677cd
add ecx, 4
add eax, 4
test dx, dx
jne 0x4677a7
xor eax, eax
jmp 0x4677d2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46782e
mov ebx, dword [ebp - 0x310]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x467819
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x31c], ecx
mov word [ecx], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x467813
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0043e6f0
add dword [ebx + 4], 0x18
jmp 0x467825
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00461f50
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x74]
mov byte [ebp - 4], 9
cmp edi, 8
jb 0x467866
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x46785c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672f2
push ecx
push esi
call fcn.005283f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x46791c
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4678bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672f2
push edx
push ecx
call fcn.005283f2
add esp, 8
jmp 0x46791c
mov ebx, dword [ebp - 0x310]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x467910
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x31c], ecx
mov word [ecx], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x46790a
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0043e6f0
add dword [ebx + 4], 0x18
jmp 0x46791c
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00461f50
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46795a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672f2
push edx
push ecx
call fcn.005283f2
add esp, 8
mov esi, dword [ebp - 0x30c]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x308]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4673e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4679bc
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4679b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4679b2
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 - 0x2c]
cmp edx, 8
jb 0x4679f8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4679ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4679ee
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