Function at 0x1400d6150
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x700
mov qword [rax - 0x680], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov rax, qword [rcx + 0x20]
mov rdx, qword [rax + 0xb0]
mov r10, qword [rcx]
lea rax, [rdx + 0xbcb0]
lea rcx, [rdx + 0xbbac]
lea r9, [rdx + 0xbaa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov eax, dword [rdx + 0xbba8]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xbba4]
mov dword [rsp + 0x20], eax
lea r8, str.InitPushClient:_Initializing_UDP_client_to__s_on_Port:__d__AltIP:__d___s____s
mov edx, 3
mov rcx, rdi
call qword [r10 + reloc.WS2_32.dll_recv]
xor ecx, ecx
call fcn.1401541c8
mov r12, rax
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov r15d, r14d
mov dword [rsp + 0x40], r14d
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xc0]
call fcn.140141ad0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x1d0]
call fcn.140141ad0
mov rcx, rdi
call fcn.1400d6c80
mov edx, 0x104
lea rcx, [rsp + 0x1d0]
test al, al
je 0x1400d624b
lea r8, [rdi + 0x2c8]
jmp 0x1400d625d
mov rax, qword [rdi + 0x20]
mov r8, qword [rax + 0xb0]
add r8, 0xbaa0
call fcn.140156f18
mov dword [rdi + 0x258], r14d
mov byte [rsp + 0xa0], r14b
xor eax, eax
mov qword [rsp + 0xa1], rax
mov qword [rsp + 0xa9], rax
mov qword [rsp + 0xb1], rax
mov dword [rsp + 0xb9], eax
mov word [rsp + 0xbd], ax
mov byte [rsp + 0xbf], al
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0xb0]
mov r9d, dword [rcx + 0xbba4]
lea r8, [0x140216f18]
mov edx, 0x1f
lea rcx, [rsp + 0xa0]
call fcn.14005ac50
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x70], 2
cmp byte [rsp + 0x1d0], al
je 0x1400d648d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x1d0]
call fcn.1400fac70
lea r9, [rdi + 0x250]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r15d, 1
mov dword [rsp + 0x40], r15d
mov r10, qword [rdi]
mov rax, qword [rdi + 0x250]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, str.InfoPush::InitPushClient
lea r8, str._s___Resolved__s____p__
lea edx, [r15 + 3]
mov rcx, rdi
call qword [r10 + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x250]
test rcx, rcx
jne 0x1400d63b6
mov rbx, qword [rdi]
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xc0]
lea r8, str.InitPushClient:_CCS_Host_getaddrinfo_Failed__s__WSAErr:__d____
xor edx, edx
mov rcx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
jmp 0x1400d6494
mov rax, qword [rdi]
mov qword [rsp + 0x20], rcx
lea r9, str.InfoPush::InitPushClient
lea r8, str._s___HostEntEntry___AddrInfo___p_
mov edx, 4
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov ebx, r14d
mov dword [rsp + 0x44], ebx
mov rsi, qword [rdi + 0x250]
test rsi, rsi
je 0x1400d6477
xor edx, edx
mov r8d, 0x401
lea rcx, [rsp + 0x2e0]
call fcn.140141ad0
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0x401
lea r8, [rsp + 0x2e0]
mov edx, dword [rsi + 0x10]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400d6463
mov rax, qword [rdi]
lea rcx, [rsp + 0x2e0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0xc0]
lea r8, str.InitPushClient:_CCS_Host_resolve__s___d___s
mov edx, 3
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
inc ebx
mov dword [rsp + 0x44], ebx
cmp ebx, 5
jge 0x1400d6477
mov rsi, qword [rsi + 0x28]
jmp 0x1400d63e6
jmp 0x1400d6494
mov qword [rdi + 0x250], r14
cmp qword [rdi + 0x250], 0
jne 0x1400d6611
mov rcx, rdi
call fcn.1400d6c80
test al, al
jne 0x1400d6611
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0xb0]
cmp dword [rcx + 0xbba8], 0
je 0x1400d6611
lea rax, [rcx + 0xbbac]
mov qword [rsp + 0x50], rax
lea rax, [rcx + 0xbcb0]
mov qword [rsp + 0x58], rax
mov esi, r14d
mov dword [rsp + 0x48], r14d
nop word [rax + rax]
movsxd rbx, esi
cmp rbx, 2
jae 0x1400d6611
mov rbx, qword [rsp + rbx*8 + 0x50]
cmp byte [rbx], 0
jne 0x1400d650c
jmp 0x1400d6606
mov dl, 1
mov rcx, rbx
call fcn.1400f63f0
test eax, eax
je 0x1400d6606
mov r8d, 4
lea rdx, str.127.
mov rcx, rbx
call fcn.140158bfc
test eax, eax
jne 0x1400d655d
mov rax, qword [rdi]
mov qword [rsp + 0x20], rbx
lea r9, str.InfoPush::InitPushClient
lea r8, str._s___Skipping_loopback_alternate_IP_address___s_
mov edx, 2
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400d6606
lea rcx, [rsp + 0xc0]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400d6570
mov rax, qword [rdi]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x20], rcx
lea r9, str.InfoPush::InitPushClient
lea r8, str._s___Reverting_to_IP_Addr___s_
mov edx, 2
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
lea r9, [rdi + 0x250]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r15d, 2
mov dword [rsp + 0x40], r15d
mov r10, qword [rdi]
mov rax, qword [rdi + 0x250]
mov qword [rsp + 0x20], rax
lea r9, str.InfoPush::InitPushClient
lea r8, str._s___Addr___AddrInfo___p_
lea edx, [r15 + 2]
mov rcx, rdi
call qword [r10 + reloc.WS2_32.dll_recv]
cmp qword [rdi + 0x250], 0
jne 0x1400d6611
inc esi
mov dword [rsp + 0x48], esi
jmp 0x1400d64f0
mov ecx, reloc.WSOCK32.dll_WSASetLastError
call fcn.1400dba80
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400d6630
mov rcx, rax
call fcn.1400f6ee0
mov r14, rax
mov qword [rdi + 0x260], r14
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0xb0]
mov eax, dword [rcx + 0xbba4]
test eax, eax
je 0x1400d6650
mov dword [r14 + 0x28], eax
xor ecx, ecx
call fcn.1401541c8
mov rsi, rax
cmp qword [rdi + 0x250], 0
jne 0x1400d6697
mov rbx, qword [rdi]
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
sub rsi, r12
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xc0]
lea r8, str.InitPushClient:_CCS_Host_Initialize_Failed__s_in__d_secs__WSAErr:__d____d____
xor edx, edx
mov rcx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
jmp 0x1400d66d8
mov r10, qword [rdi]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0xb0]
sub rsi, r12
mov dword [rsp + 0x30], r15d
mov eax, dword [rcx + 0xbba4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xc0]
lea r8, str.InitPushClient:_CCS_Host_Initialize_Success__s_in__d_secs_on_Port:__d___d_
mov edx, 3
mov rcx, rdi
call qword [r10 + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret