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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, qword [rsp + 0x70]
lea rsi, [rcx + 0xf0]
mov r13, r9
mov qword [rsp + 0x50], r12
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov qword [rbp], 0
nop dword [rax + rax]
mov r8, r13
mov edx, 0xa
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
mov rdx, r15
test rax, rax
je 0x140190831
sub rdi, r15
lea r12, [rbx + 0xc80]
inc rdi
mov rcx, r12
mov r8, rdi
call fcn.140175680
test eax, eax
jne 0x1401906cc
add qword [rbp], rdi
add r15, rdi
sub r13, rdi
mov qword [rsp + 0x60], r15
cmp dword [rsi + 0x44], eax
jne 0x14018fe34
mov rcx, r12
call fcn.1401756e0
mov rcx, r12
mov rbp, rax
call fcn.1401756f0
mov rdx, rax
mov rax, qword [r14 + 0x318]
test dword [rax + 0x84], 0x40000
je 0x14018fe1e
xor edi, edi
lea rcx, str.RTSP_
cmp rbp, 5
mov eax, 5
setae dil
cmp rbp, 5
cmova rbp, rax
mov r8, rbp
call fcn.1401866e0
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x14018fe2b
mov r8, rbp
mov rcx, rbx
call fcn.140191040
mov ecx, eax
cmp ecx, 2
je 0x1401906a2
mov rcx, r12
call fcn.1401756f0
mov r15, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140190263
cmp cl, 0xd
je 0x140190263
mov ecx, dword [rsi + 0x44]
mov ebp, 4
lea eax, [rcx + 1]
mov dword [rsi + 0x44], eax
test ecx, ecx
jne 0x140190175
mov rax, qword [r14 + 0x318]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x140190077
movzx eax, byte [r15]
mov rdi, r15
test al, al
je 0x14018fea3
nop dword [rax + rax]
cmp al, 0x20
je 0x14018fe98
cmp al, 9
jne 0x14018fea3
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14018fe90
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x14018ff4e
movzx ecx, byte [rdi + 5]
movzx eax, cl
cmp cl, 0x31
je 0x14018ff8c
sub al, 0x32
cmp al, 1
ja 0x1401906e8
movzx eax, byte [rdi + 6]
cmp al, 0x20
je 0x14018fee6
cmp al, 9
jne 0x14018ff4e
movsx eax, cl
movzx ecx, byte [rdi + 7]
sub eax, 0x30
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14018ff4e
movzx edx, byte [rdi + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14018ff4e
movzx r8d, byte [rdi + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14018ff4e
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x50], ecx
movzx ecx, byte [rdi + 0xa]
lea eax, [rcx - 9]
cmp al, bpl
jbe 0x14019001e
cmp cl, 0x20
je 0x14019001e
mov rcx, r12
call fcn.1401756e0
mov rcx, r12
mov rdi, rax
call fcn.1401756f0
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call fcn.140191040
cmp eax, 1
jne 0x14019076a
mov dword [rsi + 0x50], reloc.WLDAP32.dll_Ordinal_200
mov byte [r14 + 0x73d], 0xa
jmp 0x14019015f
cmp byte [rdi + 6], 0x2e
jne 0x140190747
movzx ecx, byte [rdi + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x140190747
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x14018ffb5
cmp al, 9
jne 0x140190747
movsx r9d, cl
movzx ecx, byte [rdi + 9]
sub r9d, 0x26
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140190747
movzx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140190747
movzx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140190747
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x50], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x14019001e
sub al, 9
cmp al, bpl
ja 0x140190747
cmp dword [rsi + 0x50], 0x64
jl 0x140190731
lea eax, [r9 - 0xa]
cmp eax, 1
ja 0x1401906fe
mov byte [r14 + 0x73d], r9b
cmp dword [rsi + 0x6c], 3
jne 0x140190057
cmp r9b, 0x14
je 0x140190057
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rbx
call fcn.140181770
cmp byte [r14 + 0x73d], 0x14
jae 0x14019015f
mov rax, qword [r14 + 0x700]
mov dword [rax], 0xffffffff
jmp 0x14019015f
bt ecx, 0x12
jae 0x14019076a
movzx eax, byte [r15]
mov rdi, r15
test al, al
je 0x1401900a3
nop dword [rax]
cmp al, 0x20
je 0x140190098
cmp al, 9
jne 0x1401900a3
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140190090
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x14019076a
movzx eax, byte [rdi + 5]
sub al, 0x30
cmp al, 9
ja 0x140190760
cmp byte [rdi + 6], 0x2e
jne 0x140190760
movzx eax, byte [rdi + 7]
sub al, 0x30
cmp al, 9
ja 0x140190760
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x1401900f6
cmp al, 9
jne 0x140190760
movzx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140190760
movzx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140190760
movzx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140190760
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x50], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x140190157
sub al, 9
cmp al, bpl
ja 0x140190760
mov byte [r14 + 0x73d], 0xb
mov rdx, r14
mov rcx, rbx
call fcn.140190c50
test eax, eax
jne 0x1401906cc
lea ebp, [rax + 0xc]
mov rcx, rbx
call fcn.1401919d0
test eax, eax
jne 0x1401906cc
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14018ec10
test eax, eax
jne 0x1401906cc
mov edi, dword [rsi + 0x50]
mov rcx, r12
call fcn.1401756e0
mov r9, rax
mov r8, r15
mov edx, 1
mov rcx, rbx
call fcn.140181500
mov rcx, r12
call fcn.1401756e0
mov edx, ebp
mov r9, rax
or edx, 0x20
lea eax, [rdi - 0x64]
cmp eax, 0x64
mov r8, r15
mov rcx, rbx
cmovae edx, ebp
call fcn.140181cd0
test eax, eax
jne 0x1401906cc
mov rcx, r12
call fcn.1401756e0
mov r9d, 0x4b000
cmp rax, r9
jae 0x140190237
add dword [rbx + 0x12c], eax
add dword [rbx + 0x1398], eax
mov edx, dword [rbx + 0x12c]
add dword [rbx + 0x128], eax
mov ecx, dword [rbx + 0x1398]
cmp edx, r9d
jbe 0x140190220
mov r8d, edx
jmp 0x140190241
cmp ecx, 0x5dc000
jbe 0x140190686
mov r8, rcx
mov r9d, 0x5dc000
jmp 0x140190241
mov r8d, dword [rbx + 0x12c]
add r8, rax
test r8, r8
je 0x140190686
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rbx
call fcn.1401815e0
mov eax, Ordinal_60
jmp 0x1401906cc
mov ecx, dword [rsi + 0x50]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1401902d0
sub ecx, 0x64
je 0x1401902a1
cmp ecx, 1
je 0x14019028b
mov byte [rsi + 0xcc], 1
mov dword [rsi + 0x44], 0
jmp 0x140190344
cmp dword [rsi + 0x6c], 2
je 0x140190776
mov byte [rsi + 0xcc], 0
jmp 0x140190344
cmp dword [rsi + 0x68], 0
mov byte [rsi + 0xcc], 1
mov dword [rsi + 0x44], 0
jle 0x140190344
or dword [rsi + 0x54], 2
xor edx, edx
mov rcx, rbx
mov dword [rsi + 0x68], 0
call fcn.14016f1f0
jmp 0x140190344
cmp dword [rsi + 0x6c], 2
jne 0x1401902e2
mov rcx, qword [rbx + 0xd8]
call fcn.14016f340
cmp qword [rsi], 0xffffffffffffffff
mov byte [rsi + 0xcc], 0
jne 0x140190344
cmp byte [rsi + 0xd3], 0
jne 0x140190344
cmp byte [r14 + 0x2fe], 0
jne 0x140190344
cmp byte [r14 + 0x73d], 0xb
jne 0x140190344
mov rax, qword [r14 + 0x318]
test dword [rax + 0x84], 0x40000
jne 0x140190344
cmp byte [rbx + 0x132a], 5
je 0x140190344
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rbx
call fcn.140181770
mov edx, 2
mov rcx, r14
call fcn.140182f50
cmp byte [rsi + 0xcc], 0
jne 0x14019035d
mov rcx, rbx
call fcn.140190bc0
test eax, eax
jne 0x1401906cc
cmp byte [r14 + 0x2fe], 0
je 0x1401903f1
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x140190382
cmp dword [r14 + 0x3e0], 2
je 0x140190393
cmp eax, 0x197
jne 0x1401903a9
cmp dword [r14 + 0x3e4], 2
jne 0x1401903a9
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.140181770
mov byte [rbx + 0x1331], 1
cmp byte [r14 + 0x2fe], 0
je 0x1401903f1
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x1401903ca
cmp dword [r14 + 0x4d8], 1
je 0x1401903db
cmp eax, 0x197
jne 0x1401903f1
cmp dword [r14 + 0x4dc], 1
jne 0x1401903f1
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.140181770
mov byte [rbx + 0x1331], 1
cmp dword [r14 + 0x4d8], 3
jne 0x140190412
cmp dword [rbx + 0x140], 0x191
je 0x140190412
mov dword [r14 + 0x4d8], 4
cmp dword [r14 + 0x4dc], 3
jne 0x140190433
cmp dword [rbx + 0x140], 0x197
je 0x140190433
mov dword [r14 + 0x4dc], 4
mov eax, dword [rsi + 0x50]
mov edi, 4
sub eax, 0x64
mov rcx, r12
cmp eax, 0x64
mov eax, 0x24
cmovb edi, eax
call fcn.1401756e0
mov rcx, r12
mov rbp, rax
call fcn.1401756f0
mov r8, rax
mov r9, rbp
mov edx, edi
mov rcx, rbx
call fcn.140181cd0
test eax, eax
jne 0x1401906cc
mov r9d, 0x4b000
cmp rbp, r9
jae 0x1401904b9
add dword [rbx + 0x12c], ebp
add dword [rbx + 0x1398], ebp
mov ecx, dword [rbx + 0x12c]
add dword [rbx + 0x128], ebp
mov eax, dword [rbx + 0x1398]
cmp ecx, r9d
jbe 0x1401904a7
mov r8d, ecx
jmp 0x1401904c3
cmp eax, 0x5dc000
jbe 0x1401904cc
mov r8, rax
mov r9d, 0x5dc000
jmp 0x1401904c3
mov r8d, dword [rbx + 0x12c]
add r8, rbp
test r8, r8
jne 0x14019024a
mov rcx, rbx
call fcn.140191580
test al, al
jne 0x140190817
mov eax, dword [rsi + 0x50]
sub eax, 0x64
cmp eax, 0x63
ja 0x1401904ef
mov eax, dword [rbx + 0x128]
jmp 0x1401904f1
xor eax, eax
mov dword [rbx + 0x130], eax
call fcn.14018dc00
test eax, eax
jne 0x1401906cc
cmp dword [rsi + 0x50], 0x12c
jl 0x140190679
cmp byte [r14 + 0x308], al
jne 0x140190653
cmp byte [r14 + 0x2fe], al
jne 0x140190653
cmp byte [rbx + 0x133f], al
jne 0x14019065c
movzx eax, byte [rbx + 0x132a]
dec al
cmp al, 3
ja 0x140190653
xor edx, edx
mov rcx, rbx
call fcn.14016f1f0
cmp byte [rsi + 0xd0], 0
jne 0x140190653
cmp dword [rsi + 0x50], 0x1a1
jne 0x1401905e6
cmp byte [rbx + 0x1333], 0
je 0x1401905e6
cmp qword [rsi + 0x18], 0
jne 0x14019058f
cmp dword [rsi + 0x68], 1
jne 0x14019058f
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rbx
call fcn.140181770
jmp 0x1401905be
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rbx
call fcn.140181770
mov edx, 2
mov rcx, r14
call fcn.140182f50
mov rdx, r14
mov rcx, rbx
call fcn.1401913b0
test eax, eax
jne 0x1401906cc
mov rcx, qword [rbx + 0x11d0]
mov byte [rbx + 0x1334], 1
call qword [case.0x14017d3cf.1]
mov rdx, rsi
mov rcx, rbx
mov qword [rbx + 0x180], rax
call fcn.140186c40
jmp 0x140190653
cmp byte [rbx + 0xa8f], 0
mov rcx, rbx
je 0x140190611
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.140181770
cmp dword [rsi + 0x68], 0
jle 0x140190653
or dword [rsi + 0x54], 2
mov dword [rsi + 0x68], 0
jmp 0x140190653
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.140181770
mov edx, 2
mov rcx, r14
call fcn.140182f50
mov rdx, rsi
mov rcx, rbx
call fcn.140186c40
test eax, eax
jne 0x1401906cc
mov byte [rsi + 0xd0], 1
cmp byte [rbx + 0x1333], al
je 0x140190653
mov dword [rsi + 0x68], 3
cmp byte [rbx + 0x133f], 0
je 0x140190679
cmp qword [r14 + 0x340], 0xffffffffffffffff
je 0x140190679
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rbx
call fcn.140181770
or dword [rsi + 0x54], 2
cmp byte [rsi + 0xcc], 0
je 0x1401907a4
mov rcx, r12
call fcn.140175700
test r13, r13
je 0x1401906ca
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
jmp 0x14018fd70
mov edx, 2
mov rcx, r14
call fcn.140182f50
cmp byte [rbx + 0xab1], 0
je 0x1401908af
mov byte [rsi + 0xcc], 0
mov byte [rsi + 0xcd], 1
xor eax, eax
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.1401815e0
mov eax, 1
jmp 0x1401906cc
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.1401815e0
mov eax, 1
jmp 0x1401906cc
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.1401815e0
mov eax, 1
jmp 0x1401906cc
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rbx
call fcn.1401815e0
mov eax, 1
jmp 0x1401906cc
mov eax, 8
jmp 0x1401906cc
mov byte [rsi + 0xcc], 0
jmp 0x1401906ca
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rbx
call fcn.140181770
mov eax, 1
mov dword [rsi + 0x6c], 3
mov byte [rsi + 0xcc], 1
mov dword [rsi + 0x44], 0
jmp 0x1401906cc
cmp byte [rbx + 0x1c8], 0
jne 0x1401907cf
mov rax, qword [r14 + 0x318]
test dword [rax + 0x84], 0x40000
je 0x1401907d6
cmp dword [rbx + 0x9e0], 2
jne 0x1401907d6
cmp qword [rsi], 0xffffffffffffffff
jg 0x1401907d6
mov byte [rsi + 0xcf], 1
cmp qword [rsi + 8], 0
jne 0x1401907e4
mov byte [rsi + 0xcf], 1
lea rcx, [rbx + 0xc80]
call fcn.1401756e0
lea rcx, [rbx + 0xc80]
mov rsi, rax
call fcn.1401756f0
mov r8, rax
mov r9, rsi
mov edx, 1
mov rcx, rbx
call fcn.140181500
jmp 0x1401906ca
mov r8d, dword [rsi + 0x50]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1401815e0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1401906cc
mov r8, r13
lea rcx, [rbx + 0xc80]
call fcn.140175680
test eax, eax
jne 0x1401906cc
mov rax, qword [rsp + 0x70]
add qword [rax], r13
cmp dword [rsi + 0x44], 0
jne 0x1401906ca
lea rcx, [rbx + 0xc80]
call fcn.1401756e0
lea rcx, [rbx + 0xc80]
mov rdi, rax
call fcn.1401756f0
mov r8, rax
mov r9, rdi
mov rdx, r14
mov rcx, rbx
call fcn.140191110
cmp eax, 2
jne 0x1401906ca
mov edx, eax
mov word [rsi + 0xcc], 0x100
mov rcx, r14
call fcn.140182f50
cmp byte [rbx + 0xab1], 0
jne 0x1401906ca
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.1401815e0
mov eax, 1
jmp 0x1401906cc