Function at 0x1400d2a23
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov edi, 0xc0000001
test rcx, rcx
je 0x1400d2eb2
mov rbx, rcx
lea rcx, [0x1402b7b20]
lea rdx, str._n
call fcn.1400f5160
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call rax
test eax, eax
je 0x1400d2eb2
mov ebp, eax
mov edx, eax
add rdx, rdx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
je 0x1400d2eb2
mov rsi, rax
lea rcx, [0x1402b7b20]
lea rdx, str._n
call fcn.1400f5160
mov rcx, rbx
mov rdx, rsi
mov r8d, ebp
call rax
cmp ebp, eax
je 0x1400d2abe
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, rax
test rax, rax
je 0x1400d2eb2
movzx eax, word [rsi]
cmp eax, 0x2a
je 0x1400d2b5e
cmp eax, 0x21
jne 0x1400d2b7b
lea rbx, [rsi + 2]
lea rcx, [0x1402b8c40]
lea rdx, [0x1402b8c60]
call fcn.1400f5160
lea rdx, [rsp + 0x20]
mov rcx, rbx
call rax
xor edi, edi
test rax, rax
je 0x1400d2ea9
cmp dword [rsp + 0x20], 0
jle 0x1400d2ea9
mov r14, rax
mov rdi, rax
add rdi, 8
lea r12, [0x14022cec0]
xor r15d, r15d
mov rdx, qword [r12]
mov rcx, qword [r14]
call fcn.1401fe378
test eax, eax
je 0x1400d2c3e
inc r15
add r12, 0x20
cmp r15, 0x13
jne 0x1400d2b1e
mov rcx, rbx
call fcn.140200bb4
lea r8d, [rax*2 + 2]
mov ecx, 0x22c003
mov rdx, rbx
call fcn.1400a16e0
jmp 0x1400d2b74
lea rcx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x140286860]
call fcn.14000123b
xor edi, edi
jmp 0x1400d2ea9
lea rcx, [0x1402b8c40]
lea rdx, [0x1402b8c60]
call fcn.1400f5160
lea rdx, [rsp + 0x24]
mov rcx, rsi
call rax
xor edi, edi
test rax, rax
je 0x1400d2ea9
cmp dword [rsp + 0x24], 0
jle 0x1400d2ea9
mov r13, rax
mov r14, rax
mov rcx, qword [r13]
lea rdx, [0x1402a6680]
call fcn.1402029e4
xor ebx, ebx
mov r12, qword [r13]
test rax, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r13
je 0x1400d2c68
mov rdi, rax
mov rdx, rax
sub rdx, r12
add rdx, 2
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
je 0x1400d2c6d
mov r15, rax
lea rsi, [rdi + 4]
mov rbp, r13
mov r13, qword [r14]
mov rax, rsi
sub rax, r13
shr rax, 1
mov r14d, eax
mov rcx, r13
call fcn.140200bb4
xor r12d, r12d
cmp r14, rax
cmovb r12, rsi
sub rdi, r13
mov rcx, r15
mov rdx, r13
mov r13, rbp
mov r8, rdi
call fcn.140201ae0
mov r14, r15
jmp 0x1400d2c73
shl r15, 5
lea rcx, str.W_v_n_
mov rax, qword [r15 + rcx]
test rax, rax
je 0x1400d2ec5
mov ecx, dword [rsp + 0x20]
dec ecx
mov rdx, rdi
call rax
mov edi, eax
jmp 0x1400d2ea9
xor r14d, r14d
jmp 0x1400d2c73
xor r14d, r14d
xor r12d, r12d
add r13, 8
mov qword [rsp + 0x40], r13
lea rbp, [0x140235b10]
xor eax, eax
xor edi, edi
mov qword [rsp + 0x38], r14
mov r13, rax
test r14, r14
je 0x1400d2cbd
mov rax, qword [rbp + r13*8]
mov rdx, qword [rax]
mov rcx, r14
call fcn.1401fe378
xor r15d, r15d
test eax, eax
sete r15b
jne 0x1400d2d3d
test r12, r12
jne 0x1400d2ccc
jmp 0x1400d2d3d
mov r15d, 1
test r12, r12
je 0x1400d2d59
test ebx, ebx
je 0x1400d2cd7
mov ebx, 1
jmp 0x1400d2d3d
mov rbp, qword [rbp + r13*8]
xor ebx, ebx
cmp word [rbp + 0x18], 0
je 0x1400d2d36
mov esi, 8
xor r14d, r14d
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + rsi]
mov rcx, r12
call fcn.1401fe378
test eax, eax
je 0x1400d2d13
inc r14
movzx eax, word [rbp + 0x18]
add rsi, 0x18
cmp r14, rax
jb 0x1400d2ced
jmp 0x1400d2d31
mov rax, qword [rbp + 0x20]
lea r8, [r14 + r14*2]
mov ecx, dword [rsp + 0x24]
dec ecx
mov rdx, qword [rsp + 0x40]
call qword [rax + r8*8]
mov edi, eax
mov ebx, 1
mov r14, qword [rsp + 0x38]
lea rbp, [0x140235b10]
test r15d, r15d
jne 0x1400d2d50
lea rax, [r13 + 1]
cmp r13, 0x18
jb 0x1400d2c8c
test r15d, r15d
je 0x1400d2e18
test ebx, ebx
jne 0x1400d2e88
movzx eax, r13w
mov rbx, qword [rbp + rax*8]
mov r8, qword [rbx]
lea rcx, [0x1402a6780]
mov rdx, r12
call fcn.14000123b
mov rdx, qword [rbx]
lea rcx, [0x1402a6800]
call fcn.14000123b
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400d2da0
lea rcx, [0x1402a6820]
call fcn.14000123b
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400d2db5
lea rcx, [0x1402a6840]
call fcn.14000123b
lea rcx, [0x1402a6760]
call fcn.14000123b
cmp word [rbx + 0x18], 0
je 0x1400d2e7c
xor r13d, r13d
lea r15, [0x1402a6700]
lea r12, [0x1402a6720]
xor ebp, ebp
mov rax, qword [rbx + 0x20]
mov rdx, qword [rax + r13 + 8]
mov rcx, r15
call fcn.14000123b
mov rax, qword [rbx + 0x20]
mov rdx, qword [rax + r13 + 0x10]
test rdx, rdx
je 0x1400d2e06
mov rcx, r12
call fcn.14000123b
inc rbp
movzx eax, word [rbx + 0x18]
add r13, 0x18
cmp rbp, rax
jb 0x1400d2ddf
jmp 0x1400d2e7c
lea rcx, [0x1402a66a0]
mov rdx, r14
call fcn.14000123b
xor ebx, ebx
lea r15, [0x1402a6700]
lea r12, [0x1402a6740]
lea r13, [0x1402a6720]
mov rsi, qword [rbx + rbp]
mov rdx, qword [rsi]
mov rcx, r15
call fcn.14000123b
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1400d2e5e
mov rcx, r13
call fcn.14000123b
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1400d2e6f
mov rcx, r12
call fcn.14000123b
add rbx, 8
cmp rbx, 0xc8
jne 0x1400d2e3e
lea rcx, [0x1402a6760]
call fcn.14000123b
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
test r14, r14
je 0x1400d2ea0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [r15 + rcx + 8]
xor edi, edi
xor edx, edx
xor r8d, r8d
call fcn.1400a16e0
jmp 0x1400d2ea9