Function at 0x1800048a4
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
xor r15d, r15d
mov rsi, rcx
mov dword [rbp + 0x80], r15d
mov rcx, qword [0x1800640f0]
lea r14d, [r15 + 1]
mov dl, r14b
call fcn.180007bac
lea rcx, [rsp + 0x70]
mov r13, rax
call fcn.18000d5a0
and qword [rsp + 0x20], r15
lea r9, [rbp + 0x90]
mov dword [rbp + 0x90], 4
lea r8, [rbp + 0x98]
mov byte [r13 + 0xc], r14b
xor r12b, r12b
mov rcx, qword [rsi + 8]
mov edx, 0x20000013
mov byte [rbp + 0x80], r12b
call qword [0x180064060]
mov rcx, qword [rsi + 8]
lea ebx, [r15 + 0x16]
and qword [rsp + 0x20], r15
lea r9, [rbp + 0x90]
mov edx, ebx
xor r8d, r8d
call qword [0x180064060]
mov edx, dword [rbp + 0x90]
lea rcx, [rbp - 0x80]
call fcn.180032894
mov r8, qword [rbp - 0x80]
lea r9, [rbp + 0x90]
mov rcx, qword [rsi + 8]
mov edx, ebx
and qword [rsp + 0x20], r15
call qword [0x180064060]
movsxd rcx, dword [rbp + 0x90]
lea r8, [0x18005a010]
mov rax, qword [rbp - 0x80]
lea rdx, [rsp + 0x48]
mov byte [rcx + rax], r12b
lea rcx, [rbp - 0x80]
mov byte [r13 + 0xc], r12b
call fcn.1800337b4
mov eax, dword [rsi + 0x30]
shr eax, 3
and al, r14b
je 0x180004c15
lea rdi, [rsi + 0x50]
xor edx, edx
mov rcx, rdi
call fcn.18003d5e0
cmp byte [rax + 0x50], r15b
jne 0x180004b32
lea r12, [rsi + 0xd8]
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.18001da70
mov r8, rax
lea rdx, [rsi + 0xa8]
lea rcx, [rbp - 0x38]
call fcn.18001d144
jmp 0x180004acc
lea rcx, [rbp - 0x38]
call fcn.18003246c
lea rdx, [rsp + 0x30]
movzx ebx, al
lea rcx, [rbp - 0x38]
call fcn.18001d8cc
sub ebx, 0x16
je 0x180004aa6
sub ebx, r14d
je 0x180004a5e
cmp ebx, r14d
jne 0x180004acc
lea rcx, [rsp + 0x30]
call fcn.180030ca8
test al, al
je 0x180004a4f
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.180030cec
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180031f08
lea rcx, [rbp - 0x50]
call fcn.180031efc
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.180031f08
jmp 0x180004acc
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1800320fc
mov rcx, rax
lea rdx, [rbp - 0x50]
mov r8b, 0xa
call fcn.180033654
mov rcx, rax
call fcn.180035cd0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180032adc
lea rcx, [rbp - 0x50]
call fcn.180032a94
lea rcx, [rsp + 0x60]
call fcn.180032a74
jmp 0x180004acc
lea rcx, [rsp + 0x30]
call fcn.180032490
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.1800325dc
mov rcx, qword [rsp + 0x70]
movzx r8d, ax
mov edx, ebx
call fcn.180013718
lea rcx, [rsp + 0x30]
call fcn.180031efc
lea rcx, [rbp - 0x38]
call fcn.180032388
test al, al
je 0x1800049ec
mov rcx, r12
call fcn.180032388
test al, al
jne 0x180004b1d
xor edx, edx
mov rcx, rdi
call fcn.18003d5e0
cmp byte [rax + 0x49], r15b
je 0x180004b08
call fcn.180018788
xor edx, edx
mov rcx, rdi
call fcn.18003d5e0
cmp byte [rax + 0x48], r15b
je 0x180004b1d
call fcn.180018c9c
lea rcx, [rbp - 0x20]
call fcn.180031efc
lea rcx, [rbp - 0x38]
call fcn.180031efc
mov r12b, r15b
mov rcx, qword [rsp + 0x70]
add rcx, 0x3c0
call fcn.1800368f0
test al, al
je 0x180004b81
xor edx, edx
mov rcx, rdi
call fcn.18003d5e0
mov rdi, qword [rsp + 0x70]
lea rcx, [rsi + 0xd8]
mov rbx, qword [rax + 0x18]
call fcn.180032844
mov r9d, dword [rbp + 0x98]
mov r8, rbx
mov edx, 5
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.18001054c
cmp dword [rbp + 0x98], 0xc8
je 0x180004c15
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.180032894
mov eax, dword [rsp + 0x68]
lea r9, [rbp + 0x90]
mov r8, qword [rsp + 0x60]
mov edx, 0x14
and qword [rsp + 0x20], r15
mov dword [rbp + 0x90], eax
mov byte [r13 + 0xc], r14b
mov rcx, qword [rsi + 8]
call qword [0x180064060]
lea rcx, [rsi + 0x148]
mov byte [r13 + 0xc], r15b
lea rdx, [rbp - 0x60]
call fcn.18003d254
mov ecx, dword [rbp + 0x98]
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x70]
mov r9, qword [rax]
lea r8d, [rdx + 7]
call fcn.18001045c
lea rcx, [rbp - 0x60]
call fcn.180032a74
lea rcx, [rsp + 0x60]
call fcn.180032a74
mov eax, dword [rsi + 0x30]
shr eax, 2
and al, r14b
je 0x180004c95
lea rdi, [rsi + 0xd8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180031e24
lea rcx, [rsi + 0x38]
xor edx, edx
call fcn.18003d5e0
lea rdx, [rsi + 0x110]
mov r8, rdi
mov rcx, rax
call fcn.180009b84
test eax, eax
je 0x180004c8b
mov rcx, qword [0x1800640f8]
mov rdx, rsi
call fcn.18000512c
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rax + 0x18]
call fcn.180031f08
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.180031f08
mov r12b, r14b
mov byte [rbp + 0x80], r14b
lea rcx, [rsp + 0x30]
call fcn.180031efc
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.180032894
xor edi, edi
mov r13d, 0x12e
cmp dword [rsp + 0x48], edi
jle 0x180004e7b
mov edx, 0xb
lea rcx, [rbp - 0x60]
call fcn.18002b41c
mov edx, edi
lea rcx, [rsp + 0x48]
mov rbx, qword [rax]
call fcn.180033c54
mov rdx, rbx
mov rcx, rax
call fcn.1800358a8
lea rcx, [rbp - 0x60]
mov bl, al
call fcn.180032a74
test bl, bl
je 0x180004d76
test r12b, r12b
je 0x180004e67
lea rcx, [rsi + 0xd8]
call fcn.180032844
mov edx, eax
lea rcx, [rbp - 8]
call fcn.180034338
mov edx, 0xb
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.18002b41c
mov edx, edi
lea rcx, [rsp + 0x48]
mov r12, qword [rax]
call fcn.180033c54
mov rcx, qword [rax]
test rcx, rcx
je 0x180004d39
mov byte [rcx], 0
mov rdx, r12
mov rcx, rax
call fcn.18003330c
mov dl, 0x3a
mov rcx, rax
call fcn.180033298
mov dl, 0x20
mov rcx, rax
call fcn.180033298
mov rdx, rbx
mov rcx, rax
call fcn.18003330c
lea rcx, [rsp + 0x60]
call fcn.180032a74
lea rcx, [rbp - 8]
jmp 0x180004e62
mov edx, 7
lea rcx, [rbp + 8]
call fcn.18002b41c
mov edx, edi
lea rcx, [rsp + 0x48]
mov rbx, qword [rax]
call fcn.180033c54
mov rdx, rbx
mov rcx, rax
call fcn.1800358a8
lea rcx, [rbp + 8]
mov bl, al
call fcn.180032a74
test bl, bl
je 0x180004de0
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.180033c54
mov r8b, 0x20
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180034e24
lea rcx, [rsi + 0x110]
mov rdx, qword [rax]
call fcn.180032a9c
lea rcx, [rbp + 0x18]
jmp 0x180004e62
cmp dword [rbp + 0x98], r13d
jne 0x180004e1d
mov edx, 9
lea rcx, [rbp - 0x50]
or r15d, r14d
call fcn.18002b41c
mov edx, edi
lea rcx, [rsp + 0x48]
mov rbx, qword [rax]
call fcn.180033c54
mov rdx, rbx
mov rcx, rax
call fcn.1800358a8
test al, al
je 0x180004e1d
mov bl, r14b
jmp 0x180004e1f
xor bl, bl
test r14b, r15b
je 0x180004e31
and r15d, 0xfffffffe
lea rcx, [rbp - 0x50]
call fcn.180032a74
test bl, bl
je 0x180004e67
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.180033c54
mov r8b, 0x20
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180034e24
lea rcx, [rbp - 0x70]
mov rdx, qword [rax]
call fcn.180032a9c
lea rcx, [rsp + 0x30]
call fcn.180032a74
mov r12b, byte [rbp + 0x80]
add edi, r14d
cmp edi, dword [rsp + 0x48]
jl 0x180004cb2
lea r8, [0x18005a010]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.180033d44
lea rcx, [rsi + 0x1b8]
mov rdx, qword [rax]
call fcn.180032a9c
lea rcx, [rsp + 0x30]
call fcn.180032a74
mov rdx, qword [rsi + 8]
mov rcx, qword [0x180064100]
call fcn.18002a428
test al, al
je 0x180004edb
cmp dword [rbp + 0x98], r13d
jne 0x180004edb
mov r8, qword [rbp - 0x70]
mov rdx, qword [rsi + 8]
mov rcx, qword [0x180064100]
call fcn.18002a4a8
mov eax, dword [rsi + 0x30]
shr eax, 4
and al, r14b
je 0x180004f0c
mov edx, 0x12
lea rcx, [rsp + 0x30]
or r15d, 2
call fcn.18002b41c
lea rcx, [rsi + 0x110]
mov rdx, qword [rax]
call fcn.1800358a8
test al, al
jne 0x180004f0f
xor r14b, r14b
test r15b, 2
je 0x180004f1f
lea rcx, [rsp + 0x30]
call fcn.180032a74
test r14b, r14b
je 0x180004f76
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.18003d5e0
lea rcx, [rbp + 0x80]
mov rdi, rax
call fcn.18001e388
lea rcx, [rsi + 0x148]
lea rdx, [rsp + 0x30]
mov rbx, qword [rax]
call fcn.18003d254
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.18001e920
lea rcx, [rbp + 0x80]
call fcn.18001e610
lea rcx, [rsp + 0x30]
call fcn.180032a74
mov rcx, qword [rsp + 0x70]
or r8d, 0xffffffff
mov rdx, qword [rsi + 8]
add rcx, 8
call fcn.180020ee0
test rax, rax
je 0x180004fae
mov rbx, qword [rax + 0x60]
lea rcx, [rsp + 0x48]
call fcn.180035cd0
lea rcx, [rbx + 0xa8]
mov rdx, rax
call fcn.180032adc
lea rcx, [rbp - 0x70]
call fcn.180032a74
lea rcx, [rsp + 0x48]
call fcn.180032a94
lea rcx, [rbp - 0x80]
call fcn.180032a74
lea rcx, [rsp + 0x70]
call fcn.18000ded4
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret