Function at 0x4bae40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d214d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x518
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 - 0x24], ecx
mov dword [ebp - 4], 0
push 1
mov eax, dword [ebp - 0x24]
add eax, 0xfc
push eax
lea ecx, [ebp - 0x20]
call fcn.00493f10
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
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 - 0xcc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00436f30
lea ecx, [ebp - 0x18]
call fcn.00402d50
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00541000
add esp, 4
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x4bb064
mov edx, dword [ebp - 0x30]
push edx
call fcn.005405b0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4bb064
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x38], eax
push 0xfa0
mov ecx, dword [ebp - 0x38]
call fcn.0040a130
mov byte [ebp - 0x25], al
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x4baf2f
jmp 0x4bb040
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.00418dd0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 3
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 - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x288]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00402ad0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
call fcn.00402a30
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.00402d20
mov dword [ebp - 0x54], eax
push 0x5e9c0c
mov eax, dword [ebp - 0x54]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x58], eax
push 0x5e9c08
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x5c], eax
push 0x5e9bec
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x60], eax
push 0x5e9be4
mov eax, dword [ebp - 0x60]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x64], eax
push str.Critical_Error____Failed_to_create_folder__
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
call fcn.00418da0
push eax
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x70], eax
push 0x5e9bb4
mov eax, dword [ebp - 0x70]
push eax
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.00402a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.00418db0
mov byte [ebp - 0x26], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00494390
mov al, byte [ebp - 0x26]
jmp 0x4bb57b
mov ecx, dword [ebp - 0x24]
add ecx, 0x40
call fcn.005c4700
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.0040bfe0
push eax
call fcn.005416c0
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4bb0c3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x20
push edx
call fcn.00446f50
add esp, 8
movzx eax, al
test eax, eax
je 0x4bb0c3
push 0xb
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.0040bfe0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004b21b0
mov byte [ebp - 0x27], al
movzx edx, byte [ebp - 0x27]
test edx, edx
jne 0x4bb212
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x78], eax
push 0xfa0
mov ecx, dword [ebp - 0x78]
call fcn.0040a130
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x28]
test eax, eax
jne 0x4bb104
jmp 0x4bb1ee
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 - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x330]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00402ad0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x88]
call fcn.00402a30
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00402d20
mov dword [ebp - 0x90], eax
push 0x5e9c68
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x94], eax
push 0x5e9c64
mov edx, dword [ebp - 0x94]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x98], eax
push 0x5e9c48
mov eax, dword [ebp - 0x98]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x9c], eax
push 0x5e9c40
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xa0], eax
push str.Critical_Error____Failed_to_create_LogDb
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x330]
call fcn.00402a50
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00494390
mov al, byte [ebp - 0x29]
jmp 0x4bb57b
push 0xfde9
mov ecx, dword [ebp + 8]
call fcn.0040bfe0
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0045d310
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
add ecx, 0x114
push ecx
mov ecx, dword [ebp - 0xa8]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x40
call fcn.005c5360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e0]
call fcn.00418db0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x20
push eax
call fcn.004231f0
add esp, 8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00494390
jmp 0x4bb548
mov dword [ebp - 4], 0xffffffff
jmp 0x4bb55d
jmp 0x4bb56b
jmp 0x4bb579
mov al, 1
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