Function at 0x238b76b4ba8
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x318
xor r15d, r15d
mov dword [rsp + 0x44], 4
mov rbx, rdx
mov dword [rsp + 0x50], r15d
mov r13d, ecx
mov dword [rsp + 0x54], 1
mov r14d, 0xff
mov byte [rbp + 0x10], r15b
mov r8d, r14d
lea rcx, [rbp + 0x11]
xor edx, edx
mov edi, r15d
mov esi, r15d
call sub.msvcrt.dll_memset
mov r8d, r14d
mov byte [rbp + 0x110], r15b
xor edx, edx
lea rcx, [rbp + 0x111]
call sub.msvcrt.dll_memset
mov ecx, 0x10c3
call fcn.238b76adaa8
mov ecx, 0x13e6
mov qword [rsp + 0x58], rax
call fcn.238b76adaa8
mov ecx, 0xcf3
mov qword [rsp + 0x60], rax
call fcn.238b76adaa8
mov ecx, 0x1110
mov qword [rsp + 0x68], rax
call fcn.238b76adaa8
mov ecx, 0xc9e
mov qword [rsp + 0x70], rax
call fcn.238b76adaa8
lea r14d, [r15 + 0x68]
mov qword [rsp + 0x78], rax
mov r8d, r14d
mov qword [rbp - 0x80], r15
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], 0x10
lea rax, [rbp]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x58], rax
mov ecx, pe_nt_image_headers64
mov dword [rbp - 0x50], ecx
lea rax, [rbp + 0x110]
mov qword [rbp - 0x28], rax
mov edx, r15d
mov dword [rbp - 0x20], ecx
mov dword [rbp - 0x70], r14d
test rbx, rbx
je 0x238b76b4cd0
cmp byte [rbx], r15b
je 0x238b76b4cd0
mov rax, rbx
inc rax
inc edx
cmp byte [rax], r15b
jne 0x238b76b4cc6
mov rax, qword [0x238b76ca018]
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x50]
test eax, eax
jne 0x238b76b4cf2
mov eax, 0xfffffffc
jmp 0x238b76b50bf
mov r12, r15
mov r15, qword [rbp + 0x298]
mov rax, qword [0x238b76ca018]
xor r9d, r9d
mov edx, dword [rsp + r12*4 + 0x50]
xor r8d, r8d
mov rcx, qword [0x238b76caba0]
mov r14d, 0x8404f700
and dword [rsp + 0x20], 0
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x238b76b4d35
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x238b76b4fef
mov eax, 3
lea r8, [rbp + 0x268]
mov dword [rbp + 0x268], eax
mov edx, eax
mov rcx, rbx
lea edi, [rax + 1]
mov rax, qword [0x238b76ca018]
mov r9d, edi
call qword [rax + 0x28]
mov rax, qword [0x238b76ca018]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0x3a98
lea edx, [rdi - 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x238b76ca018]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x238b76ca018]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 1]
mov rcx, rbx
call qword [rax + 0x28]
movzx r8d, word [rbp - 0x4c]
lea rdx, [rbp + 0x10]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
mov rax, qword [0x238b76ca018]
call qword [rax + 0x38]
mov rdi, rax
test r15, r15
je 0x238b76b4e09
mov rcx, r15
call fcn.238b76b0bc0
test rdi, rdi
jne 0x238b76b4e26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x238b76ca018]
mov rcx, rbx
call qword [rdx + 0x10]
jmp 0x238b76b4fed
cmp dword [rbp - 0x5c], 4
lea rdx, [0x238b76c44cc]
mov eax, 0x8484f700
lea r8, [rbp + 0x110]
cmove r14d, eax
mov rcx, rdi
lea rax, str.POST
cmp r13d, 2
cmove rdx, rax
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rax, qword [0x238b76ca018]
and qword [rsp + 0x20], 0
call qword [rax + 0x40]
mov rsi, rax
test r15, r15
je 0x238b76b4e8b
mov rcx, r15
call fcn.238b76b0bc0
test rsi, rsi
jne 0x238b76b4eb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x238b76ca018]
mov rcx, rdi
call qword [rdx + 0x10]
mov rax, qword [0x238b76ca018]
xor edi, edi
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x238b76b4fed
mov r14d, 4
cmp dword [rbp - 0x5c], r14d
jne 0x238b76b4f12
mov rax, qword [0x238b76ca018]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x48], r14d
lea edx, [r14 + 0x1b]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x238b76b4f0c
mov rax, qword [0x238b76ca018]
lea r8, [rsp + 0x40]
or dword [rsp + 0x40], 0x3380
lea edx, [r14 + 0x1b]
mov r9d, r14d
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
jne 0x238b76b4f12
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r13d, 2
jne 0x238b76b4f86
mov ecx, 0x14b4
call fcn.238b76adaa8
xor r8d, r8d
mov qword [rbp + 0x268], rax
mov r14, rax
test rax, rax
je 0x238b76b4f44
cmp byte [rax], r8b
je 0x238b76b4f44
inc rax
inc r8d
cmp byte [rax], 0
jne 0x238b76b4f39
mov eax, dword [rbp + 0x278]
mov rdx, r14
mov r9, qword [rbp + 0x270]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov rax, qword [0x238b76ca018]
call qword [rax + 0x48]
mov r13d, eax
lea rax, [0x238b76caa8c]
cmp r14, rax
je 0x238b76b4fa3
or rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x268]
call fcn.238b76ac7c4
jmp 0x238b76b4fa3
mov rax, qword [0x238b76ca018]
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x48]
mov r13d, eax
test r15, r15
je 0x238b76b4fb0
mov rcx, r15
call fcn.238b76b0bc0
test r13d, r13d
jne 0x238b76b500a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [0x238b76ca018]
mov rcx, rsi
call qword [rax + 0x10]
mov rax, qword [0x238b76ca018]
mov rcx, rdi
xor esi, esi
call qword [rax + 0x10]
mov rax, qword [0x238b76ca018]
xor edi, edi
mov rcx, rbx
call qword [rax + 0x10]
mov r13d, dword [rbp + 0x260]
xor ebx, ebx
inc r12
mov rcx, rsi
cmp r12, 2
jl 0x238b76b4cfc
test rcx, rcx
jne 0x238b76b500a
lea r14d, [rsi - 2]
jmp 0x238b76b5076
mov rax, qword [0x238b76ca018]
lea r9, [rsp + 0x44]
and qword [rbp + 0x268], 0
lea r8, [rbp + 0x268]
and qword [rsp + 0x20], 0
mov edx, 0x13
mov rcx, rsi
mov dword [rsp + 0x44], 8
call qword [rax + 0x18]
test eax, eax
jne 0x238b76b5050
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, 0xfffffff8
jmp 0x238b76b5069
lea rcx, [rbp + 0x268]
call fcn.238b76b0ab0
mov r14d, eax
cmp eax, 0xc8
je 0x238b76b509f
neg r14d
mov rax, qword [0x238b76ca018]
mov rcx, rsi
call qword [rax + 0x10]
test rdi, rdi
je 0x238b76b5088
mov rdx, qword [0x238b76ca018]
mov rcx, rdi
call qword [rdx + 0x10]
test rbx, rbx
je 0x238b76b509a
mov rdx, qword [0x238b76ca018]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, r14d
jmp 0x238b76b50bf
mov rax, qword [rbp + 0x290]
mov qword [rax], rsi
mov rax, qword [rbp + 0x280]
mov qword [rax], rbx
mov rax, qword [rbp + 0x288]
mov qword [rax], rdi
xor eax, eax
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret