Function at 0x14008a560
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
lea edx, [r12 + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14007b800
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], reloc.WS2_32.dll_shutdown
mov qword [rbp - 0x78], 0x1f
movups xmm0, xmmword [str.Core_Network_on_start_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402d1080]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1402d1084]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], r12b
lea rcx, [rsp + 0x70]
call fcn.140086c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008a63c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a637
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b102
call fcn.14029591c
mov qword [rsp + 0x30], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14008a7fe
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140089a40
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1e
jb 0x14008a710
lea rax, [r8 + 0x1e]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x14008a6a4
mov rdi, qword [rbx]
lea rax, [0x1402d10a6]
mov r15d, 0x1e
lea r14, str.WSAStartup_failed_with_error:
cmp rax, rdi
jbe 0x14008a6d8
lea rax, [rdi + r8]
cmp r14, rax
ja 0x14008a6d8
cmp rdi, r14
ja 0x14008a6d0
mov rsi, r12
jmp 0x14008a6db
mov rsi, rdi
sub rsi, r14
jmp 0x14008a6db
mov rsi, r15
lea rcx, [rdi + 0x1e]
inc r8
mov rdx, rdi
call fcn.140296c90
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.140296c90
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r14 + 0x1e]
add rdx, rsi
mov r8, r15
call fcn.140296c90
jmp 0x14008a73b
mov r15d, 0x1e
mov qword [rsp + 0x28], r15
lea r14, str.WSAStartup_failed_with_error:
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.14007ddd0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rcx, [rsp + 0x70]
call fcn.140086c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008a7b1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a7ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b108
call fcn.14029591c
movdqa xmm0, xmmword [0x1402d09c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008a7fe
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a7f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b10e
call fcn.14029591c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x3c], 2
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 6
mov dword [rsp + 0x38], 1
mov edx, dword [0x1403bc074]
lea rcx, [rbp - 0x70]
call fcn.140089a40
cmp qword [rax + 0x18], 0x10
jb 0x14008a849
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008a89b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a896
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b114
call fcn.14029591c
test ebx, ebx
je 0x14008aa40
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.140089a40
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x24
jb 0x14008a949
lea rax, [r8 + 0x24]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x14008a8dd
mov rdi, qword [rbx]
lea rax, [0x1402d10cc]
mov r15d, 0x24
lea r14, str._Core__addr_info_failed_with_error:
cmp rax, rdi
jbe 0x14008a911
lea rax, [rdi + r8]
cmp r14, rax
ja 0x14008a911
cmp rdi, r14
ja 0x14008a909
mov rsi, r12
jmp 0x14008a914
mov rsi, rdi
sub rsi, r14
jmp 0x14008a914
mov rsi, r15
lea rcx, [rdi + 0x24]
inc r8
mov rdx, rdi
call fcn.140296c90
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.140296c90
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r14 + 0x24]
add rdx, rsi
mov r8, r15
call fcn.140296c90
jmp 0x14008a974
mov r15d, 0x24
mov qword [rsp + 0x28], r15
lea r14, str._Core__addr_info_failed_with_error:
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.14007ddd0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rcx, [rsp + 0x70]
call fcn.140086c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008a9ea
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a9e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b11a
call fcn.14029591c
movdqa xmm0, xmmword [0x1402d09c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008ac16
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aa36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b120
call fcn.14029591c
jmp 0x14008ac16
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14008ab2b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140089a40
nop
mov r8, rax
lea rdx, str._Core__socket_failed_with_error:
lea rcx, [rsp + 0x70]
call fcn.140089f10
nop
mov rcx, rax
call fcn.140086c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008aace
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aac9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b126
call fcn.14029591c
movdqa xmm0, xmmword [0x1402d09c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008ab1b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ab16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b12c
call fcn.14029591c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x14008ac16
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14008ac4c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140089a40
nop
mov r8, rax
lea rdx, str._Core__bind_failed_with_error:
lea rcx, [rsp + 0x70]
call fcn.140089f10
nop
mov rcx, rax
call fcn.140087e20
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008abb6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008abb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b132
call fcn.14029591c
movdqa xmm0, xmmword [0x1402d09c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008ac03
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008abfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b138
call fcn.14029591c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, r14
call fcn.14008e0c0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1402959c0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, 0x7fffffff
mov rcx, r14
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x14008ad24
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140089a40
nop
mov r8, rax
lea rdx, str._Core__listen_failed_with_error:
lea rcx, [rsp + 0x70]
call fcn.140089f10
nop
mov rcx, rax
call fcn.140086c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008accf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008acca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b13e
call fcn.14029591c
movdqa xmm0, xmmword [0x1402d09c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008ac03
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008abfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b0f6
jmp 0x14008abfe
lea r13, [0x1402d1161]
lea r15, str._Core__accept_failed_with_error:
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_accept]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14008aed4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140089a40
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x21
jb 0x14008ade6
lea rax, [r8 + 0x21]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x14008ad89
mov rdi, qword [rbx]
cmp r13, rdi
jbe 0x14008ada9
lea rax, [rdi + r8]
cmp r15, rax
ja 0x14008ada9
cmp rdi, r15
ja 0x14008ada1
mov rsi, r12
jmp 0x14008adae
mov rsi, rdi
sub rsi, r15
jmp 0x14008adae
mov esi, 0x21
lea rcx, [rdi + 0x21]
inc r8
mov rdx, rdi
call fcn.140296c90
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.140296c90
lea rcx, [rdi + rsi]
mov r8d, 0x21
sub r8, rsi
lea rdx, [r15 + 0x21]
add rdx, rsi
call fcn.140296c90
jmp 0x14008ae09
mov qword [rsp + 0x28], 0x21
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x21]
mov rcx, rbx
call fcn.14007ddd0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rcx, [rsp + 0x70]
call fcn.140087e20
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008ae7f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ae7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b144
call fcn.14029591c
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14008ad32
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aeca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b14a
call fcn.14029591c
jmp 0x14008ad32
mov r8d, 1
lea rdx, [0x1402d0c24]
lea rcx, [0x1403bc078]
call fcn.1400817c0
mov r8d, 7
lea rdx, str.Ulstart
lea rcx, [0x1403bc098]
call fcn.1400817c0
mov rdi, qword [0x1403c66d8]
test rdi, rdi
je 0x14008af72
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
mov rdx, rdi
mov rcx, rdi
call fcn.14008a040
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rdi + 8], r12
mov rbx, qword [0x1403c66d8]
test rbx, rbx
je 0x14008af6b
mov r8, qword [rbx]
mov r8, qword [r8 + 8]
mov rdx, rbx
mov rcx, rbx
call fcn.14008a040
mov edx, 0x40
mov rcx, qword [rbx]
call fcn.14029591c
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.14029591c
mov qword [0x1403c66d8], r12
mov ecx, reloc.WS2_32.dll_recv
call fcn.1402958e0
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14008afb0
mov qword [rax], r12
mov qword [rax + 8], r12
mov ecx, 0x40
call fcn.1402958e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x14008afb3
mov rbx, r12
mov qword [0x1403c66d8], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Game_Connected_]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1402d1170]
mov dword [rsp + 0x78], eax
movzx eax, word [0x1402d1174]
mov word [rsp + 0x7c], ax
movzx eax, byte [0x1402d1176]
mov byte [rsp + 0x7e], al
lea rcx, [rsp + 0x70]
call fcn.1400890f0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008b048
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b0f0
call fcn.14029591c
mov rcx, rsi
call fcn.14008b180
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.14007b800
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], reloc.WS2_32.dll_sendto
mov qword [rbp - 0x78], 0x1f
movups xmm0, xmmword [str.Game_Reconnecting...]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402d1188]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rsp + 0x70]
call fcn.140089b80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14008b0e2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b0dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b0fc
call fcn.14029591c
test rsi, rsi
je 0x14008ac0e
jmp 0x14008ad32
call fcn.14029ca04
int3
call fcn.14029ca04
int3
call fcn.14029ca04
int3
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
int3
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
nop
call fcn.14029ca04
int3