Function at 0x44f490
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3df6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x56b114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x100
push 0
push eax
call fcn.004c5d00
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x44f6c6
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44f6c6
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x44f6c6
push 4
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004c63e0
add esp, 0xc
push dword [ebp - 0x144]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x118], 0
mov ecx, edx
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f552
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.0040e340
mov dword [ebp - 4], 0
cmp dword [ebp - 0x118], 0
je 0x44f690
push 0x516090
lea ecx, [ebp - 0x140]
call fcn.0040dc30
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.0040ddb0
call sym.R2ClientInstall.exe_public:_static_bool___cdecl_CCharacterConversion::AnsiToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 0x1c
test al, al
je 0x44f654
mov edi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x140]
cmp edi, 8
cmovae ecx, edx
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x44f5d2
cmp edi, 8
jb 0x44f616
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44f60c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6e3
push ecx
push edx
call fcn.004c3d01
add esp, 8
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x44f650
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6e8
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov al, 1
jmp 0x44f6c8
mov edx, dword [ebp - 0x12c]
cmp edx, 8
jb 0x44f690
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6ed
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x44f6c6
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f6bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6f2
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c360c
mov esp, ebp
pop ebp
ret
call fcn.004cac9c
call fcn.004cac9c
call fcn.004cac9c
call fcn.004cac9c
int3