Function at 0x4dc9f3
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571409
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab4
lea ecx, [ebp - 0x14]
call fcn.004013e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x5a0], ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4dca84
mov eax, dword [ebp + 0x10]
push eax
push str.MyPreload__SetCurrentDirectory_srcdir____s_r_n
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0xaac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xaac]
jmp 0x4dce77
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x4dcab7
mov eax, dword [ebp + 0x10]
push eax
push 0x5b0154
lea ecx, [ebp - 0x6a4]
push ecx
call fcn.0054c45b
add esp, 0xc
jmp 0x4dcacf
mov edx, dword [ebp + 0x10]
push edx
push 0x5b015c
lea eax, [ebp - 0x6a4]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x558]
push ecx
lea edx, [ebp - 0x6a4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x59c], eax
cmp dword [ebp - 0x59c], 0xffffffff
jne 0x4dcb39
push str.MyPreload_hSearch__INVALID_HANDLE_VALUE_r_n
lea eax, [ebp - 0x414]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x414]
push ecx
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0xab0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xab0]
jmp 0x4dce77
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x4dce4b
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x8a4]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x8a4]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x8a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ec99d
add esp, 4
test eax, eax
je 0x4dcbdd
push str.MyPreload_DoCheckStopEnable_lp__r_n
lea edx, [ebp - 0x414]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0xab4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xab4]
jmp 0x4dce77
mov ecx, dword [ebp - 0x418]
and ecx, 0x10
test ecx, ecx
je 0x4dcd2f
push 0x5b01b4
lea edx, [ebp - 0x52c]
push edx
call fcn.0054d7f0
add esp, 8
test eax, eax
je 0x4dcd2a
push 0x5b01b8
lea eax, [ebp - 0x52c]
push eax
call fcn.0054d7f0
add esp, 8
test eax, eax
je 0x4dcd2a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x558]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x5a0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ecb50
add esp, 0x10
mov dword [ebp - 0xaa8], eax
cmp dword [ebp - 0xaa8], 0
je 0x4dcd20
push 0x5b01bc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x214]
push ecx
push str.MyPreload_srcfile___s_r_n
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call fcn.00536ebf
add esp, 4
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0xaa8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004dc9f3
add esp, 0xc
test eax, eax
jne 0x4dcd20
push str.MyPreload__MyPreload_lp__nSubDirClusterIndex__srcfile__r_n
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x414]
push edx
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0xab8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xab8]
jmp 0x4dce77
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4dce1c
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xaa4]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0xaa4]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x52c]
push eax
push 0x5b0218
lea ecx, [ebp - 0x598]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x598]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005031b7
add esp, 8
lea ecx, [ebp - 0xaa4]
push ecx
push str.MyPreload_tarfile___s_r_n
lea edx, [ebp - 0x414]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call fcn.00536ebf
add esp, 4
lea ecx, [ebp - 0xaa4]
push ecx
lea edx, [ebp - 0x5a0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f031e
add esp, 0xc
test eax, eax
jne 0x4dce1c
push str.MyPreload__MyCopyFile_lp__nDirClusterIndex__tarfile___r_n
lea ecx, [ebp - 0x414]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x414]
push edx
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0xabc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xabc]
jmp 0x4dce77
lea eax, [ebp - 0x558]
push eax
mov ecx, dword [ebp - 0x59c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4dce46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4dce46
mov dword [ebp - 0x10], 1
jmp 0x4dcb40
mov edx, dword [ebp - 0x59c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xac0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00560ea1
mov eax, dword [ebp - 0xac0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret