Function at 0x1401562b0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx + 0x1c6], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x14015639b
cmp byte [rcx + 0xa36], 0
jne 0x14015639b
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x14000c5a0]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x14015639b
xor edx, edx
lea rcx, [rdi + 0xf]
lea r9, [rsp + 0x60]
lea r8d, [rdx + 0xa]
call fcn.14015d080
test eax, eax
jne 0x14015632f
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0xf0], rax
jmp 0x140156370
cmp eax, 1
jne 0x140156385
cmp qword [rbx + 0x6d8], 0
je 0x140156354
lea rdx, [0x14000cbc0]
mov rcx, rbx
call fcn.14014b310
mov eax, 0x3f
jmp 0x140156372
mov edx, 2
mov rcx, rsi
call fcn.14014c330
lea rdx, [0x14000cbe0]
mov rcx, rbx
call fcn.14014b400
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, [0x14000cc00]
mov rcx, rbx
call fcn.14014b310
mov eax, 8
jmp 0x140156372
mov r8d, recv
lea rdx, [0x14000c590]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401563e7
mov rcx, rdi
call fcn.140155130
mov rdi, rax
test rax, rax
je 0x1401569f4
cmp byte [rax], 0
je 0x140156947
mov rcx, qword [rbx + 0x12c8]
call qword [fcn.14017dbf0]
mov qword [rbx + 0x12c8], rdi
jmp 0x140156370
cmp byte [rsi + 0x617], 0xa
jne 0x140156438
cmp byte [rsi + 0x2c8], 0
je 0x140156438
lea r9, [0x14000cc20]
mov qword [rsp + 0x20], 0xa
mov r8d, send
lea rdx, [0x14000cc30]
mov rcx, rdi
call fcn.140155060
test al, al
je 0x140156438
xor edx, edx
mov rcx, rsi
call fcn.14014c330
lea rdx, [0x14000cc48]
jmp 0x140156368
cmp byte [rsi + 0x617], 0xb
jne 0x14015648c
cmp byte [rsi + 0x2c8], 0
je 0x14015648c
lea r9, [0x14000cc74]
mov qword [rsp + 0x20], 5
mov r8d, send
lea rdx, [0x14000cc30]
mov rcx, rdi
call fcn.140155060
test al, al
je 0x14015648c
mov edx, 1
mov rcx, rsi
call fcn.14014c330
lea rdx, [0x14000cc80]
jmp 0x140156368
cmp byte [rsi + 0x617], 0xa
jne 0x1401564d4
lea r9, [0x14000cc20]
mov qword [rsp + 0x20], 0xa
mov r8d, recv
lea rdx, [0x14000c5b0]
mov rcx, rdi
call fcn.140155060
test al, al
je 0x1401564d4
xor edx, edx
mov rcx, rsi
call fcn.14014c330
lea rdx, [0x14000cca8]
jmp 0x140156368
lea r9, [0x14000cc74]
mov qword [rsp + 0x20], 5
mov r8d, recv
lea rdx, [0x14000c5b0]
mov rcx, rdi
call fcn.140155060
test al, al
je 0x14015650f
mov edx, 2
mov rcx, rsi
call fcn.14014c330
jmp 0x140156370
cmp byte [rbx + 0x1c6], 0
jne 0x1401565ba
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x14000c5c0]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156572
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.14014f950
test eax, eax
jne 0x140156372
cmp byte [rbx + 0x1c7], al
jne 0x140156370
lea edx, [rax + 1]
mov rcx, rsi
call fcn.14014c330
mov byte [rbx + 0x1c8], 1
jmp 0x140156370
cmp byte [rbx + 0x1c6], 0
jne 0x1401565ba
mov r8d, send
lea rdx, [0x14000ccd0]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401565ba
cmp qword [rbx + 0x738], 0
je 0x1401565ba
lea rdx, [rdi + 0x11]
xor r8d, r8d
mov rcx, rbx
call fcn.14014f950
test eax, eax
je 0x140156370
jmp 0x140156372
mov r8d, recv
lea rdx, [0x14000cce8]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156633
xor ecx, ecx
lea rsi, [rdi + 0xc]
mov qword [rsp + 0x60], rcx
lea r9, [rsp + 0x60]
xor edx, edx
lea r8d, [rcx + 0xa]
mov rcx, rsi
call fcn.14015d080
mov rdi, qword [rsp + 0x60]
test rdi, rdi
jne 0x140156627
mov rcx, rsi
call fcn.14015d230
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140156622
xor ecx, ecx
call fcn.14018a860
sub rdi, rax
mov qword [rbx + 0x12d8], rdi
jmp 0x140156370
mov rdi, qword [rsp + 0x60]
mov qword [rbx + 0x12d8], rdi
jmp 0x140156370
cmp byte [rbx + 0x1c6], 0
jne 0x1401566e4
mov r8d, recv
lea rdx, [0x14000ccf8]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401566e4
movzx eax, byte [rdi + 0xe]
add rdi, 0xe
test al, al
je 0x140156693
movzx ecx, al
nop dword [rax]
cmp cl, 0x30
jl 0x14015667d
movzx eax, cl
cmp cl, 0x39
jle 0x140156693
movzx eax, cl
cmp cl, 0x2a
je 0x140156693
movzx eax, byte [rdi + 1]
inc rdi
movzx ecx, al
test al, al
jne 0x140156670
sub al, 0x30
cmp al, 9
ja 0x1401566d6
xor edx, edx
lea r9, [rbx + 0x150]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.14015d080
test eax, eax
jne 0x140156370
mov rax, qword [rbx + 0x150]
cmp qword [rbx + 0x10f8], rax
jne 0x140156370
mov byte [rbx + 0x1c3], 1
jmp 0x140156370
xor ecx, ecx
mov qword [rbx + 0x10f8], rcx
jmp 0x140156370
cmp qword [rbx + 0xa50], 0
je 0x1401567e2
cmp byte [rbx + 0x1285], 0
je 0x1401567e2
mov r8d, recv
lea rdx, [0x140009750]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401567e2
mov r14, qword [rbx + 0x1240]
test r14, r14
jne 0x14015672c
mov r14, qword [rsi + 0x70]
mov rax, qword [rsi + 0x2e8]
test byte [rax + 0x84], 2
jne 0x140156784
mov rdx, r14
lea rcx, [0x140009b10]
call fcn.14014f560
test eax, eax
jne 0x140156784
lea rdx, [0x14000bfd8]
mov rcx, r14
call fcn.14017d9e0
test eax, eax
je 0x140156784
xor ecx, ecx
lea rdx, [0x14000bfd0]
nop dword [rax + rax]
movzx eax, byte [r14 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1401567dd
cmp rcx, 4
jne 0x140156770
mov sil, 1
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.14014fc60
mov rax, qword [rbx + 0x1150]
lea rcx, [rdi + 0xb]
mov rdx, qword [rbx + 0xa50]
xor r9d, r9d
mov byte [rsp + 0x38], sil
mov r8b, 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.14013c740
mov edx, 2
mov rcx, rbx
call fcn.14014fca0
jmp 0x140156370
xor sil, sil
jmp 0x140156787
cmp byte [rbx + 0x1c6], 0
jne 0x14015683f
mov r8d, recv
lea rdx, [0x14000cd08]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x14015683f
cmp byte [rbx + 0x518], 0
jne 0x140156816
cmp byte [rbx + 0xa20], 0
je 0x14015683f
lea rcx, [rdi + 0xe]
call fcn.14015d230
mov qword [rbx + 0x180], rax
cmp byte [rbx + 0xa20], 0
je 0x140156370
mov qword [rbx + 0x12a0], rax
jmp 0x140156370
mov r8d, send
lea rdx, [0x14000cd18]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156866
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x191
je 0x14015688d
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x14000cd30]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401568cf
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x197
jne 0x1401568cf
mov rcx, rdi
call fcn.140155130
mov rdi, rax
test rax, rax
je 0x1401569f4
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.140156d70
mov rcx, rdi
mov ebx, eax
call qword [fcn.14017dbf0]
test ebx, ebx
je 0x140156370
mov eax, ebx
jmp 0x140156372
mov r14d, reloc.WS2_32.dll_recv
lea rdx, [0x14000cd48]
mov r8d, r14d
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156955
cmp dword [rbx + 0xd5c], 4
jne 0x140156370
mov rcx, rdi
call fcn.140155130
mov rdi, rax
test rax, rax
je 0x1401569f4
lea r8d, [r14 - 0xb]
mov rcx, rax
lea rdx, [0x14000cd5c]
call fcn.14014f5d0
test eax, eax
mov byte [rsi + 0x529], 1
mov r9, rdi
lea rdx, [0x14000cd68]
setne cl
mov byte [rsi + 0x528], cl
movzx r8d, cl
mov rcx, rbx
call fcn.14014b400
mov rcx, rdi
call qword [fcn.14017dbf0]
jmp 0x140156370
mov eax, dword [rbx + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1401569fe
mov r8d, 9
lea rdx, [0x14000cd98]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x1401569fe
cmp qword [rbx + 0x190], 0
jne 0x1401569fe
mov rcx, rdi
call fcn.140155130
test rax, rax
je 0x1401569f4
cmp byte [rax], 0
jne 0x1401569ac
mov rcx, rax
call qword [fcn.14017dbf0]
jmp 0x140156370
cmp byte [rbx + 0xa28], 0
mov qword [rbx + 0x190], rax
je 0x140156370
mov rcx, rax
call qword [case.0x14013eae8.0]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x1401569f4
mov rdx, rsi
mov rcx, rbx
call fcn.1401584c0
test eax, eax
jne 0x140156372
mov byte [rbx + 0x1279], 1
jmp 0x140156370
mov eax, 0x1b
jmp 0x140156372
cmp qword [rbx + 0xa58], 0
je 0x140156a59
mov r8d, 0x1a
lea rdx, [0x14000cda8]
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156a59
mov rax, qword [rsi + 0x2e8]
test byte [rax + 0x8c], 1
je 0x140156a59
mov rdx, qword [rsi + 0x70]
lea r8, [rdi + 0x1a]
mov rcx, qword [rbx + 0xa58]
call fcn.14014eb90
test eax, eax
je 0x140156370
lea rdx, [0x14000cdc8]
jmp 0x140156368
cmp qword [rbx + 0xa60], 0
je 0x140156ae2
mov ebp, 8
lea rdx, [0x14000cde8]
mov r8d, ebp
mov rcx, rdi
call fcn.14014f5d0
test eax, eax
je 0x140156ae2
mov rax, qword [rsi + 0x2e8]
test byte [rax + 0x8c], 1
je 0x140156ae2
movzx eax, byte [rsi + 0x617]
cmp al, 0x1e
jne 0x140156aa0
mov ebp, 0x20
jmp 0x140156aa6
cmp al, 0x14
cmove ebp, r14d
mov ecx, dword [rsi + 0x604]
call fcn.14014cf90
mov rdx, qword [rbx + 0xa60]
lea r8, [rdi + 8]
mov word [rsp + 0x28], ax
mov r9d, ebp
mov rax, qword [rsi + 0x70]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14014d9f0
test eax, eax
je 0x140156370
jmp 0x140156372
mov rax, qword [rsi + 0x2e8]
test dword [rax + 0x84], 0x40000
je 0x140156370
mov eax, 4
jmp 0x140156372