Function at 0x180074220
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x588
movaps xmmword [rsp + 0x570], xmm6
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x180128a08]
xor rax, rsp
mov qword [rsp + 0x568], rax
lea r12, [rsp + 0x360]
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
mov r8d, 0x200
xor edx, edx
call fcn.1800fcb10
lea rax, [rsp + 0x260]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
movaps xmmword [rax], xmm6
movaps xmmword [rax + 0x10], xmm6
movaps xmmword [rax + 0x20], xmm6
movaps xmmword [rax + 0x30], xmm6
movaps xmmword [rax + 0x40], xmm6
movaps xmmword [rax + 0x50], xmm6
movaps xmmword [rax + 0x60], xmm6
movaps xmmword [rax + 0x70], xmm6
movaps xmmword [rax + 0x80], xmm6
movaps xmmword [rax + 0x90], xmm6
movaps xmmword [rax + 0xa0], xmm6
movaps xmmword [rax + 0xb0], xmm6
movaps xmmword [rax + 0xc0], xmm6
movaps xmmword [rax + 0xd0], xmm6
movaps xmmword [rax + 0xe0], xmm6
movaps xmmword [rax + 0xf0], xmm6
lea r14, [rsp + 0xb4]
mov qword [rsp + 0x60], r14
add rdi, 0x10
mov ecx, 0x7caead2c
lea rsi, [rsp + 0x250]
lea r13, [rsp + 0xb8]
jmp 0x180074330
mov rcx, qword [rsp + 0x88]
mov edx, 2
mov r8d, 0x3e9
call fcn.1800d6df0
mov ecx, 0x97b91036
xor ebp, ebp
nop
cmp ecx, 0x3b89c7f
jle 0x180074380
cmp ecx, 0x60b6f99e
jg 0x180074400
cmp ecx, 0x38d3780b
jg 0x1800744a8
cmp ecx, 0x3b89c80
je 0x180074599
cmp ecx, 0x12c45271
je 0x1800745ca
cmp ecx, 0x25ff433c
jne 0x180074330
mov ecx, 0x97b91036
mov ebp, 1
jmp 0x180074330
cmp ecx, 0xd3e14947
jle 0x180074440
cmp ecx, 0xe84edbac
jg 0x180074501
cmp ecx, 0xd3e14948
je 0x1800745ec
cmp ecx, 0xe4642a87
je 0x18007467a
cmp ecx, 0xe4b676eb
jne 0x180074330
movzx ecx, word [rsp + 0x46]
call sub.WS2_32.dll_htons
mov word [rsp + 0x252], ax
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov r8d, 0x10
call sub.WS2_32.dll_connect
mov ecx, 0xe4642a87
cmp eax, 0xffffffff
je 0x180074330
mov ecx, 0x42d10cca
jmp 0x180074330
cmp ecx, 0x7caead2b
jg 0x18007452f
cmp ecx, 0x60b6f99f
je 0x18007468c
cmp ecx, 0x7224fa6f
je 0x1800746a9
cmp ecx, 0x72df476e
je 0x180074328
jmp 0x180074330
cmp ecx, 0xc0933fdd
jle 0x180074562
cmp ecx, 0xc0933fde
je 0x1800746ca
cmp ecx, 0xd0582ac2
je 0x1800746e9
cmp ecx, 0xd342def2
jne 0x180074330
mov rax, qword [rsp + 0x58]
cmp rax, 0xffffffffffffffff
sete byte [rsp + 0x45]
mov ecx, dword [0x180129800]
mov eax, dword [0x180129804]
lea ebx, [rcx - 1]
imul ebx, ecx
mov edx, 0x7e2a5b8c
mov ecx, 0x7e2a5b8c
test bl, 1
jne 0x1800745ba
jmp 0x1800745bf
cmp ecx, 0x38d3780c
je 0x1800746fb
cmp ecx, 0x42d10cca
je 0x180074710
cmp ecx, 0x4c242e4c
jne 0x180074330
mov rax, qword [rsp + 0x98]
mov word [rax], 2
mov rcx, qword [rsp + 0x78]
call sub.WS2_32.dll_inet_addr
mov dword [rsp + 0x254], eax
movzx eax, word [rsp + 0xb4]
mov word [rsp + 0x46], ax
mov ecx, 0xe4b676eb
jmp 0x180074330
cmp ecx, 0xe84edbad
je 0x180074722
cmp ecx, 0xeb481b1d
je 0x180074310
cmp ecx, 0xedf1e866
jne 0x180074330
mov ecx, 0x3b89c80
jmp 0x180074330
cmp ecx, 0x7ede5ae9
je 0x180074734
cmp ecx, 0x7e2a5b8c
je 0x180074743
cmp ecx, 0x7caead2c
jne 0x180074330
mov rax, qword [rsp + 0x60]
mov ecx, 0xd3e14948
jmp 0x180074330
cmp ecx, 0xa7063eba
je 0x180074328
cmp ecx, 0xa86e51c8
jne 0x18007475d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
mov edx, 2
call fcn.1800d76b0
mov ecx, 0xa7063eba
jmp 0x180074330
mov ecx, dword [0x180129800]
mov eax, dword [0x180129804]
lea ebx, [rcx - 1]
imul ebx, ecx
mov edx, 0xd342def2
mov ecx, 0xd342def2
test bl, 1
je 0x1800745bf
mov ecx, 0x7ede5ae9
cmp eax, 0xa
cmovl ecx, edx
jmp 0x180074330
mov rcx, qword [rsp + 0x90]
mov edx, 2
mov r8d, 0x3e9
call fcn.1800d6df0
mov ecx, 0x72df476e
jmp 0x180074330
mov dword [rsp + 0xb4], 0
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], r13
mov rax, qword [rsp + 0x70]
mov rcx, r15
lea rdx, str._s__d
mov r8, r12
mov r9, r14
call fcn.180093760
lea rax, [rsp + 0x260]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movups xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x100
xor ecx, ecx
xor edx, edx
mov r8, r12
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov cx, 0x202
mov rdx, r13
call sub.WS2_32.dll_WSAStartup
mov ecx, 0x7224fa6f
test eax, eax
je 0x180074330
mov ecx, 0xe84edbad
jmp 0x180074330
mov qword [rsp + 0xa0], rdi
mov ecx, 0xa86e51c8
jmp 0x180074330
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov ecx, 0xeb481b1d
jmp 0x180074330
mov ecx, 2
mov edx, 1
xor r8d, r8d
call sub.WS2_32.dll_socket
mov qword [rsp + 0x58], rax
mov ecx, 0xedf1e866
jmp 0x180074330
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov edx, 2
call fcn.1800d7210
mov ecx, 0x25ff433c
jmp 0x180074330
mov qword [rsp + 0x98], rsi
mov ecx, 0x4c242e4c
jmp 0x180074330
mov rax, qword [rdi]
mov qword [rsp + 0x90], rax
mov ecx, 0x12c45271
jmp 0x180074330
mov qword [rsp + 0xa8], rdi
mov ecx, 0xc0933fde
jmp 0x180074330
mov qword [rsp + 0x80], rdi
mov ecx, 0x60b6f99f
jmp 0x180074330
mov rax, qword [rsp + 0x58]
mov ecx, 0xd342def2
jmp 0x180074330
cmp byte [rsp + 0x45], 0
mov ecx, 0x38d3780c
jne 0x180074330
mov ecx, 0xd0582ac2
jmp 0x180074330
cmp ecx, 0x97b91036
jne 0x180074330
mov rax, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x568]
xor rcx, rsp
call fcn.1800fabf0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x570]
add rsp, 0x588
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret