Function at 0x44f880
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a3fc
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x120]
mov esi, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_void_]
xor ebx, ebx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
call esi
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], ebx
call esi
push 0x124
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call dword [sym.imp.FSUTIL.dll_public:_int___thiscall_AString::LoadStringA_unsigned_int_]
push dword [ebp - 0x128]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AFilePath::constructor_class_AFilePath_const__]
push str..ttt
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.FSUTIL.dll_class_AString___cdecl_operator_class_AString_const___char_const__]
add esp, 0xc
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 3
call dword [0x48f52c]
mov esi, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call esi
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x11c]
call dword [sym.imp.FSUTIL.dll_public:_class_AFilePath____thiscall_AFilePath::operator_class_AString_const__]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call dword [sym.imp.FSUTIL.dll_public:_class_AString___thiscall_AFilePath::GetFullPath_void_]
push 0x49e340
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [edi + 0x150], eax
lea ecx, [ebp - 0x118]
call esi
cmp dword [edi + 0x150], ebx
jne 0x44f9a7
push ebx
push 0x125
call dword [sym.imp.FSUTIL.dll_int___cdecl_FSMessageBox_unsigned_int__unsigned_int_]
add esp, 8
jmp 0x44fa9d
mov ecx, edi
call fcn.0044f1c0
test eax, eax
je 0x44f9e5
mov ecx, edi
call fcn.0044f190
test eax, eax
je 0x44f9dc
mov ecx, edi
call fcn.0044ee70
test eax, eax
je 0x44f9dc
mov ecx, edi
call fcn.0044ec70
xor ebx, ebx
cmp ax, 1
setne bl
test ebx, ebx
jne 0x44f9f5
push 0
push 0x126
jmp 0x44f9ec
push 0x10
push 0x127
call dword [sym.imp.FSUTIL.dll_int___cdecl_FSMessageBox_unsigned_int__unsigned_int_]
add esp, 8
mov ecx, edi
call fcn.0044ed30
push dword [edi + 0x150]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x44fa8e
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x118]
mov edi, dword [sym.imp.FSUTIL.dll_public:_class_AString___thiscall_AFilePath::GetFullPath_void_]
push eax
call edi
push str..bmp
push dword [ebp - 0x120]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x114]
push eax
call fcn.0041d9e0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call esi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call edi
lea ecx, [ebp - 0x114]
push ecx
push dword [eax]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
add esp, 8
lea ecx, [ebp - 0x118]
call esi
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x114]
push eax
call dword [0x48f470]
jmp 0x44fa9d
push dword [ebp - 0x11c]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
add esp, 4
lea ecx, [ebp - 0x11c]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AFilePath::destructor_void_]
lea ecx, [ebp - 0x124]
call esi
lea ecx, [ebp - 0x120]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ff18
mov esp, ebp
pop ebp
ret 8