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

Disassembly:
sub esp, 0xa80
mov eax, dword [0x4a8098]
xor eax, esp
mov dword [esp + 0xa7c], eax
push ebx
mov ebx, dword [esp + 0xa88]
lea eax, [esp + 0x464]
push ebp
mov ebp, dword [esp + 0xa94]
push esi
mov esi, dword [esp + 0xa94]
push edi
push 0x208
push 0
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
call fcn.00458120
lea ecx, [esp + 0x47c]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4469be
movzx eax, word [esi + ecx]
test ax, ax
je 0x4469be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4469a0
test edx, edx
lea eax, [ecx - 2]
lea edi, [esp + 0x470]
cmovne eax, ecx
xor ecx, ecx
add edi, 0xfffffffe
mov word [eax], cx
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4469d5
mov eax, dword [0x491fa8]
mov edx, ebp
mov dword [edi], eax
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4469f0
lea edi, [esp + 0x470]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446a10
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 0x446a34
mov eax, dword [0x499768]
mov dword [ecx], eax
mov ax, word [0x49976c]
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 ebp, eax
cmp ebp, 0xffffffff
je 0x446d97
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x446d78
mov ecx, 0x498880
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446ab6
test dx, dx
je 0x446ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x446a90
xor eax, eax
jmp 0x446abb
sbb eax, eax
or eax, 1
test eax, eax
je 0x446a73
mov ecx, 0x499770
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446aee
test dx, dx
je 0x446aea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446aee
add eax, 4
add ecx, 4
test dx, dx
jne 0x446ac8
xor eax, eax
jmp 0x446af3
sbb eax, eax
or eax, 1
test eax, eax
je 0x446a73
test byte [esp + 0x18], 0x10
push 0x208
push 0
je 0x446bdd
lea eax, [esp + 0x680]
push eax
call fcn.00458120
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446b23
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 0x446b40
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 0x446b64
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 0x446b80
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 0x446ba0
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 + 0x10]
push eax
push esi
push ebx
call fcn.00446940
add esp, 0xc
test eax, eax
jne 0x446a73
jmp 0x446d97
lea eax, [esp + 0x270]
push eax
call fcn.00458120
lea ecx, [esp + 0x274]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x446c1e
movzx eax, word [esi + ecx]
test ax, ax
je 0x446c1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x446c00
test edx, edx
lea eax, [ecx - 2]
lea edi, [esp + 0x268]
cmovne eax, ecx
xor ecx, ecx
add edi, 0xfffffffe
mov word [eax], cx
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x446c35
mov eax, dword [0x491fa8]
mov edx, dword [esp + 0x14]
mov esi, edx
mov dword [edi], eax
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446c50
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 0x446c70
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 0x446c94
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 0x446cb0
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 0x446cd0
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]
test ebx, ebx
je 0x446d6c
cmp dword [ebx], 2
jne 0x446d60
mov esi, dword [ebx + 4]
lea eax, [esp + 0x880]
push 0x208
push 0
push eax
call fcn.00458120
add esp, 0xc
lea eax, [esp + 0x880]
push 0
push 0
push 0x206
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x58]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x446d97
push 2
push 0
lea eax, [esp + 0x270]
mov ecx, esi
push eax
lea eax, [esp + 0x88c]
push eax
call fcn.00445cb0
mov dword [0x4aa834], eax
test eax, eax
jne 0x446d97
jmp 0x446a6f
mov dword [0x4aa834], 0x80000
jmp 0x446d97
mov dword [0x4aa834], 0x10000
jmp 0x446d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
cmp eax, 0x12
jne 0x446d91
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x446d99
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0xa8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00455d36
add esp, 0xa80
ret