Function at 0x4a0950
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1fce
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x568], 1
push 0x1ff
lea eax, [esp + 0x361]
push 0
push eax
mov byte [esp + 0x368], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x16d]
push 0
push ecx
mov byte [esp + 0x174], 0
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x568], 2
mov eax, dword [esp + 0x570]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x200
jg 0x4a0bf8
jae 0x4a0a11
lea edx, [esp + 0x15c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a0a07
lea edx, [esp + 0x574]
push edx
lea eax, [esp + 0x18]
push 0x502b38
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x568], 3
mov eax, dword [eax]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a0a37
lea edi, [esp + 0x15c]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4a0a50
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x568], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a0bf8
push 0
call dword [sym.imp.MSVCR90.dll__time64]
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esp, 4
lea ecx, [ecx]
mov eax, dword [esp + 0x570]
cmp dword [eax - 0xc], 0x200
ja 0x4a0bf1
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x364]
push 0x5027d8
push edx
call edi
add esp, 0x10
test byte [esp + 0x1c], 0x10
jne 0x4a0be1
lea eax, [esp + 0x35c]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x35c]
push ecx
push edx
call fcn.00492210
add esp, 8
cmp dword [0x10dd290], 0x3e8
jg 0x4a0bf1
push str.tclog
lea ecx, [esp + 0x578]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4a0b5f
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x56c], 4
mov byte [esp + 0x56c], 2
mov ecx, dword [esp + 0x1c]
call fcn.0049e330
push str.tdlog
lea ecx, [esp + 0x578]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4a0ba0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x56c], 5
mov byte [esp + 0x56c], 2
mov ecx, dword [esp + 0x1c]
call fcn.0049fff0
push str.txlog
lea ecx, [esp + 0x578]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4a0be1
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x56c], 6
mov byte [esp + 0x56c], 2
mov ecx, dword [esp + 0x1c]
call fcn.0049fff0
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebp
test eax, eax
jne 0x4a0ab0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x568], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x568], 0
lea ecx, [esp + 0x570]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x568], 0xffffffff
lea ecx, [esp + 0x574]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x54c]
xor ecx, esp
call fcn.004e0148
add esp, 0x55c
ret 8