Function at 0x4e68b4
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x148
mov eax, 0x597541
call fcn.00584fd1
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.txupd.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.txupd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x4e6975
cmp esi, edi
je 0x4e6944
mov dword [esi], edi
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
mov dword [ebp - 0x124], ebx
jmp 0x4e6c53
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x138]
call fcn.004b5dc3
lea ecx, [ebp - 0x138]
call sym.txupd.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 0x4e69e0
cmp esi, edi
je 0x4e69ab
mov dword [esi], edi
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
mov dword [ebp - 0x124], 1
jmp 0x4e6c53
mov eax, dword [ebx + 0xc]
xor edx, edx
mov ecx, eax
cmp dword [ecx], edi
je 0x4e69f1
inc edx
add ecx, 4
jmp 0x4e69e7
cmp edx, 1
jle 0x4e6bf9
mov eax, dword [0x61163c]
cmp eax, edi
mov dword [ebp - 0x13c], edi
je 0x4e6a0f
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 0x4e6bbc
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.txupd.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.txupd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 2
push 0x5b09b8
push eax
mov byte [ebp - 4], 4
call sym.txupd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x4e6ae8
push 3
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x12c]
call sym.txupd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 4
push 0x5ba47c
push eax
mov dword [ebp - 4], esi
call sym.txupd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x4e6ae8
push 3
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x12c]
call sym.txupd.exe_public:_class_CTXStringA___thiscall_CTXStringA::Left_int_
or dword [ebp - 0x124], 8
push 0x5ba478
push eax
mov dword [ebp - 4], 6
call sym.txupd.exe_bool___cdecl_operator_class_CTXStringA_const___char_const__
test al, al
pop ecx
pop ecx
jne 0x4e6ae8
xor bl, bl
jmp 0x4e6aea
mov bl, 1
test byte [ebp - 0x124], 8
mov dword [ebp - 4], esi
je 0x4e6b08
and dword [ebp - 0x124], 0xfffffff7
lea ecx, [ebp - 0x14c]
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test byte [ebp - 0x124], 4
mov dword [ebp - 4], 4
je 0x4e6b2a
and dword [ebp - 0x124], 0xfffffffb
lea ecx, [ebp - 0x154]
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test byte [ebp - 0x124], 2
mov dword [ebp - 4], 3
je 0x4e6b4c
and dword [ebp - 0x124], 0xfffffffd
lea ecx, [ebp - 0x148]
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
test bl, bl
jne 0x4e6bd8
cmp dword [ebp - 0x134], edi
jne 0x4e6b7a
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x128]
call fcn.004b5a46
cmp dword [ebp - 0x13c], edi
jbe 0x4e6bad
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp - 0x11c]
je 0x4e6bd0
cmp eax, dword [ebp - 0x13c]
je 0x4e6bd8
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x128]
call fcn.004b5a46
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, dword [ebp - 0x144]
cmp eax, edi
je 0x4e6c26
mov ecx, dword [ebp - 0x134]
mov dword [eax], ecx
jmp 0x4e6c26
cmp eax, dword [ebp - 0x13c]
je 0x4e6b95
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
add dword [ebp - 0x140], 4
mov ebx, dword [ebp - 0x150]
jmp 0x4e6a1e
cmp dword [eax], edi
je 0x4e6c1a
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.004b5dc3
cmp esi, edi
je 0x4e6c26
mov eax, dword [ebp - 0x11c]
mov dword [esi], eax
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x128]
call sym.txupd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
push dword [ebp - 0x130]
call sym.txupd.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.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, dword [ebp - 0x130]
call fcn.00585054
ret