Function at 0x22d9fd570
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
mov r13, rcx
push r12
mov r12, rdx
mov edx, 1
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x22da12e60]
mov dword [rsp + 0x44], 0
mov rax, qword [rbx]
mov dword [rsp + 0x40], 0
cmp dword [rax + 0x400], 1
mov rcx, qword [rax + 0x3e8]
mov dword [rsp + 0x20], 0
sbb esi, esi
xor r9d, r9d
xor r8d, r8d
and esi, 0xff800000
add esi, 0x800100
call qword [rax + 0x218]
test rax, rax
je 0x22d9fd8fb
mov rdi, rax
mov rax, qword [rbx]
xor r9d, r9d
mov rcx, rdi
mov rdx, qword [rax + 0x3c8]
movzx r8d, word [rax + 0x3d0]
call qword [rax + 0x220]
mov rbp, rax
mov rax, qword [rbx]
test rbp, rbp
je 0x22d9fd8e7
mov r8, qword [rax + 0x3d8]
xor r9d, r9d
mov dword [rsp + 0x30], esi
mov rcx, rbp
mov qword [rsp + 0x28], 0
lea rdx, str.POST
mov qword [rsp + 0x20], 0
call qword [rax + 0x228]
mov rsi, rax
mov rax, qword [rbx]
test rsi, rsi
je 0x22d9fd8c7
mov edx, dword [rax + 0x400]
test edx, edx
jne 0x22d9fd738
mov r10, qword [rax + 0x240]
test r13, r13
je 0x22d9fd76c
cmp byte [r13], 0
je 0x22d9fd76c
mov rax, r13
nop dword [rax]
add rax, 1
cmp byte [rax], 0
jne 0x22d9fd680
mov edx, eax
mov rax, r13
sub edx, r13d
nop dword [rax]
add rax, 1
cmp byte [rax], 0
jne 0x22d9fd698
sub eax, r13d
mov dword [rsp + 0x28], edx
xor r8d, r8d
mov r9, r13
mov rcx, rsi
mov qword [rsp + 0x30], 0
lea rdx, str.Content_Type:_application_json
mov dword [rsp + 0x20], eax
call r10
test eax, eax
je 0x22d9fd6e2
mov rax, qword [rbx]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x250]
test eax, eax
jne 0x22d9fd778
mov rax, qword [rbx]
mov rcx, rsi
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rbp
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rdi
call qword [rax + 0x238]
mov rdx, qword [r12]
test rdx, rdx
je 0x22d9fd71b
mov rcx, 0xffffffffffffffff
call fcn.22d9faf80
xor r15d, r15d
add rsp, 0x58
mov eax, r15d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x40], 0x3300
mov r9d, 4
lea r8, [rsp + 0x40]
mov rcx, rsi
mov edx, 0x1f
call qword [rax + 0x230]
mov rax, qword [rbx]
mov r10, qword [rax + 0x240]
test r13, r13
jne 0x22d9fd66b
xor eax, eax
xor edx, edx
jmp 0x22d9fd6a4
mov rax, qword [rbx]
lea rdx, [rsp + 0x4c]
xor r8d, r8d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov edx, 0x20000013
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 4
mov qword [rsp + 0x28], 0
call qword [rax + 0x260]
test eax, eax
je 0x22d9fd6e2
cmp dword [rsp + 0x48], 0xc8
mov rax, qword [rbx]
jne 0x22d9fd6e2
mov ecx, dword [rax + 0x2e0]
mov r9d, 4
mov r8d, 0x1000
mov rdx, 0xffffffffffffffff
test ecx, ecx
jne 0x22d9fd7ef
mov ecx, 2
call fcn.22d9fae90
mov r14, rax
test rax, rax
je 0x22d9fd6e2
xor r15d, r15d
lea r13, [rsp + 0x44]
nop dword [rax + rax]
mov rax, qword [rbx]
mov r9, r13
mov r8d, 0x1000
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x258]
test eax, eax
je 0x22d9fd884
mov edx, dword [rsp + 0x44]
mov rcx, qword [r12]
test edx, edx
je 0x22d9fd888
add edx, r15d
call fcn.22d9face0
test rax, rax
je 0x22d9fd906
mov r8d, dword [rsp + 0x44]
movsxd rdx, r15d
mov qword [r12], rax
add rax, rdx
test r8, r8
je 0x22d9fd880
xor edx, edx
nop
movzx ecx, byte [r14 + rdx]
mov byte [rax + rdx], cl
add rdx, 1
cmp r8, rdx
jne 0x22d9fd860
mov eax, dword [rsp + 0x44]
add r15d, eax
jmp 0x22d9fd810
xor eax, eax
jmp 0x22d9fd875
mov rcx, qword [r12]
movsxd rax, r15d
mov rdx, r14
mov byte [rcx + rax], 0
mov rcx, 0xffffffffffffffff
call fcn.22d9faf80
mov rax, qword [rbx]
mov rcx, rsi
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rbp
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rdi
call qword [rax + 0x238]
jmp 0x22d9fd71e
mov rcx, rbp
mov r15d, 0xfffffffd
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rdi
call qword [rax + 0x238]
jmp 0x22d9fd71e
mov rcx, rdi
mov r15d, 0xfffffffe
call qword [rax + 0x238]
jmp 0x22d9fd71e
mov r15d, 0xffffffff
jmp 0x22d9fd71e
mov rax, qword [rbx]
mov rcx, rsi
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rbp
call qword [rax + 0x238]
mov rax, qword [rbx]
mov rcx, rdi
call qword [rax + 0x238]
mov rdx, qword [r12]
test rdx, rdx
je 0x22d9fd93c
or rcx, 0xffffffffffffffff
call fcn.22d9faf80
mov rdx, r14
jmp 0x22d9fd70f