Function at 0x465690
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589e03
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x114], ebx
je 0x46598b
mov edi, dword [ebp + 8]
push edi
call fcn.00465440
mov ecx, esi
call fcn.004633d0
mov ecx, esi
call fcn.00464d20
test eax, eax
je 0x465914
cmp edi, 4
jne 0x465759
lea eax, [ebp - 0x20]
push eax
call fcn.00498a50
push eax
lea ecx, [ebp - 0x1c]
push 0x5a6940
xor edi, edi
mov ebx, 1
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
push 0x5a41d4
push eax
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x1c
mov ebx, 7
mov ecx, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.txupd.exe_int___cdecl_FS::IsFileExist_wchar_t_const__
add esp, 4
test eax, eax
jne 0x46575b
mov byte [ebp + 0xb], 1
jmp 0x46575f
xor edi, edi
mov byte [ebp + 0xb], 0
test bl, 4
mov dword [ebp - 4], 1
je 0x465779
and ebx, 0xfffffffb
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, 2
mov dword [ebp - 4], edi
je 0x46578f
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, 1
mov dword [ebp - 4], 0xffffffff
je 0x4657a3
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp byte [ebp + 0xb], 0
je 0x4657f0
lea eax, [ebp - 0x20]
push eax
call fcn.0049a3b0
push str.drtemp.db
push eax
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 4], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x10
mov ecx, eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push 0x5a3f7c
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push str.EncodedData
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov bl, 5
push 0x5a699c
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00462dd0
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or ebx, 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x104]
push edx
push eax
lea ecx, [ebp - 0x14]
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::Encode16_void_const___unsigned_int_
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.00462fb0
test eax, eax
jne 0x46592a
mov dword [ebp - 0x24], str.data_report:_sync_to_server__failed_at_http_request.__n
mov dword [ebp - 0x4c], str.E:_txupdatecodingTXUpdate_servicelogicDataReport.cpp
mov dword [ebp - 0x48], 0x5a6c18
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x78], 0x93
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x7c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x24]
push ecx
push 0x5a48f0
lea edx, [ebp - 0x80]
push 0x5a6934
push edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
call sym.txupd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
push str.data_report:_sync_to_server__failed_at_http_request.__n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x18
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push edi
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x46597c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x12
je 0x465975
cmp eax, 0x1789
je 0x46597c
lea ecx, [ebp - 0x40]
push ecx
call esi
lea edx, [ebp - 0x40]
push edx
call ebx
push edi
push edi
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x465947
jmp 0x46597c
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4