Function at 0x446ad0
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.00457590
lea ecx, [esp + 0x47c]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x446b43
movzx eax, word [esi + ecx]
test ax, ax
je 0x446b43
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x446b25
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 0x446b60
mov eax, dword [0x491f90]
mov edx, ebx
mov dword [edi], eax
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446b77
lea edi, [esp + 0x470]
sub edx, esi
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446b90
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 0x446bb4
mov eax, dword [0x4997f0]
mov dword [ecx], eax
mov ax, word [0x4997f4]
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 0x446ed0
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x446e9e
mov ecx, 0x498880
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446c36
test dx, dx
je 0x446c32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446c36
add eax, 4
add ecx, 4
test dx, dx
jne 0x446c10
xor eax, eax
jmp 0x446c3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x446bf3
mov ecx, 0x4997e8
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446c6e
test dx, dx
je 0x446c6a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446c6e
add eax, 4
add ecx, 4
test dx, dx
jne 0x446c48
xor eax, eax
jmp 0x446c73
sbb eax, eax
or eax, 1
test eax, eax
je 0x446bf3
test byte [esp + 0x18], 0x10
push 0x208
push 0
je 0x446d71
lea eax, [esp + 0x680]
push eax
call fcn.00457590
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446ca3
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 0x446cc0
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 0x446ce4
mov eax, dword [0x491f90]
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 0x446d00
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 0x446d20
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.00446ad0
add esp, 4
test eax, eax
jne 0x446bf3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.00455217
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x270]
push eax
call fcn.00457590
lea eax, [esp + 0x274]
add esp, 0xc
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x446daf
movzx ecx, word [esi + eax]
test cx, cx
je 0x446daf
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x446d91
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 0x446dc6
mov eax, dword [0x491f90]
mov edx, dword [esp + 0x10]
mov esi, edx
mov dword [edi], eax
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446de0
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 0x446e00
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 0x446e24
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 0x446e40
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 0x446e60
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.00446940
add esp, 0xc
test eax, eax
jne 0x446ed0
jmp 0x446bef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
cmp eax, 0x12
jne 0x446eca
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.00455217
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.00455217
mov esp, ebp
pop ebp
ret