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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [r8]
lea r15, [rcx + 0xb40]
mov rsi, qword [rcx + 0x148]
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov r8, rax
mov qword [rsp + 0x60], rsi
mov rcx, rsi
mov edx, 0xa
mov r12, rsi
mov rdi, rax
mov r14, rax
call fcn.1400abd50
mov rcx, rax
test rax, rax
je 0x1400955a3
nop dword [rax]
nop dword [rax + rax]
lea r8, [rcx + 1]
sub rdi, rcx
lea rax, [rsi - 1]
mov rdx, r12
mov rsi, qword [rsp + 0xc0]
add rax, rdi
mov rcx, r15
mov qword [rsi], rax
mov qword [rbx + 0x148], r8
sub r8, r12
call fcn.140084480
test eax, eax
jne 0x14009506c
cmp dword [rbx + 0x144], eax
jne 0x140094f1b
mov rcx, r15
call fcn.1400844e0
mov rcx, r15
mov rdi, rax
call fcn.1400844f0
mov r8, rax
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.140095c50
cmp eax, 2
je 0x14009562f
mov rcx, r15
call fcn.1400844f0
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400951f0
cmp cl, 0xd
je 0x1400951f0
mov edx, dword [rbx + 0x144]
mov edi, 2
lea ecx, [rdx + 1]
mov dword [rbx + 0x144], ecx
test edx, edx
jne 0x14009514c
mov rax, qword [rbp + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x1400950e2
xor eax, eax
lea rsi, [rbx + 0x158]
mov dword [rsp + 0x44], eax
lea r9, [rsp + 0x44]
mov byte [rsp + 0xb0], al
lea r8, [rsp + 0x48]
lea rax, [rsp + 0xb0]
mov rcx, r14
mov qword [rsp + 0x30], rax
lea rdx, str._HTTP__1d._1d_c_3d_c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400920c0
mov edi, eax
cmp eax, 1
jne 0x140094ff1
cmp dword [rsp + 0x48], 2
jl 0x140094ff1
mov r9, rsi
lea r8, [rsp + 0x4c]
lea rdx, str._HTTP__1_23___d
mov rcx, r14
call fcn.1400920c0
cmp eax, 2
jne 0x140094ff1
mov byte [rbp + 0x603], 0
lea edi, [rax + 2]
mov byte [rsp + 0x40], 0x20
jmp 0x14009501c
movzx eax, byte [rsp + 0xb0]
sub al, 0x30
cmp al, 9
jbe 0x1400956d3
cmp edi, 4
jl 0x140095084
cmp dword [rsi], 0x64
jl 0x1400956d3
cmp byte [rsp + 0x40], 0x20
jne 0x1400956ba
mov eax, dword [rsp + 0x48]
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x44]
lea r9d, [rax + rcx*2]
mov ecx, r9d
mov dword [rsp + 0x44], r9d
sub ecx, 0xa
je 0x140095041
cmp ecx, 1
jne 0x140095684
mov byte [rbp + 0x603], r9b
cmp r9b, 0x14
jae 0x14009505b
mov rax, qword [rbp + 0x5c0]
mov dword [rax], 0xffffffff
test edi, edi
jne 0x140095136
mov byte [rbx + 0x1b9], 0
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test edi, edi
jne 0x1400956ba
mov r8, rsi
lea rdx, str._HTTP__3d
mov rcx, r14
call fcn.1400920c0
mov byte [rbp + 0x603], 0xa
test eax, eax
jne 0x140095136
mov rcx, r15
call fcn.1400844e0
mov rcx, r15
mov rdi, rax
call fcn.1400844f0
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call fcn.140095b60
cmp eax, 1
jne 0x140095063
mov dword [rsi], 0xc8
mov byte [rbp + 0x603], 0xa
jmp 0x140095136
bt ecx, 0x12
jae 0x140095063
lea rax, [rbx + 0x158]
mov rcx, r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x41]
lea r8, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.1400920c0
cmp eax, 4
jne 0x140095063
cmp byte [rsp + 0x41], 0x20
jne 0x140095063
mov byte [rbp + 0x603], ntohs
mov rdx, rbp
mov rcx, rbx
call fcn.140095990
test eax, eax
jne 0x14009506c
lea edi, [rax + 6]
mov rcx, rbx
call fcn.140096460
test eax, eax
jne 0x14009506c
mov r8, r14
mov rdx, rbp
mov rcx, rbx
call fcn.140094110
test eax, eax
jne 0x14009506c
mov esi, edi
mov rcx, r15
or esi, 1
cmp byte [rbx + 0x97a], al
cmove esi, edi
mov edi, dword [rbx + 0x158]
call fcn.1400844e0
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rbx
call fcn.14008af00
mov rcx, r15
call fcn.1400844e0
mov edx, esi
mov r9, rax
or edx, 0x10
lea eax, [rdi - 0x64]
cmp eax, 0x64
mov r8, r14
mov rcx, rbx
cmovae edx, esi
call fcn.14008aef0
test eax, eax
jne 0x14009506c
mov rcx, r15
call fcn.1400844e0
add qword [rbx + 0x11a8], rax
mov rcx, r15
call fcn.1400844e0
add qword [rbx + 0x108], rax
jmp 0x14009555e
mov ecx, dword [rbx + 0x158]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140095277
sub ecx, 0x64
je 0x140095241
cmp ecx, 1
je 0x140095222
lea rsi, [rbx + 0x1b9]
xor eax, eax
mov byte [rsi], 1
mov rdi, rsi
mov dword [rbx + 0x144], eax
jmp 0x1400952d2
cmp dword [rbx + 0x174], 2
je 0x1400956ec
lea rsi, [rbx + 0x1b9]
mov byte [rsi], 0
mov rdi, rsi
jmp 0x1400952d2
xor eax, eax
lea rsi, [rbx + 0x1b9]
mov byte [rsi], 1
mov dword [rbx + 0x144], eax
cmp dword [rbx + 0x170], eax
jle 0x140095272
or dword [rbx + 0x15c], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x170], eax
call fcn.1400803c0
mov rdi, rsi
jmp 0x1400952d2
cmp qword [rbx + 0xe8], 0xffffffffffffffff
lea rsi, [rbx + 0x1b9]
mov rdi, rsi
mov byte [rsi], 0
jne 0x1400952d7
cmp byte [rbx + 0x1be], 0
jne 0x1400952d7
cmp byte [rbp + 0x292], 0
jne 0x1400952d7
cmp byte [rbp + 0x603], 0xb
jne 0x1400952d7
mov rax, qword [rbp + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x1400952d7
cmp byte [rbx + 0x1060], 5
je 0x1400952d7
mov edx, 2
mov rcx, rbp
call fcn.14008bc20
cmp byte [rdi], 0
jne 0x1400952e7
mov rcx, rbx
call fcn.140095900
test eax, eax
jne 0x14009506c
movzx eax, byte [rbp + 0x292]
test al, al
je 0x140095359
mov eax, dword [rbx + 0x158]
cmp eax, 0x191
jne 0x140095308
cmp dword [rbp + 0x390], 2
je 0x140095318
cmp eax, 0x197
jne 0x14009532a
cmp dword [rbp + 0x394], 2
jne 0x14009532a
mov byte [rbx + 0x117d], 1
movzx eax, byte [rbp + 0x292]
test al, al
je 0x140095359
mov eax, dword [rbx + 0x158]
cmp eax, 0x191
jne 0x140095342
cmp dword [rbp + 0x488], 1
je 0x140095352
jmp 0x140095359
cmp eax, 0x197
jne 0x140095359
cmp dword [rbp + 0x48c], 1
jne 0x140095359
mov byte [rbx + 0x117d], 1
cmp dword [rbp + 0x488], 3
jne 0x140095378
cmp dword [rbx + 0x158], 0x191
je 0x140095378
mov dword [rbp + 0x488], 4
cmp dword [rbp + 0x48c], 3
jne 0x140095397
cmp dword [rbx + 0x158], 0x197
je 0x140095397
mov dword [rbp + 0x48c], 4
mov eax, dword [rbx + 0x158]
mov rcx, r15
sub eax, 0x64
cmp eax, 0x64
sbb edi, edi
xor eax, eax
and edi, 0x10
cmp byte [rbx + 0x97a], al
setne al
add eax, 2
or edi, eax
call fcn.1400844e0
mov rcx, r15
mov r14, rax
call fcn.1400844f0
mov r8, rax
mov r9, r14
mov edx, edi
mov rcx, rbx
call fcn.14008aef0
test eax, eax
jne 0x14009506c
mov rdx, qword [rbx + 0x108]
movsxd rcx, r14d
add qword [rbx + 0x11a8], rcx
add rdx, rcx
mov qword [rbx + 0x108], rdx
mov rcx, rbx
mov r8d, dword [rbx + 0x158]
call fcn.140096080
test al, al
jne 0x14009575b
lea eax, [r8 - 0x64]
mov edi, 0
cmp eax, 0x63
cmova rdx, rdi
mov qword [rbx + 0x110], rdx
call fcn.140093550
test eax, eax
jne 0x14009506c
cmp dword [rbx + 0x158], 0x12c
jl 0x140095555
cmp byte [rbp + 0x29c], dil
jne 0x140095545
cmp byte [rbp + 0x292], dil
jne 0x140095545
cmp byte [rbp + 0x29d], dil
jne 0x14009554e
movzx ecx, byte [rbx + 0x1060]
sub ecx, 1
je 0x14009548f
sub ecx, 1
je 0x14009548f
sub ecx, 1
je 0x14009548f
cmp ecx, 1
jne 0x140095545
xor edx, edx
mov rcx, rbx
call fcn.1400803c0
cmp byte [rbx + 0x1bb], dil
jne 0x140095545
cmp dword [rbx + 0x158], 0x1a1
jne 0x1400954e7
cmp byte [rbx + 0x117f], dil
je 0x1400954e7
mov rcx, qword [rbx + 0x1068]
mov byte [rbx + 0x1180], 1
call qword [fcn.1400f451c]
lea rdx, [rbx + 0xe8]
mov rcx, rbx
mov qword [rbx + 0x198], rax
call fcn.14008e860
jmp 0x140095545
cmp byte [rbx + 0x976], dil
je 0x140095507
cmp dword [rbx + 0x170], edi
jle 0x140095545
or dword [rbx + 0x15c], 2
mov dword [rbx + 0x170], edi
jmp 0x140095545
mov edx, 2
mov rcx, rbp
call fcn.14008bc20
lea rdx, [rbx + 0xe8]
mov rcx, rbx
call fcn.14008e860
test eax, eax
jne 0x14009506c
mov byte [rbx + 0x1bb], 1
cmp byte [rbx + 0x117f], dil
je 0x140095545
mov dword [rbx + 0x170], 3
cmp byte [rbp + 0x29d], dil
je 0x140095555
or dword [rbx + 0x15c], 2
cmp byte [rsi], dil
je 0x14009570f
mov rcx, r15
call fcn.140084500
mov rsi, qword [rbx + 0x148]
cmp byte [rsi], 0
je 0x14009506a
mov rdi, qword [rsp + 0xc0]
mov edx, 0xa
mov rcx, rsi
mov r12, rsi
mov rdi, qword [rdi]
mov r8, rdi
mov r14, rdi
call fcn.1400abd50
mov rcx, rax
test rax, rax
jne 0x140094eb0
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.140084480
test eax, eax
jne 0x14009506c
cmp dword [rbx + 0x144], eax
jne 0x14009506a
mov rcx, r15
call fcn.1400844e0
mov rcx, r15
mov rdi, rax
call fcn.1400844f0
mov r8, rax
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.140095c50
cmp eax, 2
jne 0x14009506a
mov edx, eax
mov byte [rbx + 0x1b9], 0
mov rcx, rbp
mov dword [rbx + 0x140], eax
call fcn.14008bc20
cmp byte [rbx + 0x996], 0
jne 0x14009506a
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.14008afe0
mov eax, 1
jmp 0x14009506c
mov edx, 2
mov rcx, rbp
call fcn.14008bc20
cmp byte [rbx + 0x996], 0
je 0x140095616
mov byte [rbx + 0x1b9], 0
cmp qword [rsi], 0
je 0x140095661
mov dword [rbx + 0x140], 1
jmp 0x14009506a
mov rax, qword [rsp + 0x58]
mov dword [rbx + 0x140], 2
mov qword [rsi], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x148], rax
jmp 0x14009506a
mov eax, 0x66666667
imul r9d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov r8d, edx
lea ecx, [rdx + rdx*4]
add ecx, ecx
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sub r9d, ecx
mov rcx, rbx
call fcn.14008afe0
mov eax, 1
jmp 0x14009506c
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.14008afe0
mov eax, 1
jmp 0x14009506c
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.14008afe0
mov eax, 1
jmp 0x14009506c
xor eax, eax
mov dword [rbx + 0x174], 3
mov dword [rbx + 0x144], eax
mov eax, 1
mov byte [rbx + 0x1b9], 1
jmp 0x14009506c
mov rcx, qword [rsp + 0xc8]
cmp byte [rbx + 0x97d], dil
je 0x140095727
mov byte [rcx], 1
mov al, 1
jmp 0x14009572a
movzx eax, byte [rcx]
cmp qword [rbx + 0xf0], rdi
jne 0x140095738
mov byte [rcx], 1
jmp 0x14009573c
test al, al
je 0x140095743
and dword [rbx + 0x15c], 0xfffffffe
mov r9, r14
mov r8, r12
mov edx, 1
mov rcx, rbx
call fcn.14008af00
jmp 0x14009506a
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.14008afe0
mov eax, socket
jmp 0x14009506c