Function at 0x446460
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa84
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa78], ecx
mov ecx, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add ecx, 0x418
push ecx
lea edx, [ebp - 0x414]
push edx
mov dword [ebp - 0xa84], eax
call edi
lea eax, [ebp - 0x414]
push eax
call fcn.00433850
add esp, 4
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x824]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4be164
lea eax, [ebp - 0x824]
push eax
call ebx
mov ecx, dword [esi + 0x1c]
call fcn.0044cbf0
push eax
lea ecx, [ebp - 0x61c]
push ecx
call edi
mov ecx, dword [esi + 0x1c]
call fcn.00403fa0
push eax
lea edx, [ebp - 0x61c]
push edx
call ebx
push 0x4ccb58
lea eax, [ebp - 0x61c]
push eax
call ebx
lea ecx, [ebp - 0xa74]
push ecx
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa80], eax
cmp eax, 0xffffffff
je 0x44676b
push 0x4ccb4c
lea eax, [ebp - 0xa48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x446629
push 0x4ccb50
lea ecx, [ebp - 0xa48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x446629
test byte [ebp - 0xa74], 0x10
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x20c]
push edx
push eax
je 0x4465c8
call edi
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call ebx
lea eax, [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0xa78]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xa48]
push eax
push esi
call fcn.00445d20
lea ecx, [ebp - 0xa7c]
push ecx
mov ecx, dword [ebp - 0xa84]
mov dword [ebp - 0xa7c], eax
call fcn.0044bd80
jmp 0x446629
call edi
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call ebx
cmp dword [ebp - 0xa58], 0
jne 0x4465ed
mov eax, dword [ebp - 0xa54]
xor ecx, ecx
jmp 0x4465ff
mov ecx, dword [ebp - 0xa58]
xor eax, eax
or eax, dword [ebp - 0xa54]
xor edx, edx
or ecx, edx
push ecx
push eax
lea eax, [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0xa78]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xa48]
push eax
push esi
call fcn.00445860
mov edx, dword [ebp - 0xa80]
lea ecx, [ebp - 0xa74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44676b
jmp 0x446650
push 0x4ccb4c
lea eax, [ebp - 0xa48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x44674f
push 0x4ccb50
lea ecx, [ebp - 0xa48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x44674f
test byte [ebp - 0xa74], 0x10
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x20c]
push edx
push eax
je 0x4466ef
call edi
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call ebx
lea eax, [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0xa78]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xa48]
push eax
push esi
call fcn.00445d20
lea ecx, [ebp - 0xa7c]
push ecx
mov ecx, dword [ebp - 0xa84]
mov dword [ebp - 0xa7c], eax
call fcn.0044bd80
jmp 0x44674f
call edi
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x20c]
push edx
call ebx
mov ecx, dword [ebp - 0xa58]
test ecx, ecx
jne 0x446713
mov eax, dword [ebp - 0xa54]
jmp 0x446725
xor eax, eax
or eax, dword [ebp - 0xa54]
xor ebx, ebx
or ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push ecx
push eax
lea eax, [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0xa78]
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xa48]
push eax
push esi
call fcn.00445860
mov edx, dword [ebp - 0xa80]
lea ecx, [ebp - 0xa74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446650
mov eax, dword [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 8