Function at 0x4b3290
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d147c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push 0x3e8
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov ecx, eax
call fcn.0040a130
movzx eax, al
test eax, eax
jne 0x4b32dc
jmp 0x4b3362
push 0x5e96b0
push 0x5e96b8
push 0x5e96d4
push 0x5e96e0
lea ecx, [ebp - 0x114]
push ecx
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_]
push eax
call fcn.004048b0
add esp, 4
mov ecx, eax
call fcn.00402ad0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
call fcn.00402a30
mov ecx, eax
call fcn.00402d20
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00402a50
mov ecx, dword [ebp - 0x48]
add ecx, 0x58
call fcn.00416be0
test eax, eax
je 0x4b3380
mov ecx, dword [ebp - 0x48]
add ecx, 0x40
call fcn.00416be0
test eax, eax
jne 0x4b3387
xor al, al
jmp 0x4b36f9
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x48]
add eax, 0xfc
push eax
lea ecx, [ebp - 0x20]
call fcn.004aaf40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004ae020
movzx ecx, al
test ecx, ecx
je 0x4b3643
lea ecx, [ebp - 0x40]
call fcn.00409640
mov byte [ebp - 4], 2
push 1
mov edx, dword [ebp - 0x48]
add edx, 0xe4
push edx
lea ecx, [ebp - 0x18]
call fcn.00493f10
mov byte [ebp - 4], 3
push 1
mov eax, dword [ebp - 0x48]
add eax, 0x58
push eax
lea ecx, [ebp - 0x28]
call fcn.004a3530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x48]
add edx, 0x114
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.0040bfe0
push eax
mov eax, dword [ebp - 0x48]
add eax, 0x40
push eax
call fcn.004e6140
add esp, 0x10
test eax, eax
je 0x4b3422
mov byte [ebp - 0x49], 1
jmp 0x4b3426
mov byte [ebp - 0x49], 0
mov cl, byte [ebp - 0x49]
mov byte [ebp - 0x41], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004abe70
movzx edx, byte [ebp - 0x41]
test edx, edx
je 0x4b3576
mov ecx, dword [ebp - 0x48]
call fcn.004b0750
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.0040bfe0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b354a
push 0xfa0
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov ecx, eax
call fcn.0040a130
movzx eax, al
test eax, eax
jne 0x4b3484
jmp 0x4b354a
push 0x5e9714
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x416260
push 0x5e9718
push str.Error_deleting_cache_file:
push 0x5e973c
push 0x5e9744
push 0x5e9760
push 0x5e9764
lea ecx, [ebp - 0x1bc]
push ecx
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_]
push eax
call fcn.004048b0
add esp, 4
mov ecx, eax
call fcn.00402ad0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
call fcn.00402a30
mov ecx, eax
call fcn.00402d20
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.0040a4b0
add esp, 8
mov ecx, eax
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 ecx, eax
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_]
push eax
call fcn.0040a4b0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00402a50
mov eax, dword [ebp - 0x48]
add eax, 8
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004b4e30
lea ecx, [ebp - 0x18]
call fcn.00498920
mov ecx, dword [ebp - 0x48]
call fcn.004bb5a0
mov ecx, dword [ebp - 0x48]
call fcn.004b5620
jmp 0x4b3626
push 0xfa0
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov ecx, eax
call fcn.0040a130
movzx ecx, al
test ecx, ecx
jne 0x4b3594
jmp 0x4b3626
lea ecx, [ebp - 0x40]
call fcn.0040bfe0
push eax
push 0x5e976c
push 0x5e9774
push 0x5e9790
push 0x5e9794
lea edx, [ebp - 0x264]
push edx
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_]
push eax
call fcn.004048b0
add esp, 4
mov ecx, eax
call fcn.00402ad0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
call fcn.00402a30
mov ecx, eax
call fcn.00402d20
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.0040a4b0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00402a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00494390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7f0
jmp 0x4b36e1
push 0x7d0
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov ecx, eax
call fcn.0040a130
movzx ecx, al
test ecx, ecx
jne 0x4b3661
jmp 0x4b36e1
push str.Could_not_enter_critical_section
push 0x5e97c0
push str.CEventLogger::FlushCache
push 0x5e97ec
lea edx, [ebp - 0x30c]
push edx
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_]
push eax
call fcn.004048b0
add esp, 4
mov ecx, eax
call fcn.00402ad0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
call fcn.00402a30
mov ecx, eax
call fcn.00402d20
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
push eax
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30c]
call fcn.00402a50
mov cl, byte [ebp - 0x41]
mov byte [ebp - 0x4a], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004ad630
mov al, byte [ebp - 0x4a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret