Function at 0x14002d570
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
mov rbx, qword [rbp + 0x198]
mov qword [rsp + 0x20], rbx
movzx r9d, byte [rbp + 0x190]
call fcn.140036f90
test al, al
je 0x14002dbc6
mov r9, rsi
mov r8, rdi
mov rdx, r14
mov rcx, r15
call fcn.14002ee90
test al, al
je 0x14002dbc0
lea rdx, [rsi + 0x48]
mov rcx, r14
call fcn.14002ea90
test al, al
je 0x14002dbc0
mov r13d, dword [rsi + 0x20]
cmp r13d, 0xcc
je 0x14002d98f
mov r14, qword [rdi + 0x10]
mov rcx, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 0x10
jb 0x14002d623
mov rcx, qword [rdi]
cmp r14, 4
jne 0x14002d640
mov r8, r14
lea rdx, str.HEAD
call fcn.14003e210
test eax, eax
je 0x14002d98c
mov rcx, rdi
cmp r12, 0x10
jb 0x14002d64c
mov rcx, qword [rdi]
cmp r14, 7
jne 0x14002d669
mov r8, r14
lea rdx, str.CONNECT
call fcn.14003e210
test eax, eax
je 0x14002d98c
lea eax, [r13 - 0x12d]
cmp eax, 0x62
ja 0x14002d683
cmp byte [r15 + 0x1f9], 0
je 0x14002d683
mov al, 1
jmp 0x14002d685
xor al, al
mov byte [rsp + 0x30], al
mov rcx, qword [rdi + 0x1b8]
test rcx, rcx
je 0x14002d6b1
test al, al
jne 0x14002d6b1
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14002d6b1
mov dword [rbx], 7
jmp 0x14002dbc6
cmp qword [rdi + 0x1f8], 0
je 0x14002d6ff
lea rax, [0x140065f30]
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rbx
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa8], rax
lea r13, [rbp + 0x70]
mov r14d, 1
lea r12, [rbp + 0xa8]
mov rcx, qword [rbp + 0x28]
jmp 0x14002d724
lea rax, [0x140065f68]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x28], rcx
lea r13, [rbp - 0x10]
mov r14d, 2
lea r12, [rbp + 0x28]
xor r8d, r8d
mov qword [rbp - 0x18], r8
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x14002d786
cmp r9, r13
jne 0x14002d773
mov rax, qword [r9]
lea rdx, [rbp - 0x50]
mov rcx, r9
call qword [rax + ioctlsocket]
mov r8, rax
mov qword [rbp - 0x18], rax
mov rcx, qword [r12]
test rcx, rcx
je 0x14002d782
mov rax, qword [rcx]
cmp rcx, r13
setne dl
call qword [rax + 0x20]
xor r12d, r12d
mov qword [r13 + 0x38], r12
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x28]
jmp 0x14002d789
mov r8, r9
mov qword [rbp - 0x18], r9
mov qword [r12], 0
mov rcx, qword [rbp + 0x28]
xor r12d, r12d
test r14b, 2
je 0x14002d7b0
and r14d, 0xfffffffd
test rcx, rcx
je 0x14002d7b0
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x28], r12
mov r8, qword [rbp - 0x18]
test r14b, 1
je 0x14002d7d6
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14002d7d6
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp - 0x18]
movzx r14d, byte [r15 + 0x249]
mov qword [rbp + 0xe8], r12
test r8, r8
je 0x14002d830
lea rax, [rbp - 0x50]
cmp r8, rax
jne 0x14002d825
mov rax, qword [r8]
lea rdx, [rbp + 0xb0]
mov rcx, r8
call qword [rax + ioctlsocket]
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14002d830
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14002d82c
mov qword [rbp + 0xe8], r8
mov qword [rbp - 0x18], r12
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
lea rax, [0x140065fa0]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdi
lea rax, [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0xf8], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x70], rsi
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x34]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x138], r12
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x100]
call fcn.14001c0d0
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x80]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [rbp - 0x70]
movsd qword [rsp + 0x60], xmm0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
movzx r9d, r14b
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x34]
mov rcx, rsi
call fcn.14000c050
movzx r14d, al
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14002d920
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rbp + 0x30]
cmp rcx, rax
setne dl
call r8
mov qword [rbp + 0x68], r12
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x14002d93f
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
test r14b, r14b
jne 0x14002d971
cmp dword [rbx], 7
je 0x14002d94f
mov dword [rbx], 4
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14002dbc6
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14002dbc6
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14002d98f
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14002d98f
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Connection]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140064a98]
mov word [rsp + 0x48], ax
mov byte [rsp + 0x4a], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x68]
lea rcx, [rsi + 0x48]
call fcn.140006480
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002da17
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002da12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002dbf9
call fcn.14003bcb0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x14002da44
add rdx, 0x40
cmp qword [rdx + 0x18], 0x10
jb 0x14002da4b
mov rdx, qword [rdx]
jmp 0x14002da4b
lea rdx, [0x140071940]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14002da62
lea rcx, [rsp + 0x70]
call fcn.140003180
lea rcx, [rsp + 0x70]
mov rbx, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x80]
cmp r8, 5
jne 0x14002daa6
lea rdx, str.close
call fcn.14003e210
test eax, eax
je 0x14002daf5
mov r8, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002dab7
mov rcx, qword [rsi]
cmp r8, 8
jne 0x14002dafa
lea rdx, str.HTTP_1.0
call fcn.14003e210
test eax, eax
jne 0x14002dafa
lea rcx, [rsi + 0x28]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14002dadf
mov rcx, qword [rcx]
cmp r8, 0x16
jne 0x14002daf5
lea rdx, str.Connection_established
call fcn.14003e210
test eax, eax
je 0x14002dafa
mov r14b, 1
jmp 0x14002dafd
xor r14b, r14b
cmp r13, 0x10
jb 0x14002db34
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002db2c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002dbff
mov rcx, rbx
call fcn.14003bcb0
test r14b, r14b
je 0x14002dba4
lea rbx, [r15 + 0x58]
mov qword [rbp - 0x68], rbx
mov rcx, rbx
call fcn.14003ae94
test eax, eax
jne 0x14002dc05
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14002dbe9
mov rax, qword [r15]
mov r8b, 1
lea rdx, [r15 + 0x50]
mov rcx, r15
call qword [rax + 0x18]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14002db84
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15 + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14002db9c
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15 + 0x50], 0xffffffffffffffff
mov rcx, rbx
call fcn.14003ae9c
mov rcx, qword [r15 + 0x330]
test rcx, rcx
je 0x14002dbbc
mov rax, qword [rcx]
mov r8, rsi
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x14002dbc8
mov dword [rbx], 4
xor al, al
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14003afec
int3
call fcn.140045e08
int3
call fcn.140045e08
int3
mov ecx, 5
call fcn.14003afec
int3