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

Disassembly:
mov eax, 0x4afaa9
call fcn.0049f0d0
sub esp, 0x2ec
mov eax, dword [0x4f0dd0]
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xce]
cmp byte [eax], 0
jne 0x451244
push ebx
push edi
mov byte [eax], 1
call fcn.0044e9a0
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0x2d4]
push eax
xor bl, bl
call fcn.00453c5f
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0x2d8]
push eax
call fcn.00453c6d
mov ecx, dword [ebp - 0x2d4]
cmp ecx, dword [eax]
mov edi, 0x4b883c
je 0x4510d6
cmp byte [ecx + 0x29], 0
je 0x4510a2
lea eax, [ecx + 0xc]
push eax
lea eax, [esi + 0x74]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00409d39
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406b0a
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.0043cc28
mov eax, dword [ebp - 0x2d4]
cmp byte [eax + 0x2a], 0
pop ecx
je 0x451079
add eax, 0xc
push eax
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409d39
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.00406b0a
add esp, 0x18
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call dword [0x4b743c]
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.0043cc28
mov eax, dword [ebp - 0x2d4]
pop ecx
mov ecx, dword [esi + 0x6c]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.004543ad
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 0x4510ad
lea ecx, [ebp - 0x2d4]
call fcn.0047ff33
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0x2d8]
push eax
call fcn.00453c6d
mov ecx, dword [ebp - 0x2d4]
cmp ecx, dword [eax]
jne 0x450fb9
test bl, bl
je 0x4510d6
mov ecx, dword [esi + 0x6c]
call fcn.004547e9
lea ebx, [esi + 0x74]
push ebx
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 [0x4b7454]
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]
cmp eax, 0xffffffff
mov dword [ebp - 0x2d8], eax
je 0x451229
test byte [ebp - 0x2d0], 0x10
je 0x45120e
lea eax, [ebp - 0x2a4]
push 0x4b8988
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x45120e
lea eax, [ebp - 0x2a4]
push 0x4b8980
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x45120e
push str.update_
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00406b0a
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call dword [0x4b7454]
push edi
lea ecx, [ebp - 0x48]
call dword [0x4b7454]
push ebx
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 [0x4b7454]
push edi
lea ecx, [ebp - 0x2c]
call dword [0x4b7454]
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.0043cc28
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]
mov eax, dword [esi]
lea ecx, [ebp - 0x2a4]
push ecx
push esi
call dword [eax + 0x30]
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 dword [ebp - 0x2d8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45111e
push dword [ebp - 0x2d8]
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.0049f127
leave
ret