Function at 0x58fc00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c90b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x4c], esi
jmp 0x58fc2f
mov eax, dword [esi + 0x4c]
push str.0000000000000000000000000000000000000000000000000000000000000000
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0x58fc5c
push ebx
mov ecx, esi
call fcn.00591670
call fcn.0044c9d0
mov ecx, eax
call fcn.0044c170
mov eax, dword [esi + 0x6c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x58fc81
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.err_info
push ebx
mov byte [ebp + 0xb], 0
lea edi, [esi + 0x208]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
push str.err_ext
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x58fcd4
push 0x637e9c
mov ecx, edi
call fcn.0059b7ac
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.0059ba4c
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x58fd74
push str.license_key
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x58fd41
push 0
push str.SOFTWAREETermProxy
lea ecx, [ebp - 0x20]
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::constructor_char___bool_
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
push ecx
push str.license_key
lea ecx, [ebp - 0x20]
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::WriteString_char___char__
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::destructor_void_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.warning_info
push ebx
lea edi, [esi + 0x20c]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
push str.warning_ext
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi]
mov byte [ebp - 4], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x58fdc0
push 0x637e9c
mov ecx, edi
call fcn.0059b7ac
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0059ba4c
push str.msg_info
push ebx
lea edi, [esi + 0x210]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
push str.msg_ext
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [edi]
mov byte [ebp - 4], 4
mov eax, dword [ecx - 8]
test eax, eax
je 0x58fe17
push 0x637e9c
mov ecx, edi
call fcn.0059b7ac
lea edx, [ebp - 0x34]
mov ecx, edi
push edx
call fcn.0059ba4c
push str.sys_message
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 5
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x58fe53
push 0x637e9c
mov ecx, edi
call fcn.0059b7ac
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call fcn.0059ba4c
push str.company_name
push ebx
lea edi, [esi + 0x44]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
push str.soft_name
push ebx
lea edi, [esi + 0x218]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
push str.soft_version
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x48]
mov edx, dword [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x59016b
lea eax, [ebp + 8]
push 1
push eax
call fcn.004ee430
mov ecx, dword [eax]
add esp, 8
lea edx, [ebp - 0x1f4]
push ecx
push str._supdate.ini
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.update_path
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_3
push 1
push 0x2f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x1c]
push 1
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::Right
mov edx, dword [ebp - 0x38]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp + 0xb]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp + 0xb]
test al, al
je 0x58ff84
push 0x2f
lea ecx, [ebp - 0x30]
call fcn.0059b7b2
push str.update_force
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x44]
push eax
call sub.MFC42.DLL_CString::CString_3
push str.update_files
push ebx
mov byte [ebp - 4], 9
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x48]
push eax
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x1f4]
lea ecx, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0xa
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::constructor_char__
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi]
mov edx, dword [esi + 0x44]
push ecx
push edx
lea eax, [ebp - 0x3c]
push 0x61f174
push eax
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
push ecx
push str.product_name
push str.general
lea ecx, [ebp - 0xb0]
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
push str.ETermProxy.exe
push str.software_name
push str.general
lea ecx, [ebp - 0xb0]
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xb0]
push edx
push str.new_version
push str.software
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xb0]
push eax
push str.update_path
push str.software
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
mov ecx, dword [ebp - 0x44]
push ecx
push str.update_force
push str.software
lea ecx, [ebp - 0xb0]
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0xb0]
push edx
push str.update_files
push str.software
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::SetString_char___char___char__
mov eax, dword [ebp - 0x44]
mov byte [ebp + 0xb], 1
mov byte [ebp - 4], 0xb
mov cl, byte [eax]
cmp cl, 0x31
lea ecx, [ebp - 0x3c]
jne 0x590133
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call sym.ETermProxy.exe_public:_void___thiscall_CRWConfig::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push str.prime_server
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 0x2c]
lea edi, [esi + 0x50]
push eax
push ecx
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5901d8
lea edx, [ebp - 0x2c]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
push 0
push str.SOFTWAREETermProxy
lea ecx, [ebp - 0x20]
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::constructor_char___bool_
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
push edi
push str.prime_server
mov byte [ebp - 4], 0xe
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::WriteString_char___char__
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::destructor_void_
push str.bak_server
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x54]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x590245
lea ecx, [ebp - 0x24]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push 0
push str.SOFTWAREETermProxy
lea ecx, [ebp - 0x20]
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::constructor_char___bool_
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
push edi
push str.bak_server
mov byte [ebp - 4], 0x10
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::WriteString_char___char__
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::destructor_void_
push str.av_server
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [esi + 0x58]
push eax
call sub.MFC42.DLL_CString::operator
push str.pnr_server
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [esi + 0x5c]
push eax
call sub.MFC42.DLL_CString::operator
push str.bs_path
push ebx
lea edi, [esi + 0x68]
call fcn.0044e230
add esp, 8
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5902a1
push str.HTTP:__BASE.HANGYI365.COM_Interface
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push str.bds_sync_seal
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [esi + 0x64]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 0xc]
push str._bej
add eax, 0x30
lea esi, [ebx - 0x30]
mov dword [ebp - 0x38], eax
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
mov edi, eax
mov ecx, 5
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x5902f8
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5903f6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x5903f8
mov eax, dword [ebp - 0x38]
cmp dword [eax + ebx - 0x38], eax
je 0x590323
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5903eb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
push 0
push 0
push 0x47a
jmp 0x590401
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0xf0]
add edx, 4
push ecx
push edx
call sub.md5lib.dll_MD5Encode
lea edi, [ebx - 0x20]
mov ecx, 8
lea esi, [ebp - 0xf0]
xor eax, eax
mov dword [ebp - 0x1c], edi
repe cmpsd dword [esi], dword es:[edi]
je 0x590366
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5903f6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x5903f8
mov eax, dword [ebp - 0x38]
xor cl, cl
cdq
and edx, 3
mov byte [ebp + 0xd], cl
add eax, edx
mov byte [ebp + 0xe], cl
sar eax, 2
test eax, eax
mov byte [ebp + 0xf], cl
jle 0x5903bc
lea edx, [ebx - 0x2e]
mov esi, eax
mov al, byte [edx - 2]
add edx, 4
add cl, al
mov al, byte [edx - 5]
add byte [ebp + 0xd], al
mov al, byte [edx - 4]
add byte [ebp + 0xe], al
mov al, byte [edx - 3]
add byte [ebp + 0xf], al
dec esi
jne 0x590386
test cl, cl
jne 0x59034d
mov al, byte [ebp + 0xd]
test al, al
jne 0x59034d
mov al, byte [ebp + 0xe]
test al, al
jne 0x59034d
mov al, byte [ebp + 0xf]
test al, al
jne 0x59034d
mov edi, dword [ebp - 0x1c]
mov ecx, 8
lea esi, [ebp - 0xf0]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x59040b
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5903eb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
push 0
push 0
push 0x47a
jmp 0x590401
xor eax, eax
push eax
push eax
push 0x47a
jmp 0x590401
xor eax, eax
push 0
push 0
push 0x47e
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push str.heart_beat_second
push ebx
call fcn.0044e230
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x11
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590437
mov eax, 0x258
jmp 0x590441
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, dword [ebp - 0x4c]
mov dword [esi + 0x60], eax
mov ecx, dword [0x641030]
add ecx, 0x210
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0x78
mov edi, 0x64
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, esp
mov dword [ebp + 0xc], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
call fcn.004ec3c0
mov dword [esi], eax
add esp, 4
add esi, 4
dec edi
jne 0x590462
mov edx, dword [0x641030]
mov eax, dword [edx + 0x208]
lea ecx, [edx + 0x208]
call dword [eax + 0x1c]
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x40]
neg al
sbb eax, eax
mov byte [ebp - 4], 0xf
add eax, 4
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8