Function at 0x4b21b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d136d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c0
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xd8], ecx
push 1
mov eax, dword [ebp - 0xd8]
add eax, 0xfc
push eax
lea ecx, [ebp - 0x20]
call fcn.00493f10
mov dword [ebp - 4], 0
push 0x84
lea ecx, [ebp - 0xd4]
call fcn.004029d0
push 0xfde9
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
lea ecx, [ebp - 0xd4]
call fcn.0045d310
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
call fcn.005416c0
add esp, 4
test eax, eax
jne 0x4b2265
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.004b1be0
jmp 0x4b258a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd8]
add eax, 0x114
push eax
lea ecx, [ebp - 0xd4]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
call fcn.005c5360
push 0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
push ecx
call fcn.004e5390
add esp, 8
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0xffffffff
je 0x4b24a5
cmp dword [ebp - 0xe4], 0x11
jge 0x4b24a5
lea ecx, [ebp - 0x50]
call fcn.00409640
mov byte [ebp - 4], 3
push 4
lea ecx, [ebp - 0x18]
call fcn.004029d0
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e050
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00436f30
push 0x5eb408
lea ecx, [ebp - 0x18]
call fcn.0040e010
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e030
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x114
push ecx
mov edx, dword [ebp - 0xd8]
add edx, 0x40
push edx
call fcn.004e5560
add esp, 0x18
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jne 0x4b248b
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x1cc], eax
push 0xfa0
mov ecx, dword [ebp - 0x1cc]
call fcn.0040a130
mov byte [ebp - 0xd9], al
movzx eax, byte [ebp - 0xd9]
test eax, eax
jne 0x4b2391
jmp 0x4b248b
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
push ecx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0xe8], eax
lea edx, [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0xe8]
call fcn.00402ad0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf0]
call fcn.00402a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call fcn.00402d20
mov dword [ebp - 0xf8], eax
push 0x5eb49c
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xfc], eax
push 0x5eb494
mov edx, dword [ebp - 0xfc]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x100], eax
push 0x5eb450
mov eax, dword [ebp - 0x100]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x104], eax
push 0x5eb43c
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x50]
call fcn.0040bfe0
push eax
mov edx, dword [ebp - 0x108]
push edx
call fcn.0040a4b0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x288]
call fcn.00402a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0040a7f0
jmp 0x4b24b3
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
call fcn.005c4700
jmp 0x4b258a
mov dword [ebp - 4], 1
jmp 0x4b25bf
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xd8]
add eax, 0x114
push eax
lea ecx, [ebp - 0xd4]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
call fcn.005c5360
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
push ecx
call fcn.004e6f20
add esp, 4
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4b2b15
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
call fcn.005c4700
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x118], eax
push 0xbb8
mov ecx, dword [ebp - 0x118]
call fcn.0040a130
mov byte [ebp - 0xdb], al
movzx edx, byte [ebp - 0xdb]
test edx, edx
jne 0x4b264e
jmp 0x4b2744
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x3d8]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.00402ad0
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x128]
call fcn.00402a30
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.00402d20
mov dword [ebp - 0x130], eax
push 0x5e8ef0
mov eax, dword [ebp - 0x130]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x134], eax
push 0x5e8ed4
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x138], eax
push 0x5e8e24
mov edx, dword [ebp - 0x138]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x13c], eax
push 0x5e8e8c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x140], eax
push str.DB_is_invalid__wrong_password__._Making_backup_and_creating_a_new_one...
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3d8]
call fcn.00402a50
push 0x5e8efc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.004232d0
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xa
push 1
lea ecx, [ebp - 0x38]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4b2944
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x144], eax
push 0xfa0
mov ecx, dword [ebp - 0x144]
call fcn.0040a130
mov byte [ebp - 0xdc], al
movzx ecx, byte [ebp - 0xdc]
test ecx, ecx
jne 0x4b27b7
jmp 0x4b2944
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
push edx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.00402ad0
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x154]
call fcn.00402a30
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
call fcn.00402d20
mov dword [ebp - 0x15c], eax
push 0x5e8f8c
mov edx, dword [ebp - 0x15c]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x160], eax
push 0x5e8f88
mov eax, dword [ebp - 0x160]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x164], eax
push 0x5e8f6c
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x168], eax
push 0x5e8f64
mov edx, dword [ebp - 0x168]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x16c], eax
push 0x5e8f20
mov eax, dword [ebp - 0x16c]
push eax
call fcn.0040a4b0
add esp, 8
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call fcn.0040e860
add esp, 8
mov dword [ebp - 0x174], eax
push 0x5e8f1c
mov eax, dword [ebp - 0x174]
push eax
call fcn.0040a4b0
add esp, 8
mov dword [ebp - 0x178], eax
push 0x5e8f14
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x17c], eax
push 0x416260
mov ecx, dword [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x180], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x180]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov dword [ebp - 0x184], eax
push 0x5e8f10
mov edx, dword [ebp - 0x184]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x480]
call fcn.00402a50
mov eax, dword [ebp - 0xd8]
add eax, 0x40
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.004b1be0
mov byte [ebp - 0xdd], al
movzx edx, byte [ebp - 0xdd]
test edx, edx
jne 0x4b2b09
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x188], eax
push 0xfa0
mov ecx, dword [ebp - 0x188]
call fcn.0040a130
mov byte [ebp - 0xde], al
movzx eax, byte [ebp - 0xde]
test eax, eax
jne 0x4b29a4
jmp 0x4b2acd
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x190], eax
lea edx, [ebp - 0x528]
push edx
mov ecx, dword [ebp - 0x190]
call fcn.00402ad0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x198]
call fcn.00402a30
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.00402d20
mov dword [ebp - 0x1a0], eax
push 0x5e9038
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x1a4], eax
push 0x5e902c
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x1a8], eax
push 0x5e8fe4
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x1ac], eax
push 0x5e8fdc
mov ecx, dword [ebp - 0x1ac]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x1b0], eax
push 0x5e8f98
mov edx, dword [ebp - 0x1b0]
push edx
call fcn.0040a4b0
add esp, 8
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1b4]
push ecx
call fcn.0040e860
add esp, 8
mov dword [ebp - 0x1b8], eax
push 0x5e8f94
mov edx, dword [ebp - 0x1b8]
push edx
call fcn.0040a4b0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x528]
call fcn.00402a50
mov byte [ebp - 0xdf], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0040a7f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.00418db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00494390
mov al, byte [ebp - 0xdf]
jmp 0x4b2c3a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0040a7f0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x40
call fcn.005c4700
jmp 0x4b2bed
mov dword [ebp - 4], 1
jmp 0x4b2bfd
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x20
call fcn.00413bd0
mov byte [ebp - 0xe0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.00418db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00494390
mov al, byte [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret 4