Function at 0x1400743df
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov r12, r8
mov rsi, rdx
mov rbp, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x140074458
cmp eax, 3
jne 0x140074c05
lea r14, [rsi + 0x70]
lea rdi, [rsi + 0x30]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x140074511
cmp eax, 3
jne 0x140074c05
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov r8, r12
call fcn.1400c80dd
mov al, byte [rbx + 9]
cmp al, 3
jne 0x1400747cc
mov byte [r14], 3
jmp 0x140074b02
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x50], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x40], xmm0
je 0x140074530
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx r9d, word [rsi + 0x1c]
mov r8, qword [rsp + 0x42]
mov r10d, dword [rsp + 0x4a]
movzx r11d, word [rsp + 0x4e]
movzx edi, word [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0xac], xmm0
movups xmmword [rsp + 0xbc], xmm0
movups xmmword [rsp + 0xcc], xmm0
and dword [rsp + 0x10c], 0
movups xmmword [rsp + 0xdc], xmm0
movups xmmword [rsp + 0xec], xmm0
rol r9w, 8
movups xmmword [rsp + 0xfc], xmm0
mov qword [rsp + 0x98], r8
mov dword [rsp + 0xa0], r10d
mov word [rsp + 0xa4], r11w
mov word [rsp + 0xa6], di
mov dword [rsp + 0xa8], edx
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x140074575
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], rdi
mov r12, qword [rsi + 0x30]
mov rbx, qword [rsi + 0x38]
jmp 0x1400745ed
lea rdx, [rsp + 0x98]
movzx r9d, word [rsp + 0x44]
mov eax, dword [rsp + 0x40]
rol r9w, 8
xorps xmm0, xmm0
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
and qword [rdx + 0x70], 0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx], xmm0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0x90]
mov word [rdx], r10w
mov word [rdx + 2], r9w
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], r8d
call sub.ws2_32.dll_connect
test eax, eax
je 0x1400745c0
call fcn.140070135
mov r15, rax
mov qword [rsp + 0x58], rax
mov rcx, rax
call fcn.140041ad6
cmp al, 0xd
jne 0x1400747b9
lea rcx, [rsp + 0x58]
call fcn.14006567d
mov qword [rsp + 0x88], r12
mov r12, qword [rsi + 0x28]
mov qword [rsi + 0x30], r12
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rsi + 0x70]
mov qword [rsp + 0x28], rax
mov byte [rsi + 0x70], 0
xor ebx, ebx
call fcn.1400c757d
mov r15, rdx
mov qword [rsp + 0x140], r12
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rdx
lea r13, [rdx + 0x130]
add rdx, 0xc8
mov qword [rsp + 0x128], rax
test rax, rax
mov ecx, 0xc8
mov edi, 0x130
cmove rdi, rcx
cmove r13, rdx
cmp qword [r15 + rdi], 0
je 0x140074c05
lea r14, [r13 + 0x20]
mov rcx, r14
call fcn.1400c3c0e
cmp byte [r13 + 0x58], 0
je 0x140074687
lea rdx, str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown.task__was_cancelled
mov r8d, 0x38
mov cl, 0x27
call fcn.14005ec19
mov rbx, rax
mov rcx, r14
call fcn.140105d40
mov r14, qword [rsp + 0x28]
jmp 0x140074ab6
mov qword [rsp + 0x30], rbp
and qword [rsp + 0x6f], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x5f], xmm0
mov rax, qword [rsp + 0x77]
mov qword [rsp + 0xaf], rax
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0xa0], xmm1
movups xmm1, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x90], xmm1
movups xmmword [rsp + 0x60], xmm0
and qword [rsp + 0x70], 0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call fcn.14006565d
mov rbp, rax
mov eax, 1
mov qword [rbp], rax
mov qword [rbp + 8], rax
and qword [rbp + 0x80], 0
mov byte [rbp + 0x88], 0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rbp + 0x89], xmm0
movups xmmword [rbp + 0x99], xmm1
mov rax, qword [rsp + 0xaf]
mov qword [rbp + 0xa8], rax
and qword [rbp + 0xb0], 0
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm1
lock inc qword [rbp]
jle 0x140074c05
lea rcx, [rbp + 0x80]
mov rax, qword [r13 + 0x48]
cmp rax, rcx
je 0x140074c05
mov qword [rbp + 0xc8], rax
and qword [rbp + 0xc0], 0
test rax, rax
je 0x14007477e
mov qword [rax + 0x40], rcx
mov qword [r13 + 0x48], rcx
cmp qword [r13 + 0x50], 0
jne 0x14007478d
mov qword [r13 + 0x50], rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x130], rbp
mov rcx, r14
call fcn.140105d40
test rbx, rbx
je 0x1400747e2
movabs rbx, 0xc00000003
jmp 0x140074a9f
mov rcx, qword [rsi + 0x28]
call fcn.14006d5d9
mov edi, 2
jmp 0x140074b38
cmp al, 2
mov qword [rsp + 0x38], rdi
jne 0x140074842
mov r15, qword [rsp + 0x90]
jmp 0x14007494b
mov r13, qword [r15 + rdi]
lea rdx, [r13 + 0x20]
lea rbx, [rsp + 0x90]
mov rcx, rbx
call fcn.14005ec88
cmp qword [rbx], 0
jne 0x140074c05
mov r14, qword [rsp + 0x98]
lea rdi, [r14 + 0x10]
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x14007482a
mov rcx, qword [rdi]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x14007489d
mov rcx, qword [r13 + 0x18]
mov rdx, rdi
call fcn.14005f9cc
test rax, rax
je 0x14007489d
mov rbx, rax
xor edi, edi
jmp 0x1400748bf
mov rcx, qword [rsi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140074c05
lea r9, [rsp + 0x58]
and dword [r9], 0
mov dword [rsp + 0x90], 4
mov qword [rsp + 0x20], rbx
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x140074943
movsxd r15, dword [rsp + 0x58]
test r15, r15
je 0x140074a64
shl r15, 0x20
or r15, 2
jmp 0x14007494b
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x140074c05
mov rcx, qword [rdi]
mov rbx, qword [rcx + rax*8 - 8]
lock inc qword [rbx]
mov dil, 1
jle 0x140074c05
mov rcx, r14
call fcn.140105d40
test dil, dil
je 0x140074a9f
mov qword [rsp + 0x120], r13
mov qword [rsp + 0x138], rbx
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r12
mov r8d, 0x48000022
call fcn.14005fb5d
cmp dword [r14], 0
je 0x14007495e
xor edi, edi
lea r14, [rsp + 0x90]
cmp rdi, 0xc
je 0x140074a86
lea rax, [0x140161f58]
mov r8d, dword [rdi + rax]
mov rcx, r14
mov rdx, r12
call fcn.14005fb5d
add rdi, 4
cmp dword [rsp + 0x90], 0
jne 0x140074906
mov r13, qword [rsp + 0x98]
cmp r13, r12
je 0x140074906
jmp 0x140074963
call fcn.1400b791e
mov r15, rax
lea rcx, [rsi + 0x40]
call fcn.14006d339
mov edi, 2
jmp 0x140074ad8
mov r13, qword [rsp + 0x60]
mov ecx, pe_nt_image_headers64
call fcn.14005ebe7
mov r14, rax
mov eax, 1
mov qword [r14], rax
mov qword [r14 + 8], rax
and qword [r14 + 0x10], 0
mov byte [r14 + 0x18], 0
and dword [r14 + 0x20], 0
lea rdx, [r14 + 0x10]
mov qword [r14 + 0x28], rbx
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x50], xmm0
mov qword [r14 + 0x60], r13
movups xmmword [r14 + 0x68], xmm0
and word [r14 + 0x78], 0
lea rbx, [rsp + 0x90]
mov rcx, rbx
call fcn.14005ec88
cmp qword [rbx], 0
jne 0x140074c05
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x60], 0x19d
mov rax, qword [rsp + 0x80]
mov qword [rcx + 0x58], rax
call fcn.140105d40
mov rdi, qword [rsp + 0x120]
lock inc qword [rdi]
jle 0x140074c05
lock inc qword [r14]
jle 0x140074c05
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x90], rdi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0xa8], 3
mov qword [rsp + 0x98], r14
mov rcx, rbx
mov rdx, r14
call fcn.14005f932
mov rcx, rbx
call fcn.14005f975
test rax, rax
je 0x140074b71
mov rbx, rax
lea rcx, [rsp + 0x90]
call fcn.14005fbca
jmp 0x140074a9f
mov rdi, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x1a0], xmm0
jmp 0x140074ad8
mov ebx, dword [rsp + 0x5c]
shl rbx, 0x20
or rbx, 2
lea rcx, [rsp + 0x138]
call fcn.14005eacf
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x130]
call fcn.1400c3a22
lea rcx, [rsp + 0x150]
call fcn.1400c33c5
lea rcx, [rsp + 0x140]
call fcn.1400c6c0a
mov edi, 2
mov r15, rbx
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x170], rax
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x160], xmm0
mov byte [r14], 1
cmp rdi, 3
jne 0x140074b0e
mov qword [rbp], 3
mov al, 3
jmp 0x140074b5a
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x180], xmm0
mov rcx, qword [rsp + 0x38]
call fcn.1400743c4
mov qword [rbp], rdi
mov qword [rbp + 8], r15
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rbp + 0x10], xmm0
mov rax, qword [rsp + 0x190]
mov qword [rbp + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0xa0]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1c0], xmm0
mov ecx, 0x20
call fcn.14005ebe7
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], r14
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x10], xmm0
xor ecx, ecx
call fcn.14005fbff
mov edi, 2
mov rcx, qword [rsp + 0x128]
cmp rcx, 2
jne 0x140074bcd
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
jmp 0x140074ad8
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], rbp
mov qword [rsi + 0x58], r12
mov qword [rsi + 0x60], rbx
mov qword [rsi + 0x68], rax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x88]
jmp 0x14007442d
ud2