Function at 0x14004c0e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [r8]
lea rsi, [rcx + 0xe8]
mov rbx, rcx
mov qword [rsp + 0x80], rax
mov rcx, qword [rsi + 0x50]
mov r15, r8
mov qword [rsp + 0x20], rcx
mov rbp, rcx
mov r13, rcx
mov r12, rdx
mov rdi, rax
mov r14, rax
mov r8, rax
mov edx, 0xa
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
mov rdx, r13
test rax, rax
je 0x14004ce14
lea r8, [rcx + 1]
sub rdi, rax
lea rax, [rbp - 1]
add rax, rdi
lea r14, [rbx + 0xc08]
mov qword [r15], rax
mov rcx, r14
mov qword [rsi + 0x50], r8
sub r8, r13
call fcn.140034590
test eax, eax
jne 0x14004cc71
cmp dword [rsi + 0x4c], eax
jne 0x14004c1a9
mov rcx, r14
call fcn.1400345f0
mov rcx, r14
mov rdi, rax
call fcn.140034600
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.14004d0e0
cmp eax, 2
je 0x14004cc41
mov rcx, r14
call fcn.140034600
mov r15, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x14004c695
cmp cl, 0xd
je 0x14004c695
mov edx, dword [rsi + 0x4c]
mov ebp, 2
mov rdi, r14
lea ecx, [rdx + 1]
mov dword [rsi + 0x4c], ecx
test edx, edx
jne 0x14004c594
mov rax, qword [r12 + 0x2e8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x14004c3dc
movzx eax, byte [r15]
mov rdi, r15
test al, al
je 0x14004c217
cmp al, 0x20
je 0x14004c20c
cmp al, 9
jne 0x14004c217
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14004c204
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14004c2b7
movsx edx, byte [rdi + 5]
mov ecx, edx
sub ecx, 0x31
je 0x14004c2f8
sub ecx, 1
je 0x14004c252
cmp ecx, 1
jne 0x14004cc9f
movzx eax, byte [rdi + 6]
cmp al, 0x20
je 0x14004c25e
cmp al, 9
jne 0x14004c2b7
movsx ecx, byte [rdi + 7]
lea eax, [rdx - 0x30]
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004c2b7
movsx edx, byte [rdi + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14004c2b7
movsx r8d, byte [rdi + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14004c2b7
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rsi + 0x60], ecx
movzx eax, byte [rdi + 0xa]
cmp al, 0x20
je 0x14004c380
sub al, 9
cmp al, 4
jbe 0x14004c380
mov rcx, r14
call fcn.1400345f0
mov rcx, r14
mov rdi, rax
call fcn.140034600
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call fcn.14004d0e0
cmp eax, 1
jne 0x14004cd24
lea rdi, [r12 + 0x3e1]
mov dword [rsi + 0x60], 0xc8
mov byte [rdi], 0xa
jmp 0x14004c4be
cmp byte [rdi + 6], 0x2e
jne 0x14004cd01
movsx ecx, byte [rdi + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x14004cd01
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x14004c321
cmp al, 9
jne 0x14004cd01
lea r9d, [rcx - 0x26]
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004cd01
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14004cd01
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14004cd01
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rsi + 0x60], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x14004c380
cmp al, 9
je 0x14004c380
sub al, 0xa
cmp al, 3
ja 0x14004cd01
cmp ecx, 0x64
jl 0x14004cce8
mov ecx, r9d
sub ecx, 0xa
je 0x14004c39a
cmp ecx, 1
jne 0x14004ccb5
lea rdi, [r12 + 0x3e1]
mov byte [rdi], r9b
cmp dword [rsi + 0x7c], 3
jne 0x14004c3c0
cmp r9b, 0x14
je 0x14004c3c0
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rbx
call fcn.14003ff90
cmp byte [rdi], 0x14
jae 0x14004c4be
mov rax, qword [r12 + 0x3a8]
mov dword [rax], 0xffffffff
jmp 0x14004c4be
bt ecx, 0x12
jae 0x14004cd24
movzx eax, byte [r15]
mov rdi, r15
test al, al
je 0x14004c404
cmp al, 0x20
je 0x14004c3f9
cmp al, 9
jne 0x14004c404
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14004c3f1
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14004cd24
movzx eax, byte [rdi + 5]
sub al, 0x30
cmp al, 9
ja 0x14004cd1a
cmp byte [rdi + 6], 0x2e
jne 0x14004cd1a
movzx eax, byte [rdi + 7]
sub al, 0x30
cmp al, 9
ja 0x14004cd1a
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x14004c458
cmp al, 9
jne 0x14004cd1a
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004cd1a
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14004cd1a
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14004cd1a
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rsi + 0x60], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x14004c4b3
cmp al, 9
je 0x14004c4b3
sub al, 0xa
cmp al, 3
ja 0x14004cd1a
lea rdi, [r12 + 0x3e1]
mov byte [rdi], listen
mov eax, dword [rsi + 0x60]
movzx ecx, byte [rbx + 0x12b1]
mov dword [rbx + 0x12d0], eax
movzx eax, byte [rdi]
mov dword [rbx + 0x12d8], eax
movzx eax, byte [rdi]
test cl, cl
je 0x14004c4e2
cmp cl, al
jbe 0x14004c4e8
mov byte [rbx + 0x12b1], al
cmp qword [rbx + 0x1108], 0
je 0x14004c50b
cmp byte [rbx + 0x12b2], 0
jne 0x14004c50b
cmp dword [rsi + 0x60], 0x1a0
jne 0x14004c50b
mov byte [rsi + 0xdd], 1
movzx eax, byte [rdi]
cmp al, 0xa
jne 0x14004c530
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rbx
call fcn.14003ff90
mov edx, 1
mov rcx, r12
call fcn.140040f60
jmp 0x14004c549
cmp al, 0x14
je 0x14004c53f
cmp dword [rsi + 0x7c], ebp
jne 0x14004c549
cmp dword [rsi + 0x60], 0x65
jne 0x14004c549
mov rax, qword [r12 + 0x3a8]
mov dword [rax], ebp
mov ecx, dword [rsi + 0x60]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [rsi + 0xde], al
sub ecx, 0xcc
je 0x14004c578
cmp ecx, 0x64
jne 0x14004c588
cmp byte [rbx + 0x518], 0
je 0x14004c578
mov byte [rbx + 0x13b4], 1
xor eax, eax
mov byte [rsi + 0xde], 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov ebp, 6
lea rdi, [rbx + 0xc08]
mov rcx, r14
call fcn.140034600
mov rcx, rdi
mov r14, rax
call fcn.1400345f0
mov r8, rax
xor edx, edx
mov rcx, r14
mov rdi, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14004cd4b
mov edx, dword [rbx + 0x134]
cmp edx, 2
jl 0x14004c5f7
movzx ecx, byte [r14]
cmp cl, 0x20
je 0x14004c5d9
cmp cl, 9
jne 0x14004c5de
cmp edx, 2
jg 0x14004c5f7
mov r8, rdi
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004cd30
mov r8, r15
mov rdx, r12
mov rcx, rbx
call fcn.14004b0c0
test eax, eax
jne 0x14004cc71
cmp byte [rbx + 0xa24], al
je 0x14004c618
or ebp, 1
mov edi, dword [rsi + 0x60]
lea rcx, [rbx + 0xc08]
call fcn.1400345f0
mov r9, rax
mov r8, r15
mov edx, 1
mov rcx, rbx
call fcn.14003fdb0
lea rcx, [rbx + 0xc08]
call fcn.1400345f0
mov edx, ebp
mov r9, rax
or edx, 0x10
lea eax, [rdi - 0x64]
cmp eax, 0x64
mov r8, r15
mov rcx, rbx
cmovae edx, ebp
call fcn.140040030
test eax, eax
jne 0x14004cc71
lea rcx, [rbx + 0xc08]
call fcn.1400345f0
add qword [rbx + 0x12e8], rax
lea rcx, [rbx + 0xc08]
call fcn.1400345f0
add qword [rbx + 0x108], rax
jmp 0x14004cc0f
mov ecx, dword [rsi + 0x60]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14004c6f5
sub ecx, 0x64
je 0x14004c6d1
cmp ecx, 1
je 0x14004c6bb
xor ebp, ebp
mov byte [rsi + 0xda], 1
mov dword [rsi + 0x4c], ebp
jmp 0x14004c75c
cmp dword [rsi + 0x7c], 2
je 0x14004cd66
mov byte [rsi + 0xda], 0
jmp 0x14004c75a
xor ebp, ebp
mov byte [rsi + 0xda], 1
mov dword [rsi + 0x4c], ebp
cmp dword [rsi + 0x78], ebp
jle 0x14004c75c
or dword [rsi + 0x64], 2
xor edx, edx
mov rcx, rbx
mov dword [rsi + 0x78], ebp
call fcn.14002dee0
jmp 0x14004c75c
cmp qword [rsi], 0xffffffffffffffff
mov byte [rsi + 0xda], 0
jne 0x14004c75a
cmp byte [rsi + 0xdf], 0
jne 0x14004c75a
cmp byte [r12 + 0x2ce], 0
jne 0x14004c75a
cmp byte [r12 + 0x3e1], 0xb
jne 0x14004c75a
mov rax, qword [r12 + 0x2e8]
test dword [rax + 0x84], 0x40000
jne 0x14004c75a
cmp byte [rbx + 0x12b2], 5
je 0x14004c75a
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rbx
call fcn.14003ff90
mov edx, 2
mov rcx, r12
call fcn.140040f60
xor ebp, ebp
cmp byte [rsi + 0xda], 0
jne 0x14004c7b5
cmp byte [rbx + 0x1c8], 0
jne 0x14004c7a6
cmp byte [rsi + 0xdf], 0
jne 0x14004c7a6
mov rdx, qword [rsi]
cmp rdx, 0xffffffffffffffff
je 0x14004c7b5
mov rax, qword [rbx + 0x6d8]
test rax, rax
je 0x14004c795
cmp rdx, rax
jg 0x14004cd92
mov rcx, rbx
call fcn.14004dc10
mov rax, qword [rsi]
mov qword [rsi + 8], rax
jmp 0x14004c7b5
mov qword [rsi + 8], 0xffffffffffffffff
mov qword [rsi], 0xffffffffffffffff
cmp byte [r12 + 0x2ce], 0
je 0x14004c802
mov eax, dword [rbx + 0x148]
cmp eax, 0x191
jne 0x14004c7da
cmp dword [r12 + 0x348], 2
je 0x14004c7ec
jmp 0x14004c802
cmp eax, 0x197
jne 0x14004c802
cmp dword [r12 + 0x34c], 2
jne 0x14004c802
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.14003ff90
mov byte [rbx + 0x12b9], 1
mov eax, dword [rsi + 0x60]
mov rcx, r14
sub eax, 0x64
cmp eax, 0x64
mov eax, ebp
sbb edi, edi
and edi, 0x10
cmp byte [rbx + 0xa24], 0
setne al
add eax, 2
or edi, eax
call fcn.1400345f0
mov rcx, r14
mov r12, rax
call fcn.140034600
mov r8, rax
mov r9, r12
mov edx, edi
mov rcx, rbx
call fcn.140040030
test eax, eax
jne 0x14004cc71
mov rdx, qword [rbx + 0x108]
movsxd rcx, r12d
add qword [rbx + 0x12e8], rcx
add rdx, rcx
mov qword [rbx + 0x108], rdx
mov rcx, rbx
mov r8d, dword [rsi + 0x60]
call fcn.14004d440
test al, al
jne 0x14004cdfe
lea eax, [r8 - 0x64]
mov r9d, 0xffffffbf
cmp eax, 0x63
mov eax, 0xffffffff
cmova rdx, rbp
mov rbp, qword [rbx + 0x18]
mov qword [rbx + 0x110], rdx
xor r15b, r15b
mov rcx, qword [rbx + 0x8e8]
xor r14b, r14b
mov edx, dword [rbx + 0x148]
xor edi, edi
test rcx, rcx
cmovne r9d, eax
lea eax, [rdx - 0x64]
cmp eax, 0x63
jbe 0x14004caac
lea r8, [rbx + 0x12b9]
cmp byte [r8], dil
je 0x14004c8e3
movzx eax, byte [rbx + 0xa1f]
neg al
sbb edi, edi
and edi, 0x16
jmp 0x14004caa4
mov rax, r8
cmp qword [rbx + 0x1290], rdi
jne 0x14004c8fb
test rcx, rcx
je 0x14004c967
lea rax, [rbx + 0x12b9]
cmp edx, 0x191
je 0x14004c917
cmp byte [rbp + 0x2d8], dil
je 0x14004c967
mov r8, rax
cmp edx, 0x12c
jge 0x14004c967
lea rcx, [rbx + 0xd70]
mov edx, r9d
call fcn.14004d7e0
movzx r15d, al
test al, al
jne 0x14004c932
mov byte [r8], 1
cmp dword [rbx + 0xd74], 8
jne 0x14004c967
cmp byte [rbp + 0x3e1], 0xb
jbe 0x14004c967
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rbx
call fcn.14003ff90
mov edx, 1
mov rcx, rbp
call fcn.140040f60
mov byte [rbx + 0x12b0], 2
cmp byte [rbp + 0x2ca], dil
je 0x14004c9ad
mov eax, dword [rbx + 0x148]
cmp eax, 0x197
je 0x14004c98d
cmp byte [rbp + 0x2d8], dil
je 0x14004c9ad
cmp eax, 0x12c
jge 0x14004c9ad
lea rcx, [rbx + 0xd80]
mov edx, 0xffffffbf
call fcn.14004d7e0
movzx r14d, al
test al, al
jne 0x14004c9ad
mov byte [rbx + 0x12b9], 1
test r15b, r15b
jne 0x14004ca1e
test r14b, r14b
jne 0x14004ca1e
cmp dword [rbx + 0x148], 0x12c
jge 0x14004ca80
cmp byte [rbx + 0xd7c], dil
jne 0x14004ca80
cmp byte [rbp + 0x2d8], dil
je 0x14004ca80
movzx eax, byte [rbx + 0x12b2]
test al, al
je 0x14004ca80
cmp al, 5
je 0x14004ca80
mov rcx, qword [rbx + 0x1170]
call qword [case.0x14003b950.1]
mov qword [rbx + 0x188], rax
test rax, rax
je 0x14004cdab
mov byte [rbx + 0xd7c], 1
jmp 0x14004ca80
movzx eax, byte [rbx + 0x12b2]
test al, al
je 0x14004ca4b
cmp al, 5
je 0x14004ca4b
cmp byte [rbx + 0x12c7], dil
jne 0x14004ca4b
mov rdx, rbp
mov rcx, rbx
call fcn.14004d2b0
mov edi, eax
test eax, eax
jne 0x14004cdb0
mov rcx, qword [rbx + 0x188]
call qword [fcn.14009aecc]
mov rcx, qword [rbx + 0x1170]
mov qword [rbx + 0x188], 0
call qword [case.0x14003b950.1]
mov qword [rbx + 0x188], rax
test rax, rax
je 0x14004cdab
mov rcx, rbx
call fcn.14004d440
test al, al
je 0x14004caa4
mov r8d, dword [rbx + 0x148]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.14003fea0
mov edi, socket
test edi, edi
jne 0x14004cdb0
cmp dword [rsi + 0x60], 0x12c
jl 0x14004cbfa
mov rdi, qword [rsp + 0x88]
cmp byte [rdi + 0x2d8], 0
jne 0x14004cbd4
cmp byte [rdi + 0x2ce], 0
jne 0x14004cbd4
cmp byte [rbx + 0x12c7], 0
jne 0x14004cbdd
movzx ecx, byte [rbx + 0x12b2]
sub ecx, 1
je 0x14004cb07
sub ecx, 1
je 0x14004cb07
sub ecx, 1
je 0x14004cb07
cmp ecx, 1
jne 0x14004cbd4
xor edx, edx
mov rcx, rbx
call fcn.14002dee0
cmp byte [rsi + 0xdc], 0
jne 0x14004cbd4
cmp dword [rsi + 0x60], 0x1a1
jne 0x14004cb67
cmp byte [rbx + 0x12bb], 0
je 0x14004cb67
lea rdx, str.Got_417_while_waiting_for_a_100
mov rcx, rbx
call fcn.14003ff90
mov rcx, qword [rbx + 0x1170]
mov byte [rbx + 0x12bc], 1
call qword [case.0x14003b950.1]
mov rdx, rsi
mov rcx, rbx
mov qword [rbx + 0x188], rax
call fcn.1400449f0
jmp 0x14004cbd4
cmp byte [rbx + 0xa20], 0
mov rcx, rbx
je 0x14004cb92
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.14003ff90
cmp dword [rsi + 0x78], 0
jle 0x14004cbd4
or dword [rsi + 0x64], 2
mov dword [rsi + 0x78], 0
jmp 0x14004cbd4
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.14003ff90
mov edx, 2
mov rcx, rdi
call fcn.140040f60
mov rdx, rsi
mov rcx, rbx
call fcn.1400449f0
test eax, eax
jne 0x14004cc71
mov byte [rsi + 0xdc], 1
cmp byte [rbx + 0x12bb], al
je 0x14004cbd4
mov dword [rsi + 0x78], 3
cmp byte [rbx + 0x12c7], 0
je 0x14004cbfa
cmp qword [rdi + 0x310], 0xffffffffffffffff
je 0x14004cbfa
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rbx
call fcn.14003ff90
or dword [rsi + 0x64], 2
cmp byte [rsi + 0xda], 0
je 0x14004cdb7
mov r12, qword [rsp + 0x88]
lea rcx, [rbx + 0xc08]
call fcn.140034610
mov rbp, qword [rsi + 0x50]
cmp byte [rbp], 0
je 0x14004cc6f
mov r15, qword [rsp + 0x90]
mov r13, rbp
mov rcx, rbp
mov rdi, qword [r15]
mov r14, rdi
mov r8, rdi
jmp 0x14004c132
mov edx, 2
mov rcx, r12
call fcn.140040f60
cmp byte [rbx + 0xa41], 0
je 0x14004ce87
mov byte [rsi + 0xda], 0
cmp qword [r15], 0
je 0x14004cc82
mov dword [rsi + 0x48], 1
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov dword [rsi + 0x48], 2
mov qword [r15], rax
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x50], rax
jmp 0x14004cc6f
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.14003fea0
mov eax, 1
jmp 0x14004cc71
mov eax, 0x66666667
mov rcx, rbx
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov r8d, edx
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sub r9d, eax
call fcn.14003fea0
mov eax, 1
jmp 0x14004cc71
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.14003fea0
mov eax, 1
jmp 0x14004cc71
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rbx
call fcn.14003fea0
mov eax, 1
jmp 0x14004cc71
mov eax, 8
jmp 0x14004cc71
mov byte [rsi + 0xda], 0
jmp 0x14004cc6f
lea rdx, str.Header_without_colon
mov rcx, rbx
mov edi, 8
call fcn.14003fea0
mov eax, edi
jmp 0x14004cc71
lea rdx, str.Nul_byte_in_header
mov rcx, rbx
mov edi, 8
call fcn.14003fea0
mov eax, edi
jmp 0x14004cc71
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rbx
call fcn.14003ff90
xor eax, eax
mov dword [rsi + 0x7c], 3
mov dword [rsi + 0x4c], eax
mov eax, 1
mov byte [rsi + 0xda], 1
jmp 0x14004cc71
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.14003fea0
mov eax, 0x3f
jmp 0x14004cc71
mov edi, 0x1b
mov eax, edi
jmp 0x14004cc71
cmp byte [rbx + 0x1cc], 0
mov rcx, qword [rsp + 0x98]
je 0x14004cdcf
mov byte [rcx], 1
mov al, 1
jmp 0x14004cdd2
movzx eax, byte [rcx]
cmp qword [rsi + 8], 0
jne 0x14004cdde
mov byte [rcx], 1
jmp 0x14004cde2
test al, al
je 0x14004cde6
and dword [rsi + 0x64], 0xfffffffe
mov r9, r12
mov r8, r13
mov edx, 1
mov rcx, rbx
call fcn.14003fdb0
jmp 0x14004cc6f
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.14003fea0
mov eax, socket
jmp 0x14004cc71
mov r8, r14
lea rcx, [rbx + 0xc08]
call fcn.140034590
test eax, eax
jne 0x14004cc71
cmp dword [rsi + 0x4c], eax
jne 0x14004cc6f
lea rcx, [rbx + 0xc08]
call fcn.1400345f0
lea rcx, [rbx + 0xc08]
mov rdi, rax
call fcn.140034600
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.14004d0e0
cmp eax, 2
jne 0x14004cc6f
mov edx, eax
mov byte [rsi + 0xda], 0
mov rcx, r12
mov dword [rsi + 0x48], eax
call fcn.140040f60
cmp byte [rbx + 0xa41], 0
jne 0x14004cc6f
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.14003fea0
mov eax, 1
jmp 0x14004cc71