Function at 0x14015f880
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x50]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x84], 0
cmp qword [rsp + 0x50], 0
je 0x14015f901
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3d8], 0
jne 0x14015f908
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x14015f973
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x3a0], 0
jne 0x14015f973
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x168]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call fcn.140166b50
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x3a0], 0
jne 0x14015f99c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x360]
add rax, 0x84
mov rcx, rax
call fcn.14015f2c0
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3d8]
call fcn.14013a810
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x3a0], 0
jne 0x14015f9db
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x360]
add rax, 0x84
mov rcx, rax
call fcn.14015f2a0
nop
cmp qword [rsp + 0x58], 0
jne 0x14015f9fb
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x168]
mov dword [rax], ecx
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x37c], 0
jne 0x14016089c
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
cmp eax, 4
jl 0x140160897
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
sub eax, 4
cmp dword [rsp + 0x84], eax
jg 0x140160897
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3b0], 0
je 0x14015fa82
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
add eax, dword [rsp + 0x84]
cdqe
mov rcx, qword [rsp + 0x158]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14015fabd
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3b0], 0
jne 0x140160882
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
add eax, dword [rsp + 0x84]
cdqe
mov rcx, qword [rsp + 0x158]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
jne 0x140160882
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x84]
lea eax, [rax + rcx + 1]
cdqe
mov rcx, qword [rsp + 0x158]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x140160882
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x84]
lea eax, [rax + rcx + 2]
cdqe
mov rcx, qword [rsp + 0x158]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
jne 0x140160882
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x84]
lea eax, [rax + rcx + 3]
cdqe
mov rcx, qword [rsp + 0x158]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x140160882
cmp qword [rsp + 0x150], 0
je 0x14015fb68
mov rax, qword [rsp + 0x50]
add rax, 0x3b8
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14012ca20
nop
mov eax, dword [rsp + 0x84]
add eax, 4
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x3a8], eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 1
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0xffffffff
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x37c], 1
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3b0], 0
jne 0x14015fbfa
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x160]
movsxd rcx, dword [rcx]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x158]
call fcn.140148b40
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x3b0], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3b0], 0
je 0x140160880
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp qword [rax], 0
jne 0x14015fc49
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0xffffffff
je 0x14015fc49
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x3a0], 1
jne 0x14015fc49
mov eax, 0x190
jmp 0x140160b11
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x3b8]
test eax, eax
je 0x14015fcb8
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x3b8]
cmp eax, 0x17
jne 0x14015fc78
mov qword [rsp + 0x110], 0x1c
jmp 0x14015fc84
mov qword [rsp + 0x110], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x50]
add rax, 0x3b8
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x3b0]
add rcx, 0x88
mov r9, qword [rsp + 0x110]
mov r8, rax
mov edx, 0x1e
call fcn.14015f0e0
nop
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x3e8]
test eax, eax
je 0x14015fd27
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x3e8]
cmp eax, 0x17
jne 0x14015fce7
mov qword [rsp + 0x118], 0x1c
jmp 0x14015fcf3
mov qword [rsp + 0x118], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x50]
add rax, 0x3e8
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x3b0]
add rcx, 0xa6
mov r9, qword [rsp + 0x118]
mov r8, rax
mov edx, 0x1e
call fcn.14015f0e0
nop
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14015ff0c
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0x11
jne 0x14015fdbb
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.transfer_encoding
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14038b300
test eax, eax
jne 0x14015fdbb
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 7
jne 0x14015fdbb
mov r8d, 7
lea rdx, [0x140561d28]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.14038b300
test eax, eax
jne 0x14015fdbb
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x384], 1
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0xa
jne 0x14015fe1f
mov r8d, 0xa
lea rdx, str.connection
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14038b300
test eax, eax
jne 0x14015fe1f
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 5
jne 0x14015fe1f
mov r8d, 5
lea rdx, [0x140561d3c]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.14038b300
test eax, eax
jne 0x14015fe1f
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x390], 1
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0xe
jne 0x14015fef9
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.content_length
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14038b300
test eax, eax
jne 0x14015fef9
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.140136ec0
cmp rax, 0x7fffffff
ja 0x14015feb5
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.140136f40
mov dword [rsp + 0x120], eax
jmp 0x14015fec0
mov dword [rsp + 0x120], 0
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x120]
mov dword [rax + 0x394], ecx
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x394], 0
jge 0x14015fef9
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0
mov eax, 0xfa1
jmp 0x140160b11
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x68], rax
jmp 0x14015fd3c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
mov rcx, qword [rax + 0x48]
call fcn.1403dbe00
comisd xmm0, xmmword [0x140428ab8]
jbe 0x14015ff73
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x384], 0
jne 0x14015ff73
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x390], 0
jne 0x14015ff73
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x398], 0
je 0x14015ff73
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0x64
jl 0x140160251
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0xc7
jg 0x140160251
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x78], 0
jne 0x140160062
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x140160037
mov rax, qword [rsp + 0x50]
add rax, 0x404
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ntohs
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x3a8]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0x65
jne 0x1401601ec
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x78]
cmp qword [rax + 0x10], 0
je 0x1401601ec
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.Sec_WebSocket_Accept
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.140148270
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x1401601d1
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x78]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0xb8]
call fcn.14038a9d0
test eax, eax
jne 0x1401601d1
mov dword [rsp + 0xc4], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x3a8]
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
lea r8, [rsp + 0xe8]
xor edx, edx
mov rcx, rax
call fcn.140164780
mov rax, qword [rsp + 0x50]
mov dword [rax], 1
mov rcx, qword [rsp + 0x58]
call fcn.140166050
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x1401601ad
mov rax, qword [rsp + 0x50]
add rax, 0x404
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ntohs
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
add eax, dword [rsp + 0x104]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
xor eax, eax
jmp 0x140160b11
mov rcx, qword [rsp + 0x50]
call fcn.140162040
mov rcx, qword [rsp + 0x50]
call fcn.140160c80
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x80], 0
jne 0x14016024f
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x37c], 0
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x3a8]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.1401489c0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x3b0], 0
jmp 0x140160897
jmp 0x140160299
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0xcc
je 0x14016027b
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x3b0]
cmp dword [rax + 0x30], 0x130
jne 0x140160299
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x3a0], 0
je 0x1401602d2
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x394], 0xffffffff
jne 0x1401602d2
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x384], 0
jne 0x1401602d2
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3d8]
call fcn.14013a810
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3d8], 0
je 0x140160343
cmp qword [rsp + 0x90], 0
je 0x140160343
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x88], 0
je 0x140160343
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x394], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x398], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x384], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x394], 0
jne 0x140160421
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x374], 1
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x1401603db
mov rax, qword [rsp + 0x50]
add rax, 0x404
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x84]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x374], 0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
call fcn.140164cb0
nop
jmp 0x140160880
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x384], 0
jne 0x1401606ed
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x394], 0xffffffff
je 0x140160590
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, 4
sub eax, ecx
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 0x394]
jl 0x140160590
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x374], 1
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x14016051d
mov rax, qword [rsp + 0x50]
add rax, 0x404
movsxd rcx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x158]
lea rcx, [rdx + rcx + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x394]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
cmp dword [rsp + 0x74], 0
jne 0x140160538
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x394]
mov dword [rsp + 0x124], eax
jmp 0x140160543
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
add eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x124]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x374], 0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
call fcn.140164cb0
nop
jmp 0x1401606e8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x14016063d
mov rax, qword [rsp + 0x50]
add rax, 0x404
mov rcx, qword [rsp + 0x160]
mov ecx, dword [rcx]
mov edx, dword [rsp + 0x168]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x84]
add edx, 4
sub ecx, edx
movsxd rdx, dword [rsp + 0x84]
mov r8, qword [rsp + 0x158]
lea rdx, [r8 + rdx + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
mov r9, rdx
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
cmp qword [rsp + 0x150], 0
je 0x14016065d
mov rcx, qword [rsp + 0x150]
call fcn.14012c870
test eax, eax
jne 0x1401606e8
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x3a8], 0
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x74]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x74]
mov eax, dword [rax + 0x394]
sub eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x394], eax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x3b0], 0
je 0x1401606e8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.140149f10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.1401489c0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x3b0], rcx
jmp 0x140160880
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x388], 0
jne 0x1401607db
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x1401607db
mov rax, qword [rsp + 0x50]
add rax, 0x404
movsxd rcx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x158]
lea rcx, [rdx + rcx + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x37c], 0
jne 0x1401607b8
mov eax, dword [rsp + 0x84]
add eax, 4
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
xor eax, eax
jmp 0x140160b11
cmp qword [rsp + 0x150], 0
je 0x1401607db
mov rcx, qword [rsp + 0x150]
call fcn.14012c870
test eax, eax
je 0x1401607db
xor eax, eax
jmp 0x140160b11
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, 4
sub eax, ecx
movsxd rcx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x158]
lea rcx, [rdx + rcx + 4]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x74]
mov r8, rcx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
call fcn.1401650d0
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x74]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.140149f10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x3b0]
call fcn.1401489c0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x3b0], rcx
jmp 0x140160897
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
jmp 0x14015fa2b
jmp 0x140160ade
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x384], 0
jne 0x140160ab0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x398], 0
jne 0x140160906
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 0x394]
jl 0x1401608eb
mov dword [rsp + 0x128], 1
jmp 0x1401608f6
mov dword [rsp + 0x128], 0
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x88], eax
jmp 0x140160911
mov dword [rsp + 0x88], 0
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x90], 0
je 0x140160a26
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x398], 0
jne 0x140160994
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 0x394]
jl 0x140160968
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x394]
mov dword [rsp + 0x12c], eax
jmp 0x140160984
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x130], eax
jmp 0x1401609b0
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x130], eax
mov rax, qword [rsp + 0x50]
add rax, 0x404
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x158]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x3b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x90]
nop
cmp qword [rsp + 0x150], 0
je 0x140160a42
mov rcx, qword [rsp + 0x150]
call fcn.14012c870
test eax, eax
jne 0x140160aae
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x398], 0
jne 0x140160aae
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x160]
mov ecx, dword [rcx]
mov eax, dword [rax + 0x394]
sub eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x394], eax
cmp dword [rsp + 0x88], 0
je 0x140160aae
mov rax, qword [rsp + 0x160]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x394]
mov rcx, qword [rsp + 0x160]
mov dword [rcx], eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
call fcn.140164cb0
nop
jmp 0x140160ade
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x160]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
call fcn.1401650d0
nop
cmp qword [rsp + 0x150], 0
je 0x140160afa
mov rcx, qword [rsp + 0x150]
call fcn.14012c870
test eax, eax
jne 0x140160b0f
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x404]
mov dword [rax], ecx
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x140
pop rdi
ret