Function at 0x18017a510
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov r13, qword [rcx + 0x18]
mov rbx, rcx
movsxd r14, edx
mov r12d, r9d
mov dword [rbp - 0x21], 0
mov qword [rbp - 0x19], r13
mov r15, qword [rbx + 0x1b0]
mov rsi, qword [r13 + r14*8 + 0x1e8]
lea rcx, [r14*8 + 0x1e8]
mov rdi, qword [r13 + 0x588]
add rcx, r13
mov qword [rbp - 1], rcx
mov rcx, r13
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x39], r15
call fcn.18017b0e0
test al, al
jne 0x18017afab
mov byte [r13 + 0x398], al
cmp dword [rdi + 0x288], 0
jne 0x18017a7a1
mov r8, qword [rbp + 0x77]
lea rdx, [0x1801b41f0]
xor r15d, r15d
mov r9d, r12d
mov rcx, rbx
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x11], r15
call fcn.18016a4f0
mov rcx, qword [rbx + 0x198]
call qword [fcn.180222220]
mov edx, 0x100000
mov qword [rbx + 0x198], r15
lea rcx, [rdi + 0x250]
call fcn.1801618c0
mov r8, qword [rbp + 0x77]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov r9d, r12d
lea rax, [rbp - 0x29]
mov rdx, r13
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.18017afe0
test eax, eax
jne 0x18017afad
mov r15, qword [rbp - 0x29]
lea r8, [0x1801b4218]
mov byte [rsp + 0x28], 1
xor r9d, r9d
mov rdx, r13
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.180175510
mov esi, eax
test eax, eax
jne 0x18017a770
cmp dword [r13 + 0x13c], 1
lea rax, [0x1801b2eb4]
lea r12, [0x1801b2eb0]
mov rdx, r13
lea r8, [0x1801b3480]
mov rcx, rbx
cmove r12, rax
lea rsi, [0x1801b95e8]
call fcn.180173770
mov rdx, qword [rbp - 0x19]
lea r13, [0x1801b3498]
test rax, rax
lea r8, [0x1801b3028]
lea rax, [0x1801b95e8]
mov rcx, rbx
cmovne r13, rax
call fcn.180173770
test rax, rax
jne 0x18017a6ae
cmp qword [rbx + 0x8b8], rax
je 0x18017a6ae
mov rsi, qword [rbx + 0x1298]
mov rax, qword [rbx + 0x1290]
lea rdx, [0x1801b95e8]
test rax, rax
mov qword [rsp + 0x38], r13
mov rcx, rdx
mov qword [rsp + 0x30], rsi
cmovne rcx, rax
mov r9, r12
mov rax, rdx
mov qword [rsp + 0x28], rcx
mov rdx, qword [rbp - 0x11]
lea rcx, [rdi + 0x250]
test rdx, rdx
mov r8, r15
cmovne rax, rdx
lea rdx, [0x1801b4220]
mov qword [rsp + 0x20], rax
call fcn.180161850
mov esi, eax
test eax, eax
jne 0x18017a75d
lea r8, [rdi + 0x250]
mov dl, 1
mov rcx, rbx
call fcn.180173020
mov esi, eax
test eax, eax
jne 0x18017a75d
lea rdx, [0x1801ebbb0]
lea rcx, [rdi + 0x250]
call fcn.180161830
mov esi, eax
test eax, eax
jne 0x18017a75d
mov eax, dword [rbp + 0x6f]
lea r8, [rbx + 0x1388]
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rdx, rbx
lea rcx, [rdi + 0x250]
call fcn.1801734d0
mov esi, eax
test eax, eax
je 0x18017a76c
lea rdx, [0x1801b4240]
mov rcx, rbx
call fcn.18016a410
mov r13, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
call qword [fcn.180222220]
mov rcx, r15
call qword [fcn.180222220]
test esi, esi
jne 0x18017ae08
mov rsi, qword [rbp - 0x31]
mov r14d, dword [rbp + 0x6f]
mov r15, qword [rbp - 0x39]
mov dword [rdi + 0x288], 1
mov r8b, 1
xor edx, edx
mov rcx, rbx
call fcn.18016bc50
test rax, rax
jle 0x18017afc8
mov edx, r14d
mov rcx, r13
call fcn.18016aeb0
test al, al
jne 0x18017a7d4
cmp dword [r15 + 0x200], 0
je 0x18017afab
cmp dword [r15 + 0x200], 1
jne 0x18017a82d
mov r9, qword [rdi + 0x270]
test r9, r9
jne 0x18017ae0f
mov rax, qword [rbx + 0xd28]
lea r8, [rbp + 0xf]
mov qword [rbx + 0x1a8], rax
mov rcx, rbx
mov edx, dword [rbx + 0x728]
call fcn.180177130
test eax, eax
jne 0x18017afad
mov rax, qword [rbp + 0xf]
mov qword [rdi + 0x270], rax
mov r9, rax
test rax, rax
jne 0x18017ae0f
xor r12d, r12d
cmp dword [rdi + 0x278], r12d
je 0x18017a8d0
nop dword [rax]
lea rax, [rbp - 9]
mov r9d, 1
lea r8, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call fcn.18016a590
mov esi, eax
cmp eax, 0x51
je 0x18017afab
mov rcx, rbx
call fcn.180179450
test eax, eax
jne 0x18017afc1
test esi, esi
jne 0x18017a8c1
cmp qword [rbp - 9], r12
jle 0x18017ad57
cmp dword [rdi + 0x278], 2
jne 0x18017a998
mov rax, qword [rdi + 0x280]
test rax, rax
je 0x18017a952
dec rax
mov qword [rdi + 0x280], rax
test rax, rax
jg 0x18017ad41
mov dword [rdi + 0x288], 2
mov dword [rdi + 0x278], r12d
mov r15, qword [rbp - 0x39]
mov r14d, dword [rbp + 0x6f]
mov rcx, rbx
call fcn.180179450
test eax, eax
jne 0x18017afc1
test r12d, r12d
jne 0x18017ae7e
mov eax, dword [rbx + 0x136c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x18017a919
mov rcx, rbx
call fcn.180173a10
test eax, eax
jne 0x18017afad
cmp byte [r13 + 0x399], al
je 0x18017a919
mov byte [rdi + 0x28d], 1
cmp byte [rdi + 0x28d], 0
je 0x18017adbc
cmp qword [rbx + 0x198], 0
je 0x18017adeb
mov rsi, qword [rbp - 1]
mov rdx, r13
mov rcx, rbx
mov r8, qword [rsi]
call fcn.18016ae10
mov qword [rsi], 0xffffffffffffffff
jmp 0x18017ae8c
xor esi, esi
lea rax, [rbp + 7]
lea r9, [rbp - 0x29]
mov qword [rbp - 0x29], rsi
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea r8d, [rsi + 1]
call fcn.180194de0
cmp eax, 0xffffffff
jne 0x18017ad41
lea rdx, [0x1801b42c0]
mov rcx, rbx
call fcn.18016a4f0
mov dword [rdi + 0x278], esi
jmp 0x18017ad37
mov r8d, 1
lea rdx, [rbp + 0x67]
lea rcx, [rdi + 0x230]
call fcn.180161880
test eax, eax
jne 0x18017ae6f
cmp byte [rbp + 0x67], 0xa
jne 0x18017ad41
lea rcx, [rdi + 0x230]
call fcn.1801618f0
lea rcx, [rdi + 0x230]
mov rsi, rax
call fcn.1801618e0
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rbx
mov r14, rax
call fcn.18016a350
cmp byte [rbx + 0xb31], r12b
jne 0x18017aa1e
xor edx, edx
mov r9, r14
cmp byte [rbx + 0xb19], dl
mov r8, rsi
mov rcx, rbx
setne dl
add edx, 2
call fcn.18016a340
test eax, eax
jne 0x18017afad
movsxd rax, r14d
add qword [rbx + 0x1380], rax
movzx eax, byte [rsi]
cmp al, 0xd
je 0x18017ac6f
cmp al, 0xa
je 0x18017ac6f
mov r8d, 0x11
lea rcx, [0x1801b3660]
mov rdx, rsi
call fcn.180170230
test eax, eax
je 0x18017aa64
mov r14d, dword [rbx + 0x158]
cmp r14d, 0x191
je 0x18017aa8d
mov r8d, 0x13
lea rcx, [0x1801b3678]
mov rdx, rsi
call fcn.180170230
test eax, eax
je 0x18017aad3
mov r14d, dword [rbx + 0x158]
cmp r14d, 0x197
jne 0x18017aad3
mov rcx, rsi
call fcn.180173900
mov rsi, rax
test rax, rax
je 0x18017ae65
cmp r14d, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.180175230
mov rcx, rsi
mov r14d, eax
call qword [fcn.180222220]
test r14d, r14d
je 0x18017ac5e
mov eax, r14d
jmp 0x18017afad
mov r8d, 0xf
lea rcx, [0x1801b2f48]
mov rdx, rsi
call fcn.180170230
test eax, eax
je 0x18017ab46
mov r8d, dword [rbx + 0x158]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x18017ab1f
lea rdx, [0x1801b4340]
mov rcx, rbx
call fcn.18016a4f0
lea rcx, [rdi + 0x230]
call fcn.180161900
jmp 0x18017ad41
xor edx, edx
lea r9, [rdi + 0x280]
lea rcx, [rsi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.18017c920
lea rcx, [rdi + 0x230]
call fcn.180161900
jmp 0x18017ad41
lea r8, [0x1801b35c0]
mov rcx, rsi
lea rdx, [0x1801b2f58]
call fcn.180173810
test al, al
jne 0x18017ac57
mov r8d, 0x12
lea rcx, [0x1801b2f68]
mov rdx, rsi
call fcn.180170230
test eax, eax
je 0x18017ac01
mov r8d, dword [rbx + 0x158]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x18017abb4
lea rdx, [0x1801b4378]
mov rcx, rbx
call fcn.18016a4f0
lea rcx, [rdi + 0x230]
call fcn.180161900
jmp 0x18017ad41
lea r8, [0x1801b29f0]
mov rcx, rsi
lea rdx, [0x1801b2f68]
call fcn.180173810
test al, al
je 0x18017ac5e
lea rdx, [0x1801b43b0]
mov rcx, rbx
call fcn.18016a4f0
mov rcx, rbx
mov byte [rdi + 0x28c], 1
call fcn.180194dc0
lea rcx, [rdi + 0x230]
call fcn.180161900
jmp 0x18017ad41
lea r8, [0x1801b35c0]
mov rcx, rsi
lea rdx, [0x1801b3578]
call fcn.180173810
test al, al
jne 0x18017ac57
lea r9, [rbx + 0x158]
mov rcx, rsi
lea r8, [rbp - 0x21]
lea rdx, [0x1801b43d0]
call fcn.180160e80
cmp eax, 2
jne 0x18017ac5e
mov eax, dword [rbx + 0x158]
lea rcx, [rdi + 0x230]
mov dword [rbx + 0x136c], eax
call fcn.180161900
jmp 0x18017ad41
mov byte [rdi + 0x28d], 1
lea rcx, [rdi + 0x230]
call fcn.180161900
jmp 0x18017ad41
cmp dword [rbx + 0x158], 0x197
jne 0x18017ad27
cmp byte [rbx + 0x1305], r12b
jne 0x18017ad27
mov r8, qword [rdi + 0x280]
mov dword [rdi + 0x278], 2
test r8, r8
je 0x18017acc0
lea rdx, [0x1801b42f8]
mov rcx, rbx
call fcn.18016a4f0
cmp dword [rdi + 0x278], r12d
jne 0x18017ad4e
jmp 0x18017ad2e
cmp byte [rdi + 0x28c], r12b
je 0x18017ad27
lea rdx, [0x1801b4320]
mov rcx, rbx
call fcn.18016a4f0
lea rax, [rsi + 1]
mov byte [rbx + 0x1c3], 1
cmp byte [rax], 0xa
lea r9, [rbp - 9]
mov r8d, 1
mov rcx, rbx
cmove rsi, rax
lea rax, [rbp + 0xb]
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 1]
call fcn.180194de0
cmp eax, 0xffffffff
jne 0x18017acb1
lea rdx, [0x1801b42c0]
mov rcx, rbx
call fcn.18016a4f0
mov dword [rdi + 0x288], 2
mov dword [rdi + 0x278], r12d
cmp qword [rdi + 0x280], r12
jne 0x18017ad41
mov dword [rdi + 0x288], 2
cmp dword [rdi + 0x278], r12d
je 0x18017a8c8
mov rsi, qword [rbp - 0x31]
jmp 0x18017a840
cmp dword [rbx + 0x218], r12d
je 0x18017ad98
cmp dword [rbx + 0xe80], r12d
je 0x18017ad98
cmp qword [rbx + 0x1290], r12
je 0x18017ad98
lea rdx, [0x1801b4288]
mov byte [r13 + 0x398], 1
mov rcx, rbx
call fcn.18016a4f0
mov dword [rdi + 0x278], 0
jmp 0x18017a8c8
lea rdx, [0x1801b42a8]
mov rcx, rbx
mov r12d, 1
call fcn.18016a410
mov dword [rdi + 0x278], 0
jmp 0x18017a8c8
mov rax, qword [rbx + 0x198]
test rax, rax
je 0x18017ae88
cmp dword [rdi + 0x288], 2
mov rsi, qword [rbp - 0x31]
mov r12d, dword [rbp + 0x7f]
jne 0x18017a592
mov dl, 1
mov rcx, rbx
call fcn.18017b360
mov rax, qword [rbx + 0x198]
test rax, rax
je 0x18017ae88
mov rsi, qword [rbp - 0x31]
mov r12d, dword [rbp + 0x7f]
jmp 0x18017a592
mov eax, esi
jmp 0x18017afad
mov r8, qword [rbx + 0x1a8]
lea rax, [rbp + 0x67]
mov rdx, qword [r13 + 0x408]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.18016a870
mov ecx, eax
test eax, eax
jne 0x18017ae4c
mov r9, qword [rbp + 0x67]
lea edx, [rax + 2]
mov r8, qword [rbx + 0x1a8]
mov rcx, rbx
call fcn.18016a350
mov ecx, eax
mov rax, qword [rbp + 0x67]
sub qword [rdi + 0x270], rax
add qword [rbx + 0x1a8], rax
mov eax, ecx
jmp 0x18017afad
mov eax, 0x1b
jmp 0x18017afad
lea rdx, [0x1801b42d8]
mov rcx, rbx
call fcn.18016a410
mov eax, 0x38
jmp 0x18017afad
mov rsi, qword [rbp - 1]
mov eax, dword [rbx + 0x136c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x18017af4f
cmp byte [rdi + 0x28d], 0
je 0x18017aed4
cmp qword [rbx + 0x198], 0
je 0x18017aed4
lea rdx, [0x1801b43e0]
mov byte [r13 + 0x398], 1
mov rcx, rbx
call fcn.18016a4f0
mov rcx, rbx
call fcn.18017b2e0
jmp 0x18017af0e
mov rcx, qword [rbx + 0x198]
call qword [fcn.180222220]
mov edx, 2
mov qword [rbx + 0x198], 0
mov rcx, r13
call fcn.18016af60
mov r8, qword [rsi]
mov rdx, r13
mov rcx, rbx
call fcn.18016ae10
mov qword [rsi], 0xffffffffffffffff
mov dword [rdi + 0x288], 0
cmp byte [r13 + 0x398], 0
jne 0x18017afab
lea rcx, [rdi + 0x230]
call fcn.180161890
mov r8d, dword [rbx + 0x158]
lea rdx, [0x1801b43f8]
mov rcx, rbx
call fcn.18016a410
mov eax, 0x38
jmp 0x18017afad
mov dword [rdi + 0x288], 2
mov rcx, qword [rbx + 0x1290]
call qword [fcn.180222220]
mov qword [rbx + 0x1290], 0
lea rdx, [0x1801b4428]
mov r8d, dword [rbx + 0x136c]
mov rcx, rbx
mov word [rbx + 0xe84], 1
call fcn.18016a4f0
mov byte [rbx + 0x1c3], 0
lea rcx, [rdi + 0x230]
mov byte [r13 + 0x3a6], 0
call fcn.180161890
xor eax, eax
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 0x2a
jmp 0x18017afad
lea rdx, [0x1801b4260]
mov rcx, rbx
call fcn.18016a410
mov eax, 0x1c
jmp 0x18017afad