Function at 0x41c5b0
Capabilities:
Check http status code
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x288
cmp r9d, 0xc8
mov qword [rsp + 0x2d0], rcx
mov dword [rsp + 0x2d8], edx
mov qword [rsp + 0x2e0], r8
mov dword [rsp + 0x2e8], r9d
je 0x41d2d0
mov eax, 0x64
sub eax, r9d
add eax, eax
lea ebx, [rax + 7]
test eax, eax
lea ecx, [rax - 1]
mov dword [rsp + 0x108], eax
cmovns ebx, eax
mov dword [rsp + 0x11c], ecx
sar ebx, 3
mov dword [rsp + 0xfc], ebx
movsxd rsi, dword [rsp + 0x108]
xor eax, eax
lea rdi, [rsp + 0x1b0]
cmp esi, dword [rsp + 0x2d8]
mov ecx, 0x19
mov qword [rsp + 0x110], rdi
rep stosq qword [rdi], rax
jg 0x41d055
mov ebp, dword [rsp + 0xfc]
mov qword [rsp + 0x100], rsi
xor r13d, r13d
xor edi, edi
xor edx, edx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0xb0], 0
xor r9d, r9d
mov r8d, ebp
and ebp, 0xfffffffe
mov qword [rsp + 0x40], 0
shr r8d, 1
mov dword [rsp + 0x10c], ebp
xor ebp, ebp
mov dword [rsp + 0x118], r8d
mov qword [rsp + 0xa0], 0
xor r12d, r12d
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0
xor r8d, r8d
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0xb8], rbp
nop word [rax + rax]
mov r10d, dword [rsp + 0xfc]
test r10d, r10d
jle 0x41ca57
cmp dword [rsp + 0xfc], 1
je 0x41d2c2
mov r11, qword [rsp + 0x2d0]
mov r12d, dword [rsp + 0x118]
movdqu xmm0, xmmword [r11]
cmp r12d, 1
pxor xmm0, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0x1b0], xmm0
jbe 0x41c8f4
cmp r12d, 2
mov r13, qword [rsp + 0x2d0]
movdqu xmm1, xmmword [r13 + 0x10]
pxor xmm1, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x1c0], xmm1
je 0x41c8f4
cmp r12d, 3
movdqu xmm2, xmmword [r13 + 0x20]
pxor xmm2, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x1d0], xmm2
je 0x41c8f4
cmp r12d, 4
movdqu xmm3, xmmword [r13 + 0x30]
pxor xmm3, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x1e0], xmm3
je 0x41c8f4
cmp r12d, 5
movdqu xmm4, xmmword [r13 + 0x40]
pxor xmm4, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x1f0], xmm4
je 0x41c8f4
cmp r12d, 6
movdqu xmm5, xmmword [r13 + 0x50]
pxor xmm5, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x200], xmm5
je 0x41c8f4
cmp r12d, 7
movdqu xmm0, xmmword [r13 + 0x60]
pxor xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0x210], xmm0
je 0x41c8f4
cmp r12d, 8
movdqu xmm1, xmmword [r13 + 0x70]
pxor xmm1, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x220], xmm1
je 0x41c8f4
cmp r12d, 9
movdqu xmm2, xmmword [r13 + 0x80]
pxor xmm2, xmmword [rsp + 0x230]
movaps xmmword [rsp + 0x230], xmm2
je 0x41c8f4
cmp r12d, 0xa
movdqu xmm3, xmmword [r13 + 0x90]
pxor xmm3, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x240], xmm3
je 0x41c8f4
cmp r12d, 0xb
movdqu xmm4, xmmword [r13 + 0xa0]
pxor xmm4, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x250], xmm4
je 0x41c8f4
movdqu xmm5, xmmword [r13 + 0xb0]
pxor xmm5, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x260], xmm5
movsxd r9, dword [rsp + 0x10c]
mov r14d, dword [rsp + 0xfc]
cmp r9d, r14d
je 0x41c91d
mov r15, qword [rsp + 0x2d0]
mov rbx, qword [r15 + r9*8]
xor qword [rsp + r9*8 + 0x1b0], rbx
mov rdi, qword [rsp + 0x1d8]
mov rax, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x208]
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x1e8]
mov r9, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1c0]
mov qword [rsp + 0x38], rdi
mov rbp, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x248]
mov r10, qword [rsp + 0x1c8]
mov r11, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x230]
mov r15, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x228]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x70], r13
mov qword [rsp + 0xb8], rdi
mov r12, qword [rsp + 0x1f8]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x98], r11
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x60], r14
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x40], rbx
mov r9, qword [rsp + 0x250]
mov rbp, qword [rsp + 0x238]
mov r8, qword [rsp + 0x258]
mov rax, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x210]
mov rdx, qword [rsp + 0x260]
mov rdi, qword [rsp + 0x268]
mov qword [rsp + 0x68], r8
mov r13, qword [rsp + 0x270]
mov r8, qword [rsp + 0x1b0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x80], rsi
lea r10, [0x004ad680]
mov rcx, r8
mov r11, r9
mov rsi, rbp
mov r14, r12
mov qword [rsp + 0xd0], r10
mov r8, qword [rsp + 0x48]
mov rbp, qword [rsp + 0xa8]
xor r8, qword [rsp + 0x50]
mov r10, qword [rsp + 0x38]
xor r8, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
xor r8, qword [rsp + 0x60]
xor rbp, r14
xor rbp, qword [rsp + 0xb0]
xor r8, qword [rsp + 0x68]
xor rbp, qword [rsp + 0xb8]
xor r10, rcx
xor r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x88]
xor r15, qword [rsp + 0x80]
xor r12, qword [rsp + 0x90]
xor r12, qword [rsp + 0x98]
xor r10, qword [rsp + 0x30]
xor r12, qword [rsp + 0xa0]
mov r9, r8
xor rbp, r13
xor r10, qword [rsp + 0x40]
rol r9, 1
mov rax, rbp
xor r9, rbp
xor r15, rsi
rol rax, 1
xor r15, rdx
xor rcx, r9
mov rbp, qword [rsp + 0xb8]
xor r12, rdi
mov qword [rsp + 0xc8], rcx
mov rcx, r15
xor r10, r11
rol rcx, 1
mov rbx, r12
xor rcx, r10
rol rbx, 1
rol r10, 1
xor r8, rbx
mov rbx, r10
mov r10, qword [rsp + 0x50]
xor rax, r15
xor rbx, r12
xor r10, rcx
mov r15, r10
mov r10, qword [rsp + 0xb0]
ror r15, 0x14
xor r11, r9
xor rdi, rax
rol r11, 0x12
ror rdi, 8
mov qword [rsp + 0x28], r15
mov qword [rsp + 0xb0], r11
mov qword [rsp + 0xb8], rdi
xor r10, rbx
mov r11, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
mov r12, r10
ror r12, 0x19
mov r15, qword [rsp + 0x80]
xor r14, rbx
mov qword [rsp + 0xd8], r12
mov r12, qword [rsp + 0x98]
xor rbp, rbx
xor r11, r8
xor rdi, r9
xor r13, rbx
ror r11, 2
ror rdi, 0x17
xor rdx, r8
mov qword [rsp + 0xe0], r11
mov qword [rsp + 0xe8], rdi
xor r15, r8
mov r10, qword [rsp + 0xa8]
mov r11, qword [rsp + 0x90]
xor r12, rax
mov rdi, qword [rsp + 0x60]
ror rdx, 3
rol r12, 0x19
rol rbp, 8
rol r13, 0xe
rol r14, 0x14
xor r11, rax
xor r10, rbx
mov rbx, qword [rsp + 0x68]
ror r11, 9
rol r10, 0x1b
xor rdi, rcx
mov qword [rsp + 0x68], r11
mov r11, qword [rsp + 0x38]
ror rdi, 0x13
xor rbx, rcx
ror r15, 0x15
mov qword [rsp + 0x40], r10
rol rbx, 2
mov r10, qword [rsp + 0x88]
mov qword [rsp + 0xc0], r15
xor r11, r9
mov qword [rsp + 0xf0], rbx
not r15
ror r11, 0x1c
xor rsi, r8
xor r9, qword [rsp + 0x30]
mov rbx, rsi
mov rsi, qword [rsp + 0x58]
xor r10, rax
xor rax, qword [rsp + 0xa0]
rol r10, 0x1c
xor r8, qword [rsp + 0x78]
rol rbx, 0xf
xor rsi, rcx
xor rcx, qword [rsp + 0x48]
rol r9, 3
rol rsi, 0xa
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x28]
rol rax, 0x15
and r15, rax
rol r8, 6
rol rcx, 1
xor rsi, r15
mov r15, rax
mov qword [rsp + 0x48], rsi
mov rsi, qword [rsp + 0xc0]
not r15
and r15, r13
xor rsi, r15
mov r15, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rsi
mov rsi, r13
not rsi
and r15, rsi
xor r15, rax
mov qword [rsp + 0x88], r15
mov r15, qword [rsp + 0xc8]
mov rsi, r15
not rsi
and rsi, qword [rsp + 0x28]
mov rax, rsi
xor rax, r13
mov qword [rsp + 0xa8], rax
mov rax, r14
not rax
mov rsi, rax
mov rax, r9
and rsi, r9
not rax
mov r13, rsi
mov rsi, rax
mov rax, rdi
xor r13, r10
and rsi, rdi
not rax
mov qword [rsp + 0x38], r13
mov r13, rsi
mov rsi, rax
mov rax, rdx
xor r13, r14
and rsi, rdx
not rax
mov qword [rsp + 0x50], r13
mov r13, rsi
mov rsi, rax
xor r13, r9
mov rax, r12
and rsi, r10
not r10
not rax
mov r9, rsi
and r14, r10
mov r10, qword [rsp + 0xb0]
xor r9, rdi
xor r14, rdx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x90], r9
mov r9, r8
not r9
mov rsi, r9
and rsi, r12
mov rdx, rsi
mov rsi, rax
mov rax, rbp
and rsi, rbp
not rax
xor rdx, rcx
mov rdi, rsi
mov rsi, rax
mov qword [rsp + 0x30], rdx
and rsi, r10
xor rdi, r8
mov rax, rbx
mov r13, rsi
mov qword [rsp + 0x58], rdi
not rax
xor r13, r12
mov r12, r10
mov r9, rax
not r12
mov qword [rsp + 0x80], r13
mov rsi, qword [rsp + 0x60]
and r12, rcx
not rcx
mov r13, qword [rsp + 0xb8]
and rcx, r8
xor r12, rbp
mov rbp, qword [rsp + 0x40]
xor rcx, r10
mov r10, r11
mov rdi, rsi
not r10
not rdi
mov rax, r13
mov rdx, r10
mov qword [rsp + 0xb0], rcx
not rax
and rdx, rsi
mov qword [rsp + 0x98], r12
and r9, r13
mov rcx, rdx
mov rdx, rdi
mov r10, qword [rsp + 0xe8]
and rdx, rbx
xor rcx, rbp
xor rsi, r9
mov r8, rdx
mov rdx, rax
mov qword [rsp + 0x40], rcx
and rdx, rbp
not rbp
mov rcx, qword [rsp + 0x68]
mov r12, rdx
mov rdx, rbp
xor r8, r11
and rdx, r11
mov rbp, qword [rsp + 0xd8]
mov qword [rsp + 0x60], r8
mov r11, rdx
mov r8, qword [rsp + 0xf0]
xor r12, rbx
xor r11, r13
mov r13, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xd0]
mov qword [rsp + 0xb8], r11
mov r11, rcx
mov rbx, rbp
not r11
mov rdi, r8
not rbx
and r11, rbp
not rdi
and rbx, r10
and rdi, r13
xor r11, r13
not r13
xor rbx, rcx
and r13, rcx
mov rcx, qword [rsp + 0x28]
mov rax, qword [r9]
mov rdx, r10
xor rdi, r10
not rdx
xor r13, r8
mov qword [rsp + 0xa0], r12
not rcx
and rcx, qword [rsp + 0xc0]
and rdx, r8
xor rdx, rbp
xor rax, r15
lea r15, [0x004ad740]
add r9, 8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xd0], r9
xor rcx, rax
cmp r15, r9
jne 0x41ca72
mov qword [rsp + 0x28], rcx
movq xmm1, qword [rsp + 0x70]
movq xmm0, qword [rsp + 0x28]
movhps xmm1, qword [rsp + 0x88]
movq xmm2, qword [rsp + 0xa8]
movhps xmm0, qword [rsp + 0x48]
movq xmm3, qword [rsp + 0x50]
movhps xmm2, qword [rsp + 0x38]
movhps xmm3, qword [rsp + 0x78]
mov qword [rsp + 0x28], r14
mov r12, r14
movq xmm4, qword [rsp + 0x90]
mov rbp, rsi
movhps xmm4, qword [rsp + 0x28]
movq xmm5, qword [rsp + 0x30]
mov qword [rsp + 0x28], rsi
movhps xmm5, qword [rsp + 0x58]
mov r8, rcx
movaps xmmword [rsp + 0x1b0], xmm0
mov r9, r11
movaps xmmword [rsp + 0x1c0], xmm1
movaps xmmword [rsp + 0x1d0], xmm2
movaps xmmword [rsp + 0x1e0], xmm3
movaps xmmword [rsp + 0x1f0], xmm4
movaps xmmword [rsp + 0x200], xmm5
movq xmm0, qword [rsp + 0x80]
movq xmm1, qword [rsp + 0xb0]
movhps xmm0, qword [rsp + 0x98]
movq xmm2, qword [rsp + 0x60]
movhps xmm1, qword [rsp + 0x40]
movq xmm3, qword [rsp + 0xa0]
movhps xmm2, qword [rsp + 0x28]
movhps xmm3, qword [rsp + 0xb8]
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x220], xmm1
movaps xmmword [rsp + 0x230], xmm2
movaps xmmword [rsp + 0x240], xmm3
mov qword [rsp + 0x28], r11
mov r14d, dword [rsp + 0x108]
sub dword [rsp + 0x2d8], r14d
movq xmm4, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x100]
mov qword [rsp + 0x28], rdx
movhps xmm4, qword [rsp + 0x68]
add qword [rsp + 0x2d0], rsi
cmp r14d, dword [rsp + 0x2d8]
movq xmm5, qword [rsp + 0x28]
mov qword [rsp + 0x28], rdi
movhps xmm5, qword [rsp + 0x28]
mov qword [rsp + 0x270], r13
movaps xmmword [rsp + 0x250], xmm4
movaps xmmword [rsp + 0x260], xmm5
jle 0x41c740
lea rcx, [rsp + 0x120]
movsxd rbx, dword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r11, rax
mov eax, dword [rsp + 0x2d8]
mov r10d, dword [rsp + 0x108]
xor edx, edx
mov byte [rsp + rbx + 0x120], 1
add eax, 1
sub r10d, eax
cdqe
lea rcx, [r11 + rax]
movsxd r8, r10d
call sub.msvcrt.dll_memset
movsxd rdx, dword [rsp + 0x11c]
mov edi, dword [rsp + 0xfc]
or byte [rsp + rdx + 0x120], 0x80
test edi, edi
jle 0x41d285
cmp edi, 1
je 0x41d2f6
shr edi, 1
movdqa xmm0, xmmword [rsp + 0x1b0]
cmp edi, 1
pxor xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x1b0], xmm0
je 0x41d260
cmp edi, 2
movdqa xmm1, xmmword [rsp + 0x1c0]
pxor xmm1, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x1c0], xmm1
je 0x41d260
cmp edi, 3
movdqa xmm2, xmmword [rsp + 0x1d0]
pxor xmm2, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x1d0], xmm2
je 0x41d260
cmp edi, 4
movdqa xmm3, xmmword [rsp + 0x1e0]
pxor xmm3, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x1e0], xmm3
je 0x41d260
cmp edi, 5
movdqa xmm4, xmmword [rsp + 0x1f0]
pxor xmm4, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x1f0], xmm4
je 0x41d260
cmp edi, 6
movdqa xmm5, xmmword [rsp + 0x200]
pxor xmm5, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x200], xmm5
je 0x41d260
cmp edi, 7
movdqa xmm0, xmmword [rsp + 0x210]
pxor xmm0, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x210], xmm0
je 0x41d260
cmp edi, 8
movdqa xmm1, xmmword [rsp + 0x220]
pxor xmm1, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x220], xmm1
je 0x41d260
cmp edi, 9
movdqa xmm2, xmmword [rsp + 0x230]
pxor xmm2, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x230], xmm2
je 0x41d260
cmp edi, 0xa
movdqa xmm3, xmmword [rsp + 0x240]
pxor xmm3, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0x240], xmm3
je 0x41d260
cmp edi, 0xb
movdqa xmm4, xmmword [rsp + 0x250]
pxor xmm4, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x250], xmm4
je 0x41d260
movdqa xmm5, xmmword [rsp + 0x260]
pxor xmm5, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x260], xmm5
nop word [rax + rax]
mov r13d, dword [rsp + 0xfc]
mov eax, r13d
and eax, 0xfffffffe
cmp eax, r13d
je 0x41d285
cdqe
mov r15, qword [rsp + rax*8 + 0x120]
xor qword [rsp + rax*8 + 0x1b0], r15
mov rbp, qword [rsp + 0x110]
mov rcx, rbp
call fcn.0041ad50
movsxd r8, dword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2e0]
mov rdx, rbp
call sub.msvcrt.dll_memcpy
nop
add rsp, 0x288
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
jmp 0x41c909
mov dword [rsp + 0xfc], 0x11
mov dword [rsp + 0x11c], 0x87
mov dword [rsp + 0x108], 0x88
jmp 0x41c61c
xor eax, eax
jmp 0x41d273