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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x87c
mov eax, dword [0x4a8068]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x468]
push esi
push edi
push 0x208
mov esi, edx
mov dword [esp + 0x18], ecx
push 0
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
call fcn.00457660
lea ecx, [esp + 0x47c]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x446bc3
movzx eax, word [esi + ecx]
test ax, ax
je 0x446bc3
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x446ba5
test edx, edx
lea eax, [ecx - 2]
lea edi, [esp + 0x470]
cmovne eax, ecx
xor ecx, ecx
add edi, 0xfffffffe
mov word [eax], cx
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x446be0
mov eax, dword [0x491fa8]
mov edx, ebx
mov dword [edi], eax
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446bf7
lea edi, [esp + 0x470]
sub edx, esi
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446c10
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x470]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x446c34
mov eax, dword [0x49989c]
mov dword [ecx], eax
mov ax, word [0x4998a0]
mov word [ecx + 4], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x446f50
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x446f1e
mov ecx, 0x4988d0
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446cb6
test dx, dx
je 0x446cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446cb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x446c90
xor eax, eax
jmp 0x446cbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x446c73
mov ecx, 0x499894
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446cee
test dx, dx
je 0x446cea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446cee
add eax, 4
add ecx, 4
test dx, dx
jne 0x446cc8
xor eax, eax
jmp 0x446cf3
sbb eax, eax
or eax, 1
test eax, eax
je 0x446c73
test byte [esp + 0x18], 0x10
push 0x208
push 0
je 0x446df1
lea eax, [esp + 0x680]
push eax
call fcn.00457660
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446d23
lea edi, [esp + 0x678]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446d40
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x678]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x446d64
mov eax, dword [0x491fa8]
lea edx, [esp + 0x44]
mov dword [edi], eax
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446d80
lea edi, [esp + 0x678]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446da0
mov ecx, edx
lea eax, [esp + 0x678]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xc]
mov edx, esi
mov ecx, dword [esp + 0x14]
push eax
call fcn.00446b50
add esp, 4
test eax, eax
jne 0x446c73
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.00455277
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x270]
push eax
call fcn.00457660
lea eax, [esp + 0x274]
add esp, 0xc
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x446e2f
movzx ecx, word [esi + eax]
test cx, cx
je 0x446e2f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x446e11
test edx, edx
lea ecx, [eax - 2]
lea edi, [esp + 0x268]
cmovne ecx, eax
xor eax, eax
add edi, 0xfffffffe
mov word [ecx], ax
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x446e46
mov eax, dword [0x491fa8]
mov edx, dword [esp + 0x10]
mov esi, edx
mov dword [edi], eax
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446e60
lea edi, [esp + 0x268]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x446e80
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x268]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x446ea4
lea edx, [esp + 0x44]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446ec0
lea edi, [esp + 0x268]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446ee0
mov ecx, edx
lea eax, [esp + 0x268]
shr ecx, 2
sub esp, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004469c0
add esp, 0xc
test eax, eax
jne 0x446f50
jmp 0x446c6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
cmp eax, 0x12
jne 0x446f4a
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.00455277
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x884]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455277
mov esp, ebp
pop ebp
ret