Function at 0x140083bd0
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1402ab7e8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r10, r8
mov rax, rdx
mov rdi, rcx
xor r15d, r15d
cmp byte [rcx + 0x198], r15b
je 0x140083d25
movabs rax, 0xcf735055e379581c
mov qword [rbp - 0x79], rax
movabs rax, 0xcd7c115657fb1806
mov qword [rbp - 0x71], rax
movabs rcx, 0xcf735007ac2b0a59
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x79]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movabs rdx, 0xef07206ac95f7e38
mov qword [rbp - 9], rdx
movabs rdx, 0xa8127f3934db7772
mov qword [rbp - 1], rdx
movabs rdx, 0x8d43bef19ba974e8
mov qword [rbp + 7], rdx
movabs rdx, 0x3d33ca07a9c07e68
mov qword [rbp + 0xf], rdx
movabs rdx, 0xd9e1ed757f7dc50e
mov qword [rbp + 0x17], rdx
movabs rdx, 0xa17ddd6f17fbfeb9
mov qword [rbp + 0x1f], rdx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movabs rax, 0xe82fd799ec89008b
mov qword [rbp - 0x29], rax
movabs rdx, 0x585da468cae01f48
mov qword [rbp - 0x21], rdx
movabs rax, 0xb896cd1b1014b16d
mov qword [rbp - 0x19], rax
movabs r8, 0xa17db30a6794deca
mov qword [rbp - 0x11], r8
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [rbp + 7]
pxor xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [rbp + 0x17]
pxor xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400842bf
cmp qword [rcx + 0x370], r15
jne 0x140083e3e
movabs rax, 0xcf735055e379581c
mov qword [rbp - 0x79], rax
movabs rax, 0xcd7c115657fb1806
mov qword [rbp - 0x71], rax
movabs rcx, 0xcf735007ac2b0a59
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x79]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movabs rdx, 0xbc1a7062de4e622d
mov qword [rbp - 9], rdx
movabs rdx, 0xae13632677947626
mov qword [rbp - 1], rdx
movabs rdx, 0x8b0fb0f785fa73ee
mov qword [rbp + 7], rdx
movabs rdx, 0x7836c709a88c7329
mov qword [rbp + 0xf], rdx
movabs rdx, 0xb896cd1b1060d41e
mov qword [rbp + 0x17], rdx
movabs r8, 0xa17db30a6794deca
mov qword [rbp + 0x1f], r8
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movabs rax, 0xe82fd799ec89008b
mov qword [rbp - 0x29], rax
movabs rdx, 0x585da468cae01f48
mov qword [rbp - 0x21], rdx
movabs rax, 0xb896cd1b1014b16d
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r8
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [rbp + 7]
pxor xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [rbp + 0x17]
pxor xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400842bf
mov dword [rbp - 0x69], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov qword [rsp + 0x30], r15
mov dword [rbp - 0x65], 2
mov dword [rbp - 0x5d], 6
mov ebx, 1
mov dword [rbp - 0x61], ebx
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x69]
mov rdx, qword [r10]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140083f4f
movabs rax, 0xcf735055e379581c
mov qword [rbp - 0x79], rax
movabs rax, 0xcd7c115657fb1806
mov qword [rbp - 0x71], rax
movabs rcx, 0xcf735007ac2b0a59
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x79]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movabs rdx, 0xa6013463cd5f6f3e
mov qword [rbp - 9], rdx
movabs rdx, 0xa20e633377947e68
mov qword [rbp - 1], rdx
movabs rdx, 0xe82fd799ec8900f9
mov qword [rbp + 7], rdx
movabs rdx, 0x585da468cae01f48
mov qword [rbp + 0xf], rdx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movabs rax, 0xe82fd799ec89008b
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdx
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [rbp + 7]
pxor xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 7], xmm1
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400842bf
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 qword [rdi + 0x1a0], rax
cmp rax, 0xffffffffffffffff
jne 0x140084045
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movabs rax, 0xcf735055e379581c
mov qword [rbp - 0x79], rax
movabs rax, 0xcd7c115657fb1806
mov qword [rbp - 0x71], rax
movabs rcx, 0xcf735007ac2b0a59
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x79]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movabs rdx, 0xbb533462c0426b3f
mov qword [rbp - 9], rdx
movabs rdx, 0xa808703325983869
mov qword [rbp - 1], rdx
movabs rdx, 0xe85bb2f28fe673ab
mov qword [rbp + 7], rdx
movabs rdx, 0x585da468cae01f48
mov qword [rbp + 0xf], rdx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movabs rax, 0xe82fd799ec89008b
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdx
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [rbp + 7]
pxor xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 7], xmm1
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400842bf
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, qword [rsp + 0x30]
cmp eax, 0xffffffff
jne 0x1400840f7
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movabs rax, 0xcf735055e379581c
mov qword [rbp - 0x79], rax
movabs rax, 0xcd7c115657fb1806
mov qword [rbp - 0x71], rax
movabs rcx, 0xcf735007ac2b0a59
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x79]
pxor xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movabs rdx, 0xa6532262da596f2a
mov qword [rbp - 0x39], rdx
movabs rdx, 0xcd7c7f21389f3875
mov qword [rbp - 0x31], rdx
mov qword [rbp - 9], rcx
mov qword [rbp - 1], rax
movdqa xmm0, xmmword [rbp - 0x39]
pxor xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x39], xmm0
xor r9d, r9d
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x39]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400842bf
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rdi + 0x1a8]
call fcn.14009f090
mov rsi, rax
mov edx, dword [rdi + 0x1a0]
mov rcx, rax
call fcn.14009f9c0
mov rcx, rsi
call fcn.14009e230
mov dword [rbp - 0x75], 0x10001
mov dword [rbp - 0x71], recv
mov dword [rbp - 0x79], 0xdeadbeef
mov ebx, r15d
nop word [rax + rax]
mov r8d, recv
sub r8d, ebx
mov eax, ebx
lea rdx, [rbp - 0x79]
add rdx, rax
mov rcx, rsi
call fcn.14009fb30
test eax, eax
jle 0x1400842b5
add ebx, eax
cmp ebx, 0xc
jb 0x140084140
mov ebx, r15d
mov rax, r15
nop
mov r8d, recv
sub r8d, ebx
lea rdx, [rbp - 0x79]
add rdx, rax
mov rcx, rsi
call fcn.14009f630
test eax, eax
jle 0x1400842b5
add ebx, eax
movsxd rax, ebx
cmp rax, 0xc
jb 0x140084170
cmp word [rbp - 0x73], 2
jne 0x1400842b5
cmp word [rbp - 0x75], 1
jne 0x1400842b5
cmp dword [rbp - 0x71], 0xc
jne 0x1400842b5
cmp dword [rbp - 0x79], 0xdeadbeef
jne 0x1400842b5
lea rcx, [rdi + 0x1b0]
lea r8, [rdi + 0x1a0]
lea rdx, [rbp - 9]
call fcn.140085390
mov rcx, qword [rax]
mov qword [rcx + 0x18], rsi
mov byte [rdi + 0x198], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400e0328
mov qword [rax], rdi
lea rcx, [0x140084a70]
mov qword [rax + 8], rcx
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140085940]
xor edx, edx
xor ecx, ecx
call fcn.1400ef328
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400842e4
cmp dword [rdi + 0x380], 0
jne 0x140084308
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
movups xmmword [rdi + 0x378], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400e0328
mov qword [rax], rdi
lea rcx, [0x140084c70]
mov qword [rax + 8], rcx
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140085940]
xor edx, edx
xor ecx, ecx
call fcn.1400ef328
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400842f9
cmp dword [rdi + 0x390], 0
jne 0x1400842f3
movaps xmm1, xmmword [rbp - 0x39]
movups xmmword [rdi + 0x388], xmm1
mov al, 1
jmp 0x1400842c1
xor edx, edx
mov rcx, rdi
call fcn.140084740
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400e0300
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x31], r15d
mov ecx, 6
call fcn.1400dfb48
nop
call fcn.1400ef410
nop
mov dword [rbp - 0x31], r15d
mov ecx, 6
call fcn.1400dfb48
nop
call fcn.1400ef410
int3