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

Disassembly:
push 0xffffffffffffffff
push 0x453410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
push ebx
push ebp
push esi
push edi
push 0x17
lea ecx, [esp + 0xa4]
call fcn.00426720
xor esi, esi
push 0x17
lea ecx, [esp + 0xe0]
mov dword [esp + 0x484], esi
call fcn.00426720
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0x40
mov dword [esp + 0x9c], esi
mov dword [esp + 0x64], 0x455778
mov edi, dword [esp + 0x48c]
mov eax, edi
mov byte [esp + 0x480], 2
lea edx, [eax + 1]
jmp 0x446800
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x446800
sub eax, edx
je 0x44683b
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x446812
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
je 0x44683b
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
call fcn.0041e020
push 0x5c
mov ecx, eax
call fcn.0041e0b0
jmp 0x446847
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
call fcn.0041e020
push 0xffffffffffffffff
push 0x45a4c8
mov ecx, eax
call fcn.0041e020
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x64]
call edx
lea ecx, [esp + 0x118]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44694b
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x118], 0x10
je 0x4468d1
cmp byte [esp + 0x494], 0
je 0x44692f
mov edi, 0x457e8c
lea esi, [esp + 0x144]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x446926
mov edi, 0x461e04
lea esi, [esp + 0x144]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x446926
lea edx, [esp + 0xdc]
jmp 0x446915
lea eax, [esp + 0x144]
push 0x2e
push eax
call dword [sym.imp.MSVCR80.dll_strrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x44692d
mov edi, dword [sym.imp.MSVCR80.dll__stricmp]
push str..dll
push esi
call edi
add esp, 8
test eax, eax
je 0x44690e
push str..csplugin
push esi
call edi
add esp, 8
test eax, eax
jne 0x446926
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x144]
push ecx
push edx
call fcn.00445c00
add esp, 8
mov edi, dword [esp + 0x48c]
xor esi, esi
lea eax, [esp + 0x118]
push eax
push ebp
call ebx
test eax, eax
jne 0x446882
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44696d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x44696d
mov ecx, dword [esp + 0x488]
push ecx
push str.FindFirst___call_failed
mov ecx, eax
call fcn.00446110
add esp, 8
cmp dword [esp + 0xa0], esi
lea edx, [esp + 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
jbe 0x446998
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
jmp 0x44699c
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
call fcn.00426330
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], 0x455778
mov dword [esp + 0x10], esi
mov byte [esp + 0x480], 4
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
xor ebp, ebp
cmp esi, ebp
je 0x446b93
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jb 0x4469f7
cmp eax, esi
jae 0x446b93
mov edx, dword [edx + 0xc]
shl eax, 4
mov eax, dword [eax + edx + 0xc]
lea esi, [eax + ecx*8 + 4]
add ecx, 1
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
call fcn.00426330
mov esi, dword [esi]
push esi
lea ecx, [esp + 0xa4]
call fcn.00426520
mov esi, eax
push 0x2e
push esi
call dword [sym.imp.MSVCR80.dll_strrchr]
push str..dll
push eax
call dword [sym.imp.MSVCR80.dll__stricmp]
add esp, 0x10
test eax, eax
jne 0x4469d1
push eax
lea ecx, [esp + 0x2c]
call fcn.0041dfa0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x446a51
sub eax, edx
je 0x446a8c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x446a63
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
je 0x446a8c
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
call fcn.0041e020
push 0x5c
mov ecx, eax
call fcn.0041e0b0
jmp 0x446a98
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
call fcn.0041e020
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0041e020
lea edx, [esp + 0x258]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x446ab0
mov esi, dword [sym.imp.MSVCR80.dll_strrchr]
lea ecx, [esp + 0x258]
push 0x2e
push ecx
call esi
mov edx, dword [str..csplugin]
mov dword [eax], edx
mov ecx, dword [0x45a40c]
mov dword [eax + 4], ecx
mov dx, word [0x45a410]
mov word [eax + 8], dx
add esp, 8
lea eax, [esp + 0x258]
push eax
lea ecx, [esp + 0xa4]
call fcn.00426500
cmp eax, 0xffffffff
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
je 0x446b76
mov eax, dword [edx + 0x18]
call eax
lea edx, [esp + 0x368]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x446b20
lea ecx, [esp + 0x368]
push 0x2e
push ecx
call esi
mov edx, dword [str..csplugin]
mov dword [eax], edx
mov ecx, dword [0x45a40c]
mov dword [eax + 4], ecx
mov dx, word [0x45a410]
mov word [eax + 8], dx
mov eax, dword [esp + 0x498]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
add esp, 8
lea eax, [esp + 0x368]
push eax
call edx
jmp 0x4469d1
mov eax, dword [esp + 0x490]
mov esi, dword [eax]
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x4469d1
lea ecx, [esp + 0xa0]
call fcn.00426790
lea ecx, [esp + 0x28]
mov byte [esp + 0x480], 2
mov dword [esp + 0x28], 0x45569c
call fcn.0041e9c0
cmp dword [esp + 0xdc], ebp
lea ecx, [esp + 0xdc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
jbe 0x446be3
mov edx, dword [esp + 0xe8]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
jmp 0x446be7
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x14]
call fcn.00426330
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x60], ebp
mov dword [esp + 0x28], 0x455778
mov byte [esp + 0x480], 5
mov bl, 6
jmp 0x446c30
mov edi, dword [esp + 0x48c]
xor ebp, ebp
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
cmp esi, ebp
je 0x446d87
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jb 0x446c54
cmp eax, esi
jae 0x446d87
mov edx, dword [edx + 0xc]
shl eax, 4
mov eax, dword [eax + edx + 0xc]
lea esi, [eax + ecx*8 + 4]
add ecx, 1
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
call fcn.00426330
mov esi, dword [esi]
push ebp
lea ecx, [esp + 0x2c]
call fcn.0041dfa0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
call fcn.0041e020
push 0x5c
mov ecx, eax
call fcn.0041e0b0
push esi
lea ecx, [esp + 0xe0]
mov edi, eax
call fcn.00426520
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0041e020
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x490]
mov eax, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0
call edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00446780
mov ecx, dword [esp + 0x20]
add esp, 0x10
test ecx, ecx
je 0x446c20
mov edx, dword [ecx]
mov eax, dword [edx + 4]
xor esi, esi
call eax
test eax, eax
jbe 0x446d6d
jmp 0x446d00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
mov ebp, dword [esp + 0x488]
cmp dword [ebp], 0
mov edi, eax
jne 0x446d50
push 0x34
call fcn.00407a16
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x480], bl
je 0x446d43
push 1
push 0x10
push 0x10
mov ecx, eax
call fcn.00429610
jmp 0x446d45
xor eax, eax
mov byte [esp + 0x480], 5
mov dword [ebp], eax
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 1
call eax
cmp esi, eax
jb 0x446d00
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
jmp 0x446c20
mov esi, 0x45569c
lea ecx, [esp + 0x28]
mov byte [esp + 0x480], 2
mov dword [esp + 0x28], esi
call fcn.0041e9c0
lea ecx, [esp + 0x64]
mov byte [esp + 0x480], 1
mov dword [esp + 0x64], esi
call fcn.0041e9c0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x480], 0
call fcn.00426870
lea ecx, [esp + 0xa0]
mov dword [esp + 0x480], 0xffffffff
call fcn.00426870
mov ecx, dword [esp + 0x478]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x474
ret