Function at 0x446c20
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x68], eax
nop dword [eax + eax]
mov al, byte [esi]
test al, al
jne 0x446d9e
cmp dword [esi + 0x2a0], 0
je 0x446f97
test al, al
jne 0x446d9e
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x446c7f
mov edx, dword [edx]
test edx, edx
je 0x446c7f
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x446c96
mov eax, dword [eax]
test eax, eax
je 0x446c96
mov eax, dword [eax]
test eax, eax
je 0x446c96
mov eax, dword [eax]
jmp 0x446c98
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, edi
call fcn.00437b20
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + ecx*4]
call fcn.00434920
add dword [esi + 0x2a0], 0xffffffff
jne 0x446cea
mov dword [esi + 0x29c], 0
push edi
lea ecx, [ebp - 0x34]
call fcn.004379c0
sub esp, 8
cmp dword [esi + 0x288], 0
jne 0x446d10
mov eax, esp
mov dword [eax], 0x4d7934
mov dword [eax + 4], 1
jmp 0x446d34
cmp dword [esi + 0x28c], 8
mov edx, esp
jb 0x446d23
mov ecx, dword [esi + 0x278]
jmp 0x446d29
lea ecx, [esi + 0x278]
mov dword [edx], ecx
mov eax, dword [esi + 0x288]
mov dword [edx + 4], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.00437dc0
push eax
lea ecx, [ebp - 0x34]
call fcn.00437ad0
lea ecx, [ebp - 0x64]
call fcn.00434920
call fcn.00446770
cmp eax, 4
lea ebx, [esi + 4]
lea eax, [ebp - 0x34]
jl 0x446d7b
cmp dword [ebp - 0x20], 8
push 2
cmovae eax, dword [ebp - 0x34]
push 0
push 0
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
jmp 0x446d8b
cmp dword [ebp - 0x20], 8
push ebx
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.00434920
jmp 0x446dc8
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446dc8
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
cmp dword [esi + 0x254], 0xffffffff
jne 0x446e96
xor eax, eax
mov byte [esi], 0
mov word [ebp - 0x4c], ax
lea edi, [esi + 0x278]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
cmp edi, eax
je 0x446c40
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x446e10
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004329f0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x446e28
mov eax, dword [edi]
jmp 0x446e2a
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.0041a3d3
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x446c40
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x7fffffff
ja 0x446fcb
add eax, eax
cmp eax, 0x1000
jb 0x446e88
test cl, 0x1f
jne 0x446fcb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x446fcb
sub ecx, eax
cmp ecx, 4
jb 0x446fcb
cmp ecx, 0x23
ja 0x446fcb
mov ecx, eax
push ecx
call fcn.0049d3f3
add esp, 4
jmp 0x446c40
sub esp, 8
lea edi, [esi + 0x30]
mov edx, esp
mov dword [edx], edi
test edi, edi
jne 0x446ea8
xor ecx, ecx
jmp 0x446ed0
cmp word [edi], 0
jne 0x446eb2
xor ecx, ecx
jmp 0x446ed0
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ec0
sub ecx, dword [ebp - 0x6c]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x1c]
call fcn.004379f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004499d0
test al, al
je 0x446ef7
lea ecx, [ebp - 0x1c]
call fcn.00434920
jmp 0x446c40
sub esp, 8
mov ecx, esp
mov dword [ecx], edi
test edi, edi
je 0x446f1f
cmp word [edi], 0
jne 0x446f0c
xor edi, edi
jmp 0x446f1f
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x446f10
sub edi, edx
sar edi, 1
lea eax, [ebp - 0x64]
mov dword [ecx + 4], edi
push eax
lea ecx, [esi + 0x258]
call fcn.00437dc0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00437ad0
lea ecx, [ebp - 0x64]
call fcn.00434920
test byte [ebx], 0x10
je 0x446f81
cmp byte [esi + 0x270], 0
je 0x446f78
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x446f78
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x290]
call fcn.00447200
test byte [esi + 0x274], 2
jmp 0x446f88
test byte [esi + 0x274], 1
jne 0x446fa1
lea ecx, [ebp - 0x1c]
call fcn.00434920
jmp 0x446c40
mov ecx, dword [ebp - 0x68]
call fcn.00437a50
jmp 0x446fb5
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
push eax
call fcn.00437990
lea ecx, [ebp - 0x1c]
call fcn.00434920
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x68]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret 4
call fcn.004a34bc
int3