Function at 0x4780d6
Capabilities:
Enumerate files on windows
Move file

Disassembly:
mov eax, 0x4e3c36
call fcn.004d1ec0
sub esp, 0x2ec
mov eax, dword [0x52f220]
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xff]
cmp byte [eax], 0
jne 0x4783aa
mov ecx, dword [esi + 0x80]
push ebx
mov byte [eax], 1
push edi
lea eax, [ebp - 0x2d4]
push eax
xor bl, bl
call fcn.0047ba76
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x2d8]
push eax
call fcn.0047ba84
mov ecx, dword [ebp - 0x2d4]
cmp ecx, dword [eax]
mov edi, 0x4ed9a8
je 0x478254
cmp byte [ecx + 0x29], 0
je 0x478218
lea eax, [ecx + 0xc]
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00410e0e
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00407691
add esp, 0x18
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.00454304
mov eax, dword [ebp - 0x2d4]
cmp byte [eax + 0x2a], 0
pop ecx
je 0x4781ec
add eax, 0xc
push eax
lea eax, [esi + 0xc0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00410e0e
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.00407691
add esp, 0x18
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call dword [0x4ec4ec]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.00454304
mov eax, dword [ebp - 0x2d4]
pop ecx
mov ecx, dword [esi + 0x80]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0047c410
mov eax, dword [eax]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x2d4], eax
mov bl, 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x478223
lea ecx, [ebp - 0x2d4]
call fcn.00441720
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x2d8]
push eax
call fcn.0047ba84
mov ecx, dword [ebp - 0x2d4]
cmp ecx, dword [eax]
jne 0x478129
test bl, bl
je 0x478254
mov ecx, dword [esi + 0x80]
push 1
call fcn.0047c7d9
add esi, 0x88
push esi
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.update.
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x478394
test byte [ebp - 0x2d0], 0x10
je 0x47837e
lea eax, [ebp - 0x2a4]
push 0x4edaf4
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x47837e
lea eax, [ebp - 0x2a4]
push 0x4edaec
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x47837e
push str.update_
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00407691
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.00454304
pop ecx
push 8
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x2d0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47829b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret