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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov r12, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x30], xmm0
movsd xmm6, qword [rdx + 0x10]
movsd qword [rbp - 0x20], xmm6
mov qword [rbp - 0x18], rdx
movq r8, xmm0
mov rax, r8
mov r13, qword [rbp - 0x20]
sub rax, r13
mov qword [rbp - 0x38], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [r8], 0x2d
jne 0x140004d99
inc r8
mov qword [rbp - 0x30], r8
mov r10b, 1
jmp 0x140004d9c
xor r10b, r10b
mov byte [rbp - 0x40], r10b
xor ebx, ebx
mov edi, ebx
xor r9b, r9b
mov byte [rbp + 0x58], r9b
mov r11d, ebx
movsx ecx, byte [r8]
cmp cl, 0x30
jne 0x140004dc6
mov esi, ebx
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
jmp 0x140004e85
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400054bf
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140004e32
cmp al, 0x30
jl 0x140004e85
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
ja 0x140004e85
cmp esi, 0xccccccc
jb 0x140004e0b
jne 0x140004e7c
mov r8, rcx
cmp al, 0x38
ja 0x140004e7c
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r11d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140004df2
jmp 0x140004e85
cmp al, 0x30
jl 0x140004e85
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
jg 0x140004e85
cmp esi, 0x19999999
jb 0x140004e55
jne 0x140004e7c
mov r8, rcx
cmp al, 0x35
jg 0x140004e7c
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r11d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140004e40
jmp 0x140004e85
mov r9b, 1
mov byte [rbp + 0x58], r9b
mov edi, esi
xor r15b, r15b
movsd xmm2, qword [0x140092d90]
test r9b, r9b
je 0x140004fe4
test r10b, r10b
je 0x140004f1d
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140004fe4
mov r8, rdx
mov r9, rdx
movabs r10, 0xccccccccccccccc
nop word [rax + rax]
cmp cl, 0x39
ja 0x140004fdf
cmp rdi, r10
jb 0x140004ed8
jne 0x140004f05
mov r8, r9
cmp cl, 0x38
ja 0x140004f05
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
mov r8, rdx
mov r9, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140004ec0
jmp 0x140004fdf
mov rcx, rdi
mov r15b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140004f89
cvtsi2sd xmm1, rcx
jmp 0x140004f9e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140004fe4
mov r9, rdx
mov r10, rdx
movabs r14, 0x1999999999999999
nop dword [rax + rax]
mov rcx, rdi
cmp r8b, 0x39
ja 0x140004fdf
cmp rdi, r14
jb 0x140004f5d
jne 0x140004f08
mov r9, r10
cmp r8b, 0x35
ja 0x140004f08
lea rdx, [r9 + 1]
mov qword [rbp - 0x30], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
mov r9, rdx
mov r10, rdx
movzx r8d, byte [rdx]
cmp r8b, 0x30
jge 0x140004f40
jmp 0x140004fdf
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140004fdf
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x140004fdf
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
mov r8, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140004fb0
movzx r9d, byte [rbp + 0x58]
mov r14d, ebx
cmp byte [rdx], 0x2e
jne 0x14000510c
lea r8, [rdx + 1]
mov qword [rbp - 0x30], r8
movzx ecx, byte [r8]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140005144
mov rdx, r8
test r15b, r15b
jne 0x14000509b
test r9b, r9b
jne 0x14000501a
mov edi, esi
mov rcx, r8
mov r9, r8
movzx eax, byte [r8]
movabs r10, 0x1fffffffffffff
nop
cmp al, 0x39
jg 0x14000506e
mov rdx, r9
cmp rdi, r10
ja 0x14000506e
lea r8, [rcx + 1]
mov rdx, r8
mov qword [rbp - 0x30], r8
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec r14d
test rdi, rdi
je 0x140005060
inc r11d
movzx eax, byte [r8]
mov rcx, r8
mov r9, rdx
cmp al, 0x30
jge 0x140005030
xorps xmm1, xmm1
test rdi, rdi
js 0x14000507d
cvtsi2sd xmm1, rdi
jmp 0x140005095
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r15b, 1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x14000510c
mov rax, rdx
mov r10, rdx
mov r9, rdx
movzx ecx, byte [r8]
nop dword [rax]
mov rdx, r9
cmp cl, 0x39
jg 0x14000510c
cmp r11d, 0x11
jge 0x1400050f0
lea rdx, [rax + 1]
mov rcx, rdx
mov qword [rbp - 0x30], rdx
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec r14d
comisd xmm0, xmm3
jbe 0x1400050fb
inc r11d
jmp 0x1400050fb
lea rdx, [r10 + 1]
mov rcx, rdx
mov qword [rbp - 0x30], rdx
mov rax, rdx
movzx ecx, byte [rcx]
mov r10, rdx
mov r9, rdx
cmp cl, 0x30
jge 0x1400050b0
cmp byte [rdx], 0x65
je 0x14000511a
cmp byte [rdx], 0x45
jne 0x140005273
inc rdx
mov qword [rbp - 0x30], rdx
movzx r11d, byte [rbp + 0x58]
test r15b, r15b
jne 0x140005166
test r11b, r11b
mov rcx, rdi
jne 0x140005135
mov ecx, esi
xorps xmm1, xmm1
test rcx, rcx
js 0x14000514e
cvtsi2sd xmm1, rcx
jmp 0x140005163
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x1400054c4
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r15b, 1
xor r10b, r10b
movzx ecx, byte [rdx]
cmp cl, 0x2b
je 0x140005179
cmp cl, 0x2d
jne 0x140005183
mov r10b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rbp - 0x30], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000525d
lea r8, [rdx + 1]
mov qword [rbp - 0x30], r8
movsx ebx, cl
sub ebx, 0x30
movzx r9d, byte [r8]
test r10b, r10b
je 0x140005225
lea ecx, [r14 + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
cmp r9b, 0x30
jl 0x140005221
movzx eax, r9b
cmp al, 0x39
jg 0x140005221
lea rdx, [r8 + 1]
mov qword [rbp - 0x30], rdx
lea ebx, [rbx + rbx*4]
movsx eax, byte [r8]
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
mov r8, rdx
cmp ebx, r10d
jle 0x14000521a
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14000521a
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140005216
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140005200
mov qword [rbp - 0x30], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x1400051d1
neg ebx
jmp 0x140005278
mov edx, 0x134
sub edx, r14d
cmp r9b, 0x30
jl 0x140005278
movzx eax, r9b
cmp al, 0x39
jg 0x140005278
movsx eax, byte [r8]
inc r8
mov qword [rbp - 0x30], r8
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
cmp ebx, edx
jg 0x1400052c8
movzx eax, byte [r8]
cmp al, 0x30
jge 0x140005237
jmp 0x140005278
sub rdx, r13
mov dword [r12 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x38], rdx
jmp 0x1400054dc
movzx r11d, byte [rbp + 0x58]
test r15b, r15b
je 0x140005338
lea ecx, [rbx + r14]
cmp ecx, 0xfffffecc
jge 0x1400052df
divsd xmm1, qword [0x140092d98]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x1400052be
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x140092290]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x140092da0]
jbe 0x140005300
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x38]
mov qword [r12 + 0x38], rax
jmp 0x1400054dc
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x1400052ad
lea rcx, [0x140092290]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x1400052be
cmp byte [rbp - 0x40], 0
je 0x14000530d
xorps xmm3, xmmword [0x140092dd0]
movaps xmm1, xmm3
mov rcx, qword [rbp + 0x50]
call fcn.140006180
test al, al
jne 0x1400054dc
mov dword [r12 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x38]
mov qword [r12 + 0x38], rax
jmp 0x1400054dc
mov rbx, qword [rbp + 0x50]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r11b, r11b
je 0x140005434
cmp byte [rbp - 0x40], 0
je 0x1400053c4
neg rdi
cmp rax, 0x10
jge 0x14000536d
mov edx, 1
mov rcx, rbx
call fcn.1400049d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov word [rcx + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x1400053ac
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14000541a
mov eax, 0x1d6
jmp 0x140005416
cmp rdi, 0xffffffff80000000
jl 0x1400054dc
mov word [rcx + 0xe], 0xb6
jmp 0x1400054dc
cmp rax, 0x10
jge 0x1400053d7
mov edx, 1
mov rcx, rbx
call fcn.1400049d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov eax, 0x116
mov word [rcx + 0xe], ax
test rdi, rdi
js 0x140005403
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14000541a
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x1400054dc
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x1400054dc
cmp byte [rbp - 0x40], 0
je 0x14000547d
neg esi
cmp rax, 0x10
jge 0x14000544f
mov edx, 1
mov rcx, rbx
call fcn.1400049d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsxd rax, esi
mov qword [rcx], rax
mov eax, 0xb6
mov edx, 0x1f6
test esi, esi
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x1400054dc
cmp rax, 0x10
jge 0x140005490
mov edx, 1
mov rcx, rbx
call fcn.1400049d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov eax, esi
mov qword [rcx], rax
shr esi, 0x1a
not si
and si, 0x20
mov eax, 0x1d6
or si, ax
mov word [rcx + 0xe], si
jmp 0x1400054dc
mov edx, 3
mov ecx, Ordinal_50
mov eax, gethostname
mov r9, r12
sub r8, r13
mov dword [r12 + rcx], edx
mov qword [r12 + rax], r8
movups xmm0, xmmword [rbp - 0x30]
mov rax, qword [rbp + 0x48]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm6
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret