Function at 0x4c41e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5f8310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5f877c], 0
je 0x4c421c
or eax, 0xffffffff
jmp 0x4c4731
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
push 0x5f87ac
lea ecx, [ebp - 0x2b4]
call fcn.005686b0
mov byte [ebp - 4], 1
mov eax, dword [0x5f87c4]
push eax
push str.select_top_1__from_usertabb608_where_left_relationid_8__s
lea ecx, [ebp - 0x3e8]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push 3
push 0
push 1
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.005688c0
lea ecx, [ebp - 0x2b4]
call fcn.00569470
test eax, eax
je 0x4c42db
lea ecx, [ebp - 0x2b4]
call fcn.00568de0
push 0
push 0
push 0x5a5e00
call sub.mfc90.dll_Ordinal_1183
mov dword [ebp - 0x418], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.005687e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x418]
jmp 0x4c4731
lea edx, [ebp - 0x41c]
push edx
push 0x5a5e10
lea ecx, [ebp - 0x2b4]
call fcn.0056e800
mov ecx, eax
call fcn.00408d40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x41c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x2b4]
call fcn.00568de0
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x254]
push ecx
call fcn.004c5c00
add esp, 8
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2dc], 0
lea edx, [ebp - 0x3fc]
push edx
call fcn.00408a20
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
call fcn.004c5be0
add esp, 8
push str..
lea edx, [ebp - 0x3e4]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
jne 0x4c441d
lea edx, [ebp - 0x254]
push edx
push 0x5a5e24
lea eax, [ebp - 0x3e8]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call sub.mfc90.dll_Ordinal_1183
mov dword [ebp - 0x420], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.005687e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x420]
jmp 0x4c4731
push 0x104
push 0
lea ecx, [ebp - 0x3e4]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp - 0x154], 0x10
jne 0x4c4441
jmp 0x4c4504
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x254]
push eax
push 0x5a5e5c
lea ecx, [ebp - 0x3e4]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0
push 0
push 4
push 0
push 1
push SysReAllocString
lea edx, [ebp - 0x3e4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea edx, [ebp - 0x3f0]
push edx
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ecx, dword [ebp - 0x3ec]
cmp ecx, dword [ebp - 0x2d8]
jbe 0x4c44d0
mov edx, dword [ebp - 0x3ec]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x2dc], eax
jmp 0x4c4504
mov ecx, dword [ebp - 0x3ec]
cmp ecx, dword [ebp - 0x2d8]
jne 0x4c4504
mov edx, dword [ebp - 0x3f0]
cmp edx, dword [ebp - 0x2dc]
jbe 0x4c4504
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x2dc], ecx
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4c45f6
cmp dword [ebp - 0x154], 0x10
jne 0x4c452e
jmp 0x4c45f1
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x254]
push edx
push 0x5a5e64
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0
push 0
push 4
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x3e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x410], eax
lea edx, [ebp - 0x2d4]
push edx
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [ebp - 0x3ec]
cmp eax, dword [ebp - 0x2d8]
jbe 0x4c45bd
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x3f0]
mov dword [ebp - 0x2dc], edx
jmp 0x4c45f1
mov eax, dword [ebp - 0x3ec]
cmp eax, dword [ebp - 0x2d8]
jne 0x4c45f1
mov ecx, dword [ebp - 0x3f0]
cmp ecx, dword [ebp - 0x2dc]
jbe 0x4c45f1
mov edx, dword [ebp - 0x3ec]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x2dc], eax
jmp 0x4c4504
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2d8], 0
ja 0x4c4619
cmp dword [ebp - 0x2dc], 0
jbe 0x4c46cb
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x40c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea ecx, [ebp - 0x3fc]
call fcn.00429cd0
movzx ecx, word [ebp - 0x2c6]
sub eax, ecx
cmp eax, 1
jle 0x4c4695
mov dword [ebp - 0x424], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.005687e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x424]
jmp 0x4c4731
mov dword [ebp - 0x428], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.005687e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x428]
jmp 0x4c4731
mov dword [ebp - 0x42c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.005687e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3e8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x42c]
jmp 0x4c4731
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005795a6
mov esp, ebp
pop ebp
ret