Function at 0x48ea95
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x148
mov eax, 0x4d4fb8
call fcn.004cbc99
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x124], edi
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x120]
push edi
inc ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCR80.dll_memset
push 0xff
lea eax, [ebp - 0x10f]
push edi
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x138]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push 0x100
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x48eb56
cmp esi, edi
je 0x48eb25
mov dword [esi], edi
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
mov dword [ebp - 0x124], ebx
jmp 0x48ee34
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x138]
call fcn.0046cb90
lea ecx, [ebp - 0x138]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x150], ebx
jne 0x48ebc1
cmp esi, edi
je 0x48eb8c
mov dword [esi], edi
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
mov dword [ebp - 0x124], 1
jmp 0x48ee34
mov eax, dword [ebx + 0xc]
xor edx, edx
mov ecx, eax
cmp dword [ecx], edi
je 0x48ebd2
inc edx
add ecx, 4
jmp 0x48ebc8
cmp edx, 1
jle 0x48edda
mov eax, dword [0x52d1a0]
cmp eax, edi
mov dword [ebp - 0x13c], edi
je 0x48ebf0
mov dword [ebp - 0x13c], eax
push 5
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x140], edi
pop esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x140]
add eax, ecx
cmp dword [eax], edi
je 0x48ed9d
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x11c], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x12c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_char_const__
push 1
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 2
push 0x4e07d8
push eax
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x48ecc9
push 3
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x12c]
call sym.QQProtectUpd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 4
push 0x4ef158
push eax
mov dword [ebp - 4], esi
call sym.QQProtectUpd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x48ecc9
push 3
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x12c]
call sym.QQProtectUpd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 8
push 0x4ef154
push eax
mov dword [ebp - 4], 6
call sym.QQProtectUpd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x48ecc9
xor bl, bl
jmp 0x48eccb
mov bl, 1
test byte [ebp - 0x124], 8
mov dword [ebp - 4], esi
je 0x48ece9
and dword [ebp - 0x124], 0xfffffff7
lea ecx, [ebp - 0x14c]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test byte [ebp - 0x124], 4
mov dword [ebp - 4], 4
je 0x48ed0b
and dword [ebp - 0x124], 0xfffffffb
lea ecx, [ebp - 0x154]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test byte [ebp - 0x124], 2
mov dword [ebp - 4], 3
je 0x48ed2d
and dword [ebp - 0x124], 0xfffffffd
lea ecx, [ebp - 0x148]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test bl, bl
jne 0x48edb9
cmp dword [ebp - 0x134], edi
jne 0x48ed5b
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x128]
call fcn.0046c813
cmp dword [ebp - 0x13c], edi
jbe 0x48ed8e
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp - 0x11c]
je 0x48edb1
cmp eax, dword [ebp - 0x13c]
je 0x48edb9
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x128]
call fcn.0046c813
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, dword [ebp - 0x144]
cmp eax, edi
je 0x48ee07
mov ecx, dword [ebp - 0x134]
mov dword [eax], ecx
jmp 0x48ee07
cmp eax, dword [ebp - 0x13c]
je 0x48ed76
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
add dword [ebp - 0x140], 4
mov ebx, dword [ebp - 0x150]
jmp 0x48ebff
cmp dword [eax], edi
je 0x48edfb
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x11c], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x128]
call fcn.0046cb90
cmp esi, edi
je 0x48ee07
mov eax, dword [ebp - 0x11c]
mov dword [esi], eax
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
or dword [ebp - 0x124], 1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, dword [ebp - 0x130]
call fcn.004cbd1c
ret