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

Disassembly:
mov r11, rsp
push rbp
push r12
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx r9d, byte [rdx]
xor ebp, ebp
mov r12, r8
mov r15, rdx
mov r14, rcx
test r9b, r9b
je 0x140328fe4
mov qword [r11 - 0x38], r13
lea r13, str.ZYXWVUTSRQPONMLKJIHGFEDCBA9876543210123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov qword [r11 + 0x20], rbx
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x30], rdi
cmp r9b, 0x25
je 0x140328ad3
mov rdx, qword [r14 + 0x60]
lea rcx, [r14 + 0x50]
mov r8, qword [rcx + 0x18]
cmp rdx, r8
jae 0x140328abd
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x140328aaa
mov rcx, qword [rcx]
mov byte [rcx + rdx], r9b
mov eax, 1
mov byte [rcx + rdx + 1], 0
jmp 0x140328fb4
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14010f5d0
mov eax, 1
jmp 0x140328fb4
movsx edi, byte [r15 + 1]
lea eax, [rdi - 0x30]
cmp al, 9
jbe 0x140328c52
cmp dil, 0x5f
je 0x140328c52
lea rcx, [r14 + 0x50]
cmp dil, 0x25
jne 0x140328b34
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
cmp rdx, r8
jae 0x140328b20
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x140328b15
mov rcx, qword [rcx]
mov word [rcx + rdx], 0x25
jmp 0x140328faf
xor r8d, r8d
mov r9b, 0x25
lea edx, [r8 + 1]
call fcn.14010f5d0
jmp 0x140328faf
mov dword [r14], 5
mov r8, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov rax, r8
sub rax, rdx
cmp rax, 0x26
jb 0x140328b7f
lea rax, [rdx + 0x26]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x140328b60
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8d, 0x26
mov rcx, rbx
lea rdx, str.____void_XLogger::DoTypeSafeFormat:__
call fcn.14039b2e0
mov byte [rbx + 0x26], 0
jmp 0x140328b9b
xor r8d, r8d
mov qword [rsp + 0x20], 0x26
lea r9, str.____void_XLogger::DoTypeSafeFormat:__
lea edx, [r8 + 0x26]
call fcn.14010f390
mov rcx, qword [r14 + 0x60]
lea rbx, [r14 + 0x50]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140328bcb
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140328bc0
mov rax, qword [rbx]
mov byte [rax + rcx], dil
mov byte [rax + rcx + 1], 0
jmp 0x140328bde
xor r8d, r8d
movzx r9d, dil
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.14010f5d0
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x140328c29
lea rax, [rcx + 0x12]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
jb 0x140328c03
mov rbx, qword [rbx]
add rbx, rcx
lea rdx, str._not_fit_mode____
mov rcx, rbx
mov r8d, reloc.WS2_32.dll_select
call fcn.14039b2e0
mov eax, 1
mov byte [rbx + 0x12], 0
jmp 0x140328fb4
xor r8d, r8d
mov qword [rsp + 0x20], reloc.WS2_32.dll_select
lea r9, str._not_fit_mode____
mov rcx, rbx
lea edx, [r8 + 0x12]
call fcn.14010f390
mov eax, 1
jmp 0x140328fb4
mov esi, ebp
cmp dil, 0x5f
je 0x140328c5d
lea esi, [rdi - 0x30]
movsxd rax, esi
mov rdx, qword [r12 + rax*8]
test rdx, rdx
je 0x140328e1d
mov rdx, qword [rdx]
test rdx, rdx
je 0x140328c98
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140328c80
lea rcx, [r14 + 0x50]
call fcn.14008b0e0
jmp 0x140328fad
mov dword [r14], 5
mov rdx, qword [r14 + 0x68]
mov rcx, qword [r14 + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2b
jb 0x140328ce8
lea rax, [rcx + 0x2b]
mov qword [r14 + 0x60], rax
lea rax, [r14 + 0x50]
cmp rdx, 0x10
jb 0x140328cc9
mov rax, qword [r14 + 0x50]
lea rbx, [rax + rcx]
mov r8d, 0x2b
mov rcx, rbx
lea rdx, str.____void_XLogger::DoTypeSafeFormat:__args_
call fcn.14039b2e0
mov byte [rbx + 0x2b], 0
jmp 0x140328d08
xor r8d, r8d
mov qword [rsp + 0x20], 0x2b
lea r9, str.____void_XLogger::DoTypeSafeFormat:__args_
lea rcx, [r14 + 0x50]
lea edx, [r8 + 0x2b]
call fcn.14010f390
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x38]
mov ecx, esi
nop dword [rax]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
movsxd rax, ecx
mov ecx, edx
movzx eax, byte [rax + r13 + 0x23]
mov byte [r8], al
inc r8
test edx, edx
jne 0x140328d20
test esi, esi
jns 0x140328d58
mov byte [r8], 0x2d
inc r8
mov byte [r8], 0
lea rax, [rsp + 0x38]
dec r8
cmp rax, r8
jae 0x140328d89
nop dword [rax]
movzx eax, byte [r9]
movzx ecx, byte [r8]
mov byte [r8], al
dec r8
mov byte [r9], cl
inc r9
cmp r9, r8
jb 0x140328d70
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140328da0
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x50]
call fcn.14008b0e0
mov r8, qword [r14 + 0x68]
lea rcx, [r14 + 0x50]
mov rdx, qword [rcx + 0x10]
mov rax, r8
sub rax, rdx
cmp rax, 0x15
jb 0x140328e03
lea rax, [rdx + 0x15]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x140328de1
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8d, reloc.WS2_32.dll_setsockopt
mov rcx, rbx
lea rdx, str.___str____NULL____
call fcn.14039b2e0
mov byte [rbx + 0x15], 0
jmp 0x140328fad
mov qword [rsp + 0x20], reloc.WS2_32.dll_setsockopt
lea r9, str.___str____NULL____
mov edx, reloc.WS2_32.dll_setsockopt
jmp 0x140328fa5
mov dword [r14], 5
mov rdx, qword [r14 + 0x68]
mov rcx, qword [r14 + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2b
jb 0x140328e6d
lea rax, [rcx + 0x2b]
mov qword [r14 + 0x60], rax
lea rax, [r14 + 0x50]
cmp rdx, 0x10
jb 0x140328e4e
mov rax, qword [r14 + 0x50]
lea rbx, [rax + rcx]
mov r8d, 0x2b
mov rcx, rbx
lea rdx, str.____void_XLogger::DoTypeSafeFormat:__args_
call fcn.14039b2e0
mov byte [rbx + 0x2b], 0
jmp 0x140328e8d
xor r8d, r8d
mov qword [rsp + 0x20], 0x2b
lea r9, str.____void_XLogger::DoTypeSafeFormat:__args_
lea rcx, [r14 + 0x50]
lea edx, [r8 + 0x2b]
call fcn.14010f390
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x38]
mov r9d, esi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x66666667
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub r9d, eax
movsxd rax, r9d
mov r9d, edx
movzx eax, byte [rax + r13 + 0x23]
mov byte [rcx], al
inc rcx
test edx, edx
jne 0x140328eb0
test esi, esi
jns 0x140328ee9
mov byte [rcx], 0x2d
inc rcx
mov byte [rcx], 0
lea rax, [rsp + 0x38]
dec rcx
cmp rax, rcx
jae 0x140328f17
nop dword [rax]
movzx eax, byte [r8]
movzx edx, byte [rcx]
mov byte [rcx], al
dec rcx
mov byte [r8], dl
inc r8
cmp r8, rcx
jb 0x140328f00
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140328f30
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x50]
call fcn.14008b0e0
mov r8, qword [r14 + 0x68]
lea rcx, [r14 + 0x50]
mov rdx, qword [rcx + 0x10]
mov rax, r8
sub rax, rdx
cmp rax, 0xe
jb 0x140328f90
lea rax, [rdx + 0xe]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x140328f71
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8d, select
mov rcx, rbx
lea rdx, str.___NULL____
call fcn.14039b2e0
mov byte [rbx + 0xe], 0
jmp 0x140328fad
mov qword [rsp + 0x20], select
lea r9, str.___NULL____
mov edx, select
xor r8d, r8d
call fcn.14010f390
inc ebp
mov eax, 2
add r15, rax
movzx r9d, byte [r15]
test r9b, r9b
jne 0x140328a82
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140398000
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rbp
ret