Function at 0x14009c150
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x38], rcx
mov dword [rsp + 0x40], 0
mov ecx, dword [0x1403fe8f0]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
lea rbx, [0x1403c6820]
mov eax, dword [r8 + rdx]
cmp dword [0x1403c6870], eax
jg 0x14009c79c
mov qword [rbp - 0x30], rbx
mov rcx, rbx
call fcn.140294294
test eax, eax
jne 0x14009c7df
mov r13, qword [rdi + 0x10]
mov r15, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 0x10
jb 0x14009c1ea
mov r15, qword [rdi]
mov rsi, 0xffffffffffffffff
cmp r13, 0xa
jbe 0x14009c214
lea r8, [r13 - 0xa]
lea rcx, [r15 + 0xa]
lea edx, [rsi + 0x30]
call fcn.1402985f0
mov rbx, rax
test rax, rax
je 0x14009c214
sub rbx, r15
jmp 0x14009c217
mov rbx, rsi
mov qword [rsp + 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov r15, rbx
cmp r13, rbx
cmovb r15, r13
mov rax, rdi
mov qword [rsp + 0x50], rax
cmp r12, 0x10
jb 0x14009c24d
mov rax, qword [rdi]
mov qword [rsp + 0x50], rax
movabs r12, 0x7fffffffffffffff
cmp r15, r12
ja 0x14009c7e7
mov ecx, reloc.WS2_32.dll_shutdown
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
cmp r15, 0x10
jae 0x14009c288
mov qword [rbp + 0x70], r15
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140296c90
jmp 0x14009c2d6
mov r13, r15
or r13, 0xf
cmp r13, r12
jbe 0x14009c299
mov r13, r12
jmp 0x14009c2a0
cmp r13, rcx
cmovb r13, rcx
lea rdx, [r13 + 1]
lea rcx, [rbp + 0x60]
call fcn.14007b800
mov rbx, rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r13
mov r8, r15
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.140296c90
mov byte [r15 + rbx], 0
mov rbx, qword [rsp + 0x48]
mov dword [rsp + 0x40], 2
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.140096920
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14009c332
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c32d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c7ed
call fcn.14029591c
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x160], 0xa
xor r13d, r13d
mov qword [rax + 0x168], r13
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x231], 1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, vtable.std::_Func_impl_no_alloc_bool____cdecl___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64____bool__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__.0
mov qword [rbp - 0x78], rax
lea rax, [0x14009d1e0]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], r13
mov rax, qword [rdi + 0x10]
cmp rax, rbx
jb 0x14009c7f3
sub rax, rbx
cmp rax, 0xffffffffffffffff
cmovb rsi, rax
cmp qword [rdi + 0x18], 0x10
jb 0x14009c3c2
mov rdi, qword [rdi]
add rdi, rbx
cmp rsi, r12
ja 0x14009c7f9
cmp rsi, 0x10
jae 0x14009c408
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140296c90
mov rbx, qword [rbp + 0x98]
mov r15, qword [rbp + 0x80]
jmp 0x14009c461
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
jbe 0x14009c419
mov rbx, r12
jmp 0x14009c426
cmp rbx, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x80]
call fcn.14007b800
mov r15, rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rbx
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140296c90
mov byte [r15 + rsi], 0
mov dword [rsp + 0x40], 6
lea rdi, [rbp + 0x80]
cmp rbx, 0x10
cmovae rdi, r15
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x18], r13
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400a2cd0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x58], r13
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400a2cd0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov ecx, 0x60
call fcn.1402958e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
mov r8, rdi
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14009bfa0
nop
mov rcx, qword [rbp + 0x60]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x14009c53b
mov r8, qword [rdi + 0x10]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.140091ee0
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140098530
mov edx, 0x60
mov rcx, rbx
call fcn.14029591c
cmp byte [rdi + 0x19], 0
je 0x14009c504
mov rcx, qword [rbp + 0x60]
mov edx, 0x60
call fcn.14029591c
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14009c563
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x18], r13
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14009c580
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x40], r13
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14009c5c1
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c5bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c7ff
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov dword [rsp + 0x40], 0x1f
mov eax, dword [rsp + 0x70]
test eax, eax
jne 0x14009c62c
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + 0x20], 0xc8
jne 0x14009c61e
lea rdx, [rcx + 0x58]
cmp r14, rdx
je 0x14009c6fd
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14009c611
mov rdx, qword [rdx]
mov rcx, r14
call fcn.1400817c0
jmp 0x14009c6fd
add rcx, 0x28
call fcn.140087e20
jmp 0x14009c6fd
cmp byte [0x1403c6754], 0
je 0x14009c64c
lea rdx, [0x1402d0c5c]
lea rcx, [0x1403fe5b0]
call fcn.14007b970
mov eax, dword [rsp + 0x70]
movsxd r8, eax
shl r8, 5
lea rax, [0x1403bc0e0]
add r8, rax
mov rcx, qword [r8 + 0x10]
sub r12, rcx
cmp r12, 0x13
jb 0x14009c805
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14009c67b
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea r9, str.HTTP_Get_failed_on
movzx edx, byte [rsp + 0x44]
lea rcx, [rbp + 0x80]
call fcn.14008a280
mov dword [rsp + 0x40], 0x3f
lea rcx, [rbp + 0x80]
call fcn.140087e20
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14009c6fd
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c6f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c796
call fcn.14029591c
nop
mov r8, qword [rsp + 0x78]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140091ee0
mov edx, 0x60
mov rcx, qword [rsp + 0x78]
call fcn.14029591c
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14009c744
mov rcx, rbx
call fcn.140099410
mov edx, 0x128
mov rcx, rbx
call fcn.14029591c
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14009c75d
mov rdx, qword [rcx]
mov r8, qword [rdx]
mov edx, 1
call r8
nop
lea rcx, [0x1403c6820]
call fcn.1402942b8
mov rax, r14
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14029ca04
nop
lea rcx, [0x1403c6870]
call fcn.140295de4
cmp dword [0x1403c6870], 0xffffffff
jne 0x14009c1c2
mov edx, 2
mov rcx, rbx
call fcn.140294258
lea rcx, [0x1402cdb90]
call fcn.140295c44
lea rcx, [0x1403c6870]
call fcn.140295d84
jmp 0x14009c1c2
mov ecx, eax
call fcn.140293eb0
nop
call fcn.14007b7e0
nop
call fcn.14029ca04
nop
call fcn.140086890
int3
call fcn.14007b7e0
nop
call fcn.14029ca04
int3
call fcn.14007b7e0
int3