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

Disassembly:
push rbx
sub rsp, 0x20
mov r10, qword [rdx]
movsx eax, byte [r10]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x1400183e6.35
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x1858c]
mov r9d, dword [r11 + rax*4 + 0x18570]
add r9, r11
jmp r9
lea rax, [r10 + 1]
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x140018446
inc rax
lea rbx, [r8 + 0x20]
mov qword [rdx], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
sub rax, rcx
cmp rax, 0x10
jge 0x140018432
mov rcx, rbx
call fcn.1400196d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbx + 0x18], rax
movups xmmword [rcx], xmm0
add rsp, 0x20
pop rbx
ret
sub rax, qword [rdx + 0x10]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
add rsp, 0x20
pop rbx
ret
lea rax, [r10 + 1]
mov qword [rdx], rax
cmp byte [rax], 0x72
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x140018446
inc rax
lea rbx, [r8 + 0x20]
mov qword [rdx], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
sub rax, rcx
cmp rax, 0x10
jge 0x1400184a4
mov rcx, rbx
call fcn.1400196d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbx + 0x18], rax
mov eax, 0xa
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], ax
add rsp, 0x20
pop rbx
ret
lea rax, [r10 + 1]
mov qword [rdx], rax
cmp byte [rax], 0x61
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x140018446
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x140018446
inc rax
lea rbx, [r8 + 0x20]
mov qword [rdx], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
sub rax, rcx
cmp rax, 0x10
jge 0x140018525
mov rcx, rbx
call fcn.1400196d0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbx + 0x18], rax
mov eax, 9
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], ax
add rsp, 0x20
pop rbx
ret
xor r9d, r9d
add rsp, 0x20
pop rbx
jmp 0x140018660
add rsp, 0x20
pop rbx
jmp 0x140018a20
add rsp, 0x20
pop rbx
jmp 0x140018c50
add rsp, 0x20
pop rbx
jmp 0x140018e00
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx r12d, r9b
mov rsi, r8
mov r15, rdx
mov r11, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x28], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm1
movsd qword [rsp + 0x38], xmm1
mov qword [rsp + 0x40], rdx
movq rdx, xmm0
inc rdx
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov r14, rdx
lea r13, [0x1400dba70]
mov rbp, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x5c
jne 0x1400188df
mov rdi, rdx
sub rdi, rbp
inc rdx
mov qword [rsp + 0x28], rdx
movzx ecx, byte [rdx]
movzx r8d, byte [rcx + r13]
test r8b, r8b
je 0x140018708
inc rdx
mov byte [rbx], r8b
inc rbx
mov qword [rsp + 0x30], rbx
jmp 0x1400186cd
cmp cl, 0x75
jne 0x14001892c
inc rdx
mov qword [rsp + 0x28], rdx
xor eax, eax
xor r9d, r9d
mov r10, rdx
movsx r8d, byte [rdx]
shl eax, 4
add eax, r8d
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x140018739
add eax, 0xffffffd0
jmp 0x140018758
lea ecx, [r8 - 0x41]
cmp cl, 5
ja 0x140018747
add eax, 0xffffffc9
jmp 0x140018758
sub r8b, 0x61
cmp r8b, 5
ja 0x140018918
add eax, 0xffffffa9
lea rdx, [r10 + 1]
mov r10, rdx
mov qword [rsp + 0x28], rdx
inc r9d
cmp r9d, 4
jl 0x140018721
mov r8d, dword [r11 + 0x30]
test r8d, r8d
jne 0x1400189df
lea r10d, [rax - 0xd800]
cmp r10d, 0x3ff
ja 0x140018844
cmp byte [rdx], 0x5c
jne 0x140018907
inc rdx
mov qword [rsp + 0x28], rdx
cmp byte [rdx], 0x75
jne 0x140018907
inc rdx
mov qword [rsp + 0x28], rdx
xor ecx, ecx
xor r9d, r9d
nop word [rax + rax]
movsx r8d, byte [rdx]
shl ecx, 4
add ecx, r8d
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400187d7
add ecx, 0xffffffd0
jmp 0x1400187f1
lea eax, [r8 - 0x41]
cmp al, 5
ja 0x1400187e4
add ecx, 0xffffffc9
jmp 0x1400187f1
sub r8b, 0x61
cmp r8b, 5
ja 0x140018808
add ecx, 0xffffffa9
inc rdx
mov qword [rsp + 0x28], rdx
inc r9d
cmp r9d, 4
jl 0x1400187c0
mov r8d, dword [r11 + 0x30]
jmp 0x14001881c
mov dword [r11 + 0x30], 8
mov qword [r11 + 0x38], rdi
xor ecx, ecx
mov r8d, 8
test r8d, r8d
jne 0x1400189df
add ecx, 0xffff2400
cmp ecx, 0x3ff
ja 0x1400188f9
mov eax, r10d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
cmp eax, 0x7f
ja 0x140018858
mov byte [rbx], al
inc rbx
mov qword [rsp + 0x30], rbx
jmp 0x1400186d2
movzx r9d, al
and r9b, 0x3f
or r9b, 0x80
mov ecx, eax
shr ecx, 6
cmp eax, 0x7ff
ja 0x140018887
or cl, 0xc0
mov byte [rbx], cl
mov byte [rbx + 1], r9b
add rbx, 2
mov qword [rsp + 0x30], rbx
jmp 0x1400186d2
mov r8d, eax
shr r8d, 0xc
and cl, 0x3f
or cl, 0x80
cmp eax, 0xffff
ja 0x1400188b7
or r8b, 0xe0
mov byte [rbx], r8b
mov byte [rbx + 1], cl
mov byte [rbx + 2], r9b
add rbx, 3
mov qword [rsp + 0x30], rbx
jmp 0x1400186d2
shr eax, 0x12
or al, 0xf0
mov byte [rbx], al
and r8b, 0x3f
or r8b, 0x80
mov byte [rbx + 1], r8b
mov byte [rbx + 2], cl
mov byte [rbx + 3], r9b
add rbx, 4
mov qword [rsp + 0x30], rbx
jmp 0x1400186d2
cmp al, 0x22
je 0x140018960
cmp al, 0x20
jb 0x14001893d
inc rdx
mov byte [rbx], al
inc rbx
mov qword [rsp + 0x30], rbx
jmp 0x1400186cd
mov dword [r11 + 0x30], 9
mov qword [r11 + 0x38], rdi
jmp 0x140018973
mov dword [r11 + 0x30], 9
mov qword [r11 + 0x38], rdi
jmp 0x1400189df
mov dword [r11 + 0x30], 8
mov qword [r11 + 0x38], rdi
mov r8d, 8
jmp 0x140018977
mov dword [r11 + 0x30], 0xa
mov qword [r11 + 0x38], rdi
jmp 0x1400189df
sub rdx, rbp
mov qword [r11 + 0x38], rdx
test al, al
jne 0x140018954
mov r8d, recv
mov dword [r11 + 0x30], r8d
jmp 0x140018977
mov r8d, recv
mov dword [r11 + 0x30], r8d
jmp 0x140018977
inc rdx
mov qword [rsp + 0x28], rdx
mov byte [rbx], 0
inc rbx
mov qword [rsp + 0x30], rbx
mov r8d, dword [r11 + 0x30]
test r8d, r8d
jne 0x1400189df
sub rbx, r14
dec rbx
lea rcx, [rsi + 0x20]
mov rdx, qword [rsi + 0x38]
mov rax, qword [rsi + 0x40]
sub rax, rdx
cmp rax, 0x10
jge 0x1400189a6
call fcn.1400196d0
mov rdx, qword [rsi + 0x38]
movsd xmm1, qword [rsp + 0x20]
lea rax, [rdx + 0x10]
mov qword [rsi + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov eax, 0x405
mov word [rdx + 0xe], ax
lea rax, [0x1400d8888]
test r14, r14
cmovne rax, r14
movabs rcx, 0xffff000000000000
and qword [rdx + 8], rcx
mov dword [rdx], ebx
or qword [rdx + 8], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r15], xmm0
movsd qword [r15 + 0x10], xmm1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
inc qword [rdx]
mov rdi, rcx
mov rcx, qword [r8 + 0x38]
mov rbp, r8
mov rax, qword [r8 + 0x40]
mov rbx, rdx
sub rax, rcx
cmp rax, 0x10
jge 0x140018a55
lea rcx, [r8 + 0x20]
call fcn.1400196d0
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov r14d, 3
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], r14w
mov rcx, rbx
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x140018ab6
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov word [rax - 2], r14w
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor esi, esi
nop dword [rax + rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140018c2c
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140018660
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov rcx, rbx
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140018c12
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400183b0
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov rcx, rbx
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018c3b
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140018b77
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
je 0x140018ac0
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp cl, 0x7d
je 0x140018b96
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 6
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc rax
mov edi, esi
mov qword [rbx], rax
mov rbx, qword [rbp + 0x38]
shl rdi, 5
sub rbx, rdi
mov qword [rbp + 0x38], rbx
mov rcx, qword [rbp + 0x10]
mov word [rbx - 2], r14w
test esi, esi
je 0x140018bf3
mov rdx, rdi
call fcn.140019610
movabs rcx, 0xffff000000000000
mov r8, rdi
and qword [rbx - 8], rcx
mov rdx, rbx
or qword [rbx - 8], rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx - 0xc], esi
mov dword [rbx - 0x10], esi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
movabs rcx, 0xffff000000000000
mov dword [rbx - 0xc], esi
and qword [rbx - 8], rcx
mov dword [rbx - 0x10], esi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 5
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 4
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
inc qword [rdx]
mov rdi, rcx
mov rcx, qword [r8 + 0x38]
mov rbp, r8
mov rax, qword [r8 + 0x40]
mov rbx, rdx
sub rax, rcx
cmp rax, 0x10
jge 0x140018c85
lea rcx, [r8 + 0x20]
call fcn.1400196d0
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov r14d, 4
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], r14w
mov rcx, rbx
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018de6
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x140018ce6
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov word [rax - 2], r14w
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400183b0
cmp dword [rdi + 0x30], esi
jne 0x140018de6
nop
mov rcx, rbx
inc esi
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018de6
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140018d56
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.1400185f0
cmp dword [rdi + 0x30], 0
jne 0x140018de6
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400183b0
cmp dword [rdi + 0x30], 0
je 0x140018d00
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp cl, 0x5d
jne 0x140018dd7
inc rax
mov edi, esi
mov qword [rbx], rax
mov rbx, qword [rbp + 0x38]
shl rdi, 4
sub rbx, rdi
mov qword [rbp + 0x38], rbx
mov rcx, qword [rbp + 0x10]
mov word [rbx - 2], r14w
test esi, esi
je 0x140018db8
mov rdx, rdi
call fcn.140019610
movabs rcx, 0xffff000000000000
mov r8, rdi
and qword [rbx - 8], rcx
mov rdx, rbx
or qword [rbx - 8], rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx - 0xc], esi
mov dword [rbx - 0x10], esi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
movabs rcx, 0xffff000000000000
mov dword [rbx - 0xc], esi
and qword [rbx - 8], rcx
mov dword [rbx - 0x10], esi
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov r14, r8
mov qword [rbp - 0x50], rdx
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x48], xmm0
movsd xmm7, qword [rdx + 0x10]
movsd qword [rbp - 0x38], xmm7
mov qword [rbp - 0x30], rdx
movq r8, xmm0
mov rax, r8
mov r12, qword [rbp - 0x38]
sub rax, r12
mov qword [rbp - 0x58], rax
xorps xmm6, xmm6
xorps xmm1, xmm1
cmp byte [r8], 0x2d
jne 0x140018e7b
inc r8
mov qword [rbp - 0x48], r8
mov dl, 1
jmp 0x140018e7d
xor dl, dl
mov byte [rbp - 0x5f], dl
xor r11d, r11d
mov ebx, r11d
xor sil, sil
mov byte [rbp - 0x60], sil
mov r10d, r11d
movsx eax, byte [r8]
movsd xmm2, qword [0x14013f588]
cmp al, 0x30
jne 0x140018eb3
mov edi, r11d
lea rdx, [r8 + 1]
mov qword [rbp - 0x48], rdx
xor r15b, r15b
jmp 0x140019072
cmp al, 0x31
jl 0x140019593
cmp al, 0x39
jg 0x140019593
inc r8
mov qword [rbp - 0x48], r8
lea edi, [rax - 0x30]
movzx ecx, byte [r8]
mov rax, r8
test dl, dl
je 0x140018f11
cmp cl, 0x30
jl 0x140018f53
cmp cl, 0x39
ja 0x140018f53
cmp edi, 0xccccccc
jb 0x140018ef1
jne 0x140018f4a
cmp cl, 0x38
ja 0x140018f4a
lea r8, [rax + 1]
mov qword [rbp - 0x48], r8
lea edi, [rdi + rdi*4]
movsx eax, byte [rax]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
inc r10d
movzx ecx, byte [r8]
mov rax, r8
jmp 0x140018ed8
cmp cl, 0x30
jl 0x140018f53
cmp cl, 0x39
ja 0x140018f53
cmp edi, 0x19999999
jb 0x140018f2a
jne 0x140018f4a
cmp cl, 0x35
ja 0x140018f4a
lea r8, [rax + 1]
mov qword [rbp - 0x48], r8
lea edi, [rdi + rdi*4]
movsx eax, byte [rax]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
inc r10d
movzx ecx, byte [r8]
mov rax, r8
jmp 0x140018f11
mov sil, 1
mov byte [rbp - 0x60], sil
mov ebx, edi
xor r15b, r15b
mov r9, rax
test sil, sil
je 0x140019030
movzx ecx, byte [rax]
test dl, dl
je 0x140018fba
cmp cl, 0x30
jl 0x140019030
movzx eax, byte [r8]
movabs rdx, 0xccccccccccccccc
cmp al, 0x39
jg 0x140019030
cmp rbx, rdx
jb 0x140018f93
jne 0x140019006
cmp al, 0x38
jg 0x140019006
lea r8, [r9 + 1]
mov qword [rbp - 0x48], r8
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r10d
movzx eax, byte [r8]
mov r9, r8
cmp al, 0x30
jl 0x140019030
jmp 0x140018f80
cmp cl, 0x30
jl 0x140019030
movzx eax, byte [r8]
movabs rdx, 0x1999999999999999
nop dword [rax]
cmp al, 0x39
jg 0x140019030
cmp rbx, rdx
jb 0x140018fdf
jne 0x140019006
cmp al, 0x35
jg 0x140019006
lea r8, [r9 + 1]
mov qword [rbp - 0x48], r8
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r10d
movzx eax, byte [r8]
mov r9, r8
cmp al, 0x30
jl 0x140019030
jmp 0x140018fd0
xorps xmm1, xmm1
test rbx, rbx
js 0x140019015
cvtsi2sd xmm1, rbx
jmp 0x14001902d
mov rax, rbx
mov rcx, rbx
and eax, 1
shr rcx, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r15b, 1
mov rdx, r9
test r15b, r15b
je 0x140019072
cmp byte [r9], 0x30
jl 0x140019072
movzx eax, byte [r8]
mov rdx, r9
cmp al, 0x39
jg 0x140019072
lea rdx, [r9 + 1]
mov qword [rbp - 0x48], rdx
movsx eax, byte [r9]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
movzx eax, byte [rdx]
mov r9, rdx
cmp al, 0x30
jge 0x140019042
mov esi, r11d
cmp byte [rdx], 0x2e
jne 0x14001918d
lea r8, [rdx + 1]
mov qword [rbp - 0x48], r8
movzx eax, byte [r8]
cmp al, 0x30
jl 0x1400191c4
cmp al, 0x39
jg 0x1400191c4
mov rdx, r8
test r15b, r15b
jne 0x140019135
mov rcx, r8
mov eax, edi
cmp byte [rbp - 0x60], sil
cmovne rax, rbx
mov rbx, rax
movzx r9d, byte [r8]
movabs r15, 0x1fffffffffffff
mov rdx, rcx
cmp r9b, 0x39
jg 0x140019108
cmp rbx, r15
ja 0x140019108
lea r8, [rcx + 1]
mov qword [rbp - 0x48], r8
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
dec esi
movzx r9d, byte [r8]
mov rcx, r8
mov rdx, r8
lea eax, [r10 + 1]
test rbx, rbx
cmove eax, r10d
mov r10d, eax
cmp r9b, 0x30
jge 0x1400190c4
xorps xmm1, xmm1
test rbx, rbx
js 0x140019117
cvtsi2sd xmm1, rbx
jmp 0x14001912f
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r15b, 1
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14001918d
mov rax, rdx
nop dword [rax]
mov rdx, rax
cmp byte [r8], 0x39
jg 0x14001918d
lea rdx, [rax + 1]
mov r8, rdx
mov qword [rbp - 0x48], rdx
cmp r10d, 0x11
jge 0x140019184
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec esi
lea eax, [r10 + 1]
comisd xmm0, xmm6
cmovbe eax, r10d
mov r10d, eax
mov rax, rdx
cmp byte [r8], 0x30
jge 0x140019140
movzx eax, byte [rdx]
cmp al, 0x65
je 0x14001919c
cmp al, 0x45
jne 0x1400192ab
inc rdx
mov qword [rbp - 0x48], rdx
test r15b, r15b
jne 0x1400191e6
mov eax, edi
mov rcx, rbx
cmp byte [rbp - 0x60], r11b
cmove rcx, rax
xorps xmm1, xmm1
test rcx, rcx
js 0x1400191ce
cvtsi2sd xmm1, rcx
jmp 0x1400191e3
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x140019598
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r15b, 1
xor cl, cl
movzx eax, byte [rdx]
cmp al, 0x2b
je 0x1400191f5
cmp al, 0x2d
jne 0x1400191ff
mov cl, 1
inc rdx
movzx eax, byte [rdx]
mov qword [rbp - 0x48], rdx
cmp al, 0x30
jl 0x140019365
cmp al, 0x39
jg 0x140019365
lea r8, [rdx + 1]
mov qword [rbp - 0x48], r8
movsx r11d, al
sub r11d, 0x30
movzx r9d, byte [r8]
test cl, cl
je 0x14001931c
lea ecx, [rsi + 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 0x1400192a8
mov r9, r8
cmp byte [r8], 0x39
jg 0x1400192a8
lea r8, [r9 + 1]
mov qword [rbp - 0x48], r8
lea r11d, [r11 + r11*4]
movsx eax, byte [r9]
lea r11d, [r11 - 0x18]
lea r11d, [rax + r11*2]
mov r9, r8
cmp r11d, r10d
jle 0x1400192a2
movzx edx, byte [r8]
cmp dl, 0x30
jl 0x1400192a2
mov rcx, r8
mov r9, rcx
cmp dl, 0x39
ja 0x14001929e
lea r8, [rcx + 1]
mov rcx, r8
mov r9, r8
movzx edx, byte [r8]
cmp dl, 0x30
jge 0x140019283
mov qword [rbp - 0x48], r8
cmp byte [r8], 0x30
jge 0x140019251
neg r11d
test r15b, r15b
je 0x1400193ec
lea ecx, [r11 + rsi]
cmp ecx, 0xfffffecc
jge 0x140019379
divsd xmm1, qword [0x14013f6b8]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x1400193a1
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400dbb70]
sub rcx, rax
movaps xmm6, xmm1
divsd xmm6, qword [rcx]
comisd xmm6, xmmword [0x14013f6c0]
jbe 0x1400193a1
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x58]
mov qword [r13 + 0x38], rax
jmp 0x1400195a3
mov edx, 0x134
sub edx, esi
cmp r9b, 0x30
jl 0x1400192ab
mov rax, r8
nop dword [rax]
cmp byte [r8], 0x39
jg 0x1400192ab
lea r8, [rax + 1]
mov qword [rbp - 0x48], r8
lea r11d, [r11 + r11*4]
movsx eax, byte [rax]
lea r11d, [r11 - 0x18]
lea r11d, [rax + r11*2]
cmp r11d, edx
jg 0x140019307
mov rax, r8
cmp byte [r8], 0x30
jl 0x1400192ab
jmp 0x140019330
sub rdx, r12
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x1400195a3
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x1400192e8
lea rcx, [0x1400dbb70]
movsd xmm6, qword [rax + rcx]
mulsd xmm6, xmm1
jmp 0x1400192f9
cmp byte [rbp - 0x5f], 0
je 0x1400193ae
xorps xmm6, xmmword [0x14013fcb0]
mov rcx, qword [r14 + 0x38]
mov rax, qword [r14 + 0x40]
sub rax, rcx
cmp rax, 0x10
jge 0x1400193cc
lea rcx, [r14 + 0x20]
call fcn.1400196d0
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsd qword [rcx], xmm6
mov eax, 0x216
mov word [rcx + 0xe], ax
jmp 0x1400195a3
mov rax, qword [r14 + 0x40]
cmp byte [rbp - 0x60], 0
je 0x140019509
cmp byte [rbp - 0x5f], 0
je 0x140019496
neg rbx
mov rdx, qword [r14 + 0x38]
sub rax, rdx
cmp rax, 0x10
jge 0x140019421
lea rcx, [r14 + 0x20]
call fcn.1400196d0
mov rdx, qword [r14 + 0x38]
lea rax, [rdx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbx
mov eax, __WSAFDIsSet
mov word [rdx + 0xe], ax
test rbx, rbx
js 0x14001947b
mov eax, 0x196
mov word [rdx + 0xe], ax
movabs r8, 0xffffffff00000000
test r8, rbx
jne 0x140019461
mov eax, 0x1d6
mov word [rdx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x1400195a3
or ax, 0x20
mov word [rdx + 0xe], ax
jmp 0x1400195a3
cmp rbx, 0xffffffff80000000
jl 0x1400195a3
mov eax, 0xb6
mov word [rdx + 0xe], ax
jmp 0x1400195a3
mov rcx, qword [r14 + 0x38]
sub rax, rcx
cmp rax, 0x10
jge 0x1400194b0
lea rcx, [r14 + 0x20]
call fcn.1400196d0
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov eax, 0x116
mov word [rcx + 0xe], ax
test rbx, rbx
js 0x1400194d8
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs r8, 0xffffffff00000000
test r8, rbx
jne 0x1400194ef
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x1400195a3
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x1400195a3
mov rcx, qword [r14 + 0x38]
sub rax, rcx
cmp byte [rbp - 0x5f], 0
je 0x140019555
neg edi
cmp rax, 0x10
jge 0x14001952b
lea rcx, [r14 + 0x20]
call fcn.1400196d0
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsxd rax, edi
mov qword [rcx], rax
mov eax, 0xb6
mov edx, 0x1f6
test edi, edi
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x1400195a3
cmp rax, 0x10
jge 0x140019568
lea rcx, [r14 + 0x20]
call fcn.1400196d0
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov eax, edi
mov qword [rcx], rax
shr edi, 0x1a
not di
and di, 0x20
mov eax, 0x1d6
or di, ax
mov word [rcx + 0xe], di
jmp 0x1400195a3
mov eax, 3
sub r8, r12
mov dword [r13 + 0x30], eax
mov qword [r13 + 0x38], r8
movups xmm0, xmmword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm7
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.1400c4450
mov rbx, qword [rsp + 0xd8]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret