Function at 0x14003df80
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.0x14003dfb6.35
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x3e15c]
mov r9d, dword [r11 + rax*4 + 0x3e140]
add r9, r11
jmp r9
lea rax, [r10 + 1]
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x14003e016
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 0x14003e002
mov rcx, rbx
call fcn.14003f360
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 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x14003e016
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 0x14003e074
mov rcx, rbx
call fcn.14003f360
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 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x14003e016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x14003e016
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 0x14003e0f5
mov rcx, rbx
call fcn.14003f360
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 0x14003e1c0
add rsp, 0x20
pop rbx
jmp 0x14003e560
add rsp, 0x20
pop rbx
jmp 0x14003e880
add rsp, 0x20
pop rbx
jmp 0x14003ead0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx r12d, r9b
mov rsi, r8
mov r15, rdx
mov r11, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rax - 0x48], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rax + 8], xmm1
movsd qword [rax - 0x38], xmm1
mov qword [rax - 0x30], rdx
movq rcx, xmm0
inc rcx
mov rbx, rcx
mov qword [rax - 0x40], rcx
mov r14, rcx
lea r13, [0x140cc0630]
mov rbp, qword [rax - 0x38]
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
cmp al, 0x5c
jne 0x14003e42f
mov rdi, rcx
sub rdi, rbp
inc rcx
mov qword [rsp + 0x20], rcx
movzx edx, byte [rcx]
movzx r8d, byte [rdx + r13]
test r8b, r8b
je 0x14003e25b
inc rcx
mov byte [rbx], r8b
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14003e220
cmp dl, 0x75
jne 0x14003e47c
inc rcx
mov qword [rsp + 0x20], rcx
xor eax, eax
xor r8d, r8d
mov r9, rcx
nop dword [rax]
nop dword [rax + rax]
movsx edx, byte [rcx]
shl eax, 4
add eax, edx
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x14003e295
add eax, 0xffffffd0
jmp 0x14003e2b1
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x14003e2a2
add eax, 0xffffffc9
jmp 0x14003e2b1
sub dl, 0x61
cmp dl, 5
ja 0x14003e468
add eax, 0xffffffa9
lea rcx, [r9 + 1]
mov r9, rcx
mov qword [rsp + 0x20], rcx
inc r8d
cmp r8d, 4
jl 0x14003e280
mov r8d, dword [r11 + 0x30]
test r8d, r8d
jne 0x14003e52f
lea r10d, [rax - 0xd800]
cmp r10d, 0x3ff
ja 0x14003e394
cmp byte [rcx], 0x5c
jne 0x14003e457
inc rcx
mov qword [rsp + 0x20], rcx
cmp byte [rcx], 0x75
jne 0x14003e457
inc rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
xor r9d, r9d
nop
movsx r8d, byte [rcx]
shl edx, 4
add edx, r8d
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14003e327
add edx, 0xffffffd0
jmp 0x14003e341
lea eax, [r8 - 0x41]
cmp al, 5
ja 0x14003e334
add edx, 0xffffffc9
jmp 0x14003e341
sub r8b, 0x61
cmp r8b, 5
ja 0x14003e358
add edx, 0xffffffa9
inc rcx
mov qword [rsp + 0x20], rcx
inc r9d
cmp r9d, 4
jl 0x14003e310
mov r8d, dword [r11 + 0x30]
jmp 0x14003e36c
mov dword [r11 + 0x30], 8
mov qword [r11 + 0x38], rdi
xor edx, edx
mov r8d, 8
test r8d, r8d
jne 0x14003e52f
add edx, 0xffff2400
cmp edx, 0x3ff
ja 0x14003e449
mov eax, r10d
shl eax, 0xa
or eax, edx
add eax, 0x10000
cmp eax, 0x7f
ja 0x14003e3a8
mov byte [rbx], al
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14003e225
movzx r9d, al
and r9b, 0x3f
or r9b, 0x80
mov edx, eax
shr edx, 6
cmp eax, 0x7ff
ja 0x14003e3d7
or dl, 0xc0
mov byte [rbx], dl
mov byte [rbx + 1], r9b
add rbx, 2
mov qword [rsp + 0x28], rbx
jmp 0x14003e225
mov r8d, eax
shr r8d, 0xc
and dl, 0x3f
or dl, 0x80
cmp eax, 0xffff
ja 0x14003e407
or r8b, 0xe0
mov byte [rbx], r8b
mov byte [rbx + 1], dl
mov byte [rbx + 2], r9b
add rbx, 3
mov qword [rsp + 0x28], rbx
jmp 0x14003e225
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], dl
mov byte [rbx + 3], r9b
add rbx, 4
mov qword [rsp + 0x28], rbx
jmp 0x14003e225
cmp al, 0x22
je 0x14003e4b0
cmp al, 0x20
jb 0x14003e48d
inc rcx
mov byte [rbx], al
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14003e220
mov dword [r11 + 0x30], 9
mov qword [r11 + 0x38], rdi
jmp 0x14003e4c3
mov dword [r11 + 0x30], 9
mov qword [r11 + 0x38], rdi
jmp 0x14003e52f
mov dword [r11 + 0x30], 8
mov qword [r11 + 0x38], rdi
mov r8d, 8
jmp 0x14003e4c7
mov dword [r11 + 0x30], 0xa
mov qword [r11 + 0x38], rdi
jmp 0x14003e52f
sub rcx, rbp
mov qword [r11 + 0x38], rcx
test al, al
jne 0x14003e4a4
mov r8d, recv
mov dword [r11 + 0x30], r8d
jmp 0x14003e4c7
mov r8d, recv
mov dword [r11 + 0x30], r8d
jmp 0x14003e4c7
inc rcx
mov qword [rsp + 0x20], rcx
mov byte [rbx], 0
inc rbx
mov qword [rsp + 0x28], rbx
mov r8d, dword [r11 + 0x30]
test r8d, r8d
jne 0x14003e52f
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 0x14003e4f6
call fcn.14003f360
mov rdx, qword [rsi + 0x38]
movsd xmm1, qword [rsp + 0x70]
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, [0x140cbfe9a]
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 + 0x20]
movups xmmword [r15], xmm0
movsd qword [r15 + 0x10], xmm1
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
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 0x14003e5a5
lea rcx, [r8 + 0x20]
call fcn.14003f360
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov r15d, 3
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], r15w
movabs r14, 0x100002600
movups xmm0, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop word [rax + rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e5f3
bt r14, rax
jae 0x14003e5f3
inc rcx
jmp 0x14003e5e0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x14003e63f
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov word [rax - 2], r15w
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
jmp 0x14003e85a
xor esi, esi
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x14003e84b
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x14003e1c0
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
movups xmm0, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop word [rax + rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e693
bt r14, rax
jae 0x14003e693
inc rcx
jmp 0x14003e680
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x14003e83e
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x40]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e6e3
bt r14, rax
jae 0x14003e6e3
inc rcx
jmp 0x14003e6d0
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.14003df80
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
movups xmm0, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x60], xmm0
mov rcx, qword [rsp + 0x60]
nop dword [rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e743
bt r14, rax
jae 0x14003e743
inc rcx
jmp 0x14003e730
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
jne 0x14003e85a
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x14003e7bf
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x80], xmm0
mov rcx, qword [rsp + 0x80]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e798
bt r14, rax
jae 0x14003e798
inc rcx
jmp 0x14003e785
mov qword [rsp + 0x80], rcx
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rdi + 0x30], 0
je 0x14003e641
jmp 0x14003e85a
cmp cl, 0x7d
je 0x14003e7d4
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 6
jmp 0x14003e856
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], r15w
test esi, esi
je 0x14003e828
mov rdx, rdi
call fcn.14003f2a0
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
jmp 0x14003e85a
movabs rcx, 0xffff000000000000
mov dword [rbx - 0xc], esi
and qword [rbx - 8], rcx
mov dword [rbx - 0x10], esi
jmp 0x14003e85a
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 5
jmp 0x14003e856
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 4
mov qword [rdi + 0x38], rax
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
inc qword [rdx]
mov rsi, rcx
mov rcx, qword [r8 + 0x38]
mov r14, r8
mov rax, qword [r8 + 0x40]
mov rbx, rdx
sub rax, rcx
cmp rax, 0x10
jge 0x14003e8bd
lea rcx, [r8 + 0x20]
call fcn.14003f360
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [r14 + 0x38], rax
mov r15d, 4
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], r15w
movabs rdi, 0x100002600
movups xmm0, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e905
bt rdi, rax
jae 0x14003e905
inc rcx
jmp 0x14003e8f2
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rsi + 0x30], 0
jne 0x14003eab0
mov rax, qword [rbx]
mov qword [rsp + 0x80], rbp
cmp byte [rax], 0x5d
jne 0x14003e959
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [r14 + 0x38]
mov word [rax - 2], r15w
and qword [rax - 8], rcx
xor ebp, ebp
mov qword [rax - 0x10], rbp
jmp 0x14003eaa8
mov r8, r14
mov rdx, rbx
mov rcx, rsi
xor ebp, ebp
call fcn.14003df80
cmp dword [rsi + 0x30], ebp
jne 0x14003eaa8
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx]
inc ebp
movsd xmm1, qword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e9a7
bt rdi, rax
jae 0x14003e9a7
inc rcx
jmp 0x14003e994
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rsi + 0x30], 0
jne 0x14003eaa8
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x14003ea2a
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x40]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x14003e9f4
bt rdi, rax
jae 0x14003e9f4
inc rcx
jmp 0x14003e9e1
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp dword [rsi + 0x30], 0
jne 0x14003eaa8
mov r8, r14
mov rdx, rbx
mov rcx, rsi
call fcn.14003df80
cmp dword [rsi + 0x30], 0
je 0x14003e980
jmp 0x14003eaa8
cmp cl, 0x5d
jne 0x14003ea99
inc rax
mov edi, ebp
mov qword [rbx], rax
mov rbx, qword [r14 + 0x38]
shl rdi, 4
sub rbx, rdi
mov qword [r14 + 0x38], rbx
mov rcx, qword [r14 + 0x10]
mov word [rbx - 2], r15w
test ebp, ebp
je 0x14003ea83
mov rdx, rdi
call fcn.14003f2a0
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], ebp
mov dword [rbx - 0x10], ebp
jmp 0x14003eaa8
movabs rcx, 0xffff000000000000
mov dword [rbx - 0xc], ebp
and qword [rbx - 8], rcx
mov dword [rbx - 0x10], ebp
jmp 0x14003eaa8
sub rax, qword [rbx + 0x10]
mov dword [rsi + 0x30], 7
mov qword [rsi + 0x38], rax
mov rbp, qword [rsp + 0x80]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov r15, r8
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x40], xmm0
movsd xmm7, qword [rdx + 0x10]
movsd qword [rbp - 0x30], xmm7
mov qword [rbp - 0x28], rdx
movq r8, xmm0
mov rax, r8
mov r12, qword [rbp - 0x30]
sub rax, r12
mov qword [rbp - 0x48], rax
xorps xmm6, xmm6
xorps xmm1, xmm1
cmp byte [r8], 0x2d
jne 0x14003eb3b
inc r8
mov qword [rbp - 0x40], r8
mov dl, 1
jmp 0x14003eb3d
xor dl, dl
mov byte [rbp - 0x50], dl
xor r11d, r11d
mov ebx, r11d
xor sil, sil
mov byte [rbp + 0x58], sil
mov r10d, r11d
movsx eax, byte [r8]
movsd xmm2, qword [0x140cc4010]
cmp al, 0x30
jne 0x14003eb73
mov edi, r11d
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
xor r14b, r14b
jmp 0x14003ed32
cmp al, 0x31
jl 0x14003f230
cmp al, 0x39
jg 0x14003f230
inc r8
mov qword [rbp - 0x40], r8
lea edi, [rax - 0x30]
movzx ecx, byte [r8]
mov rax, r8
test dl, dl
je 0x14003ebd1
cmp cl, 0x30
jl 0x14003ec13
cmp cl, 0x39
ja 0x14003ec13
cmp edi, 0xccccccc
jb 0x14003ebb1
jne 0x14003ec0a
cmp cl, 0x38
ja 0x14003ec0a
lea r8, [rax + 1]
mov qword [rbp - 0x40], 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 0x14003eb98
cmp cl, 0x30
jl 0x14003ec13
cmp cl, 0x39
ja 0x14003ec13
cmp edi, 0x19999999
jb 0x14003ebea
jne 0x14003ec0a
cmp cl, 0x35
ja 0x14003ec0a
lea r8, [rax + 1]
mov qword [rbp - 0x40], 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 0x14003ebd1
mov sil, 1
mov byte [rbp + 0x58], sil
mov ebx, edi
xor r14b, r14b
mov r9, rax
test sil, sil
je 0x14003ecf0
movzx ecx, byte [rax]
test dl, dl
je 0x14003ec7a
cmp cl, 0x30
jl 0x14003ecf0
movzx eax, byte [r8]
movabs rdx, 0xccccccccccccccc
cmp al, 0x39
jg 0x14003ecf0
cmp rbx, rdx
jb 0x14003ec53
jne 0x14003ecc6
cmp al, 0x38
jg 0x14003ecc6
lea r8, [r9 + 1]
mov qword [rbp - 0x40], 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 0x14003ecf0
jmp 0x14003ec40
cmp cl, 0x30
jl 0x14003ecf0
movzx eax, byte [r8]
movabs rdx, 0x1999999999999999
nop dword [rax]
cmp al, 0x39
jg 0x14003ecf0
cmp rbx, rdx
jb 0x14003ec9f
jne 0x14003ecc6
cmp al, 0x35
jg 0x14003ecc6
lea r8, [r9 + 1]
mov qword [rbp - 0x40], 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 0x14003ecf0
jmp 0x14003ec90
xorps xmm1, xmm1
test rbx, rbx
js 0x14003ecd5
cvtsi2sd xmm1, rbx
jmp 0x14003eced
mov rax, rbx
mov rcx, rbx
and eax, 1
shr rcx, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
mov rdx, r9
test r14b, r14b
je 0x14003ed32
cmp byte [r9], 0x30
jl 0x14003ed32
movzx eax, byte [r8]
mov rdx, r9
cmp al, 0x39
jg 0x14003ed32
lea rdx, [r9 + 1]
mov qword [rbp - 0x40], 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 0x14003ed02
mov esi, r11d
cmp byte [rdx], 0x2e
jne 0x14003ee4d
lea r8, [rdx + 1]
mov qword [rbp - 0x40], r8
movzx eax, byte [r8]
cmp al, 0x30
jl 0x14003ee84
cmp al, 0x39
jg 0x14003ee84
mov rdx, r8
test r14b, r14b
jne 0x14003edf5
mov rcx, r8
mov eax, edi
cmp byte [rbp + 0x58], sil
cmovne rax, rbx
mov rbx, rax
movzx r9d, byte [r8]
movabs r14, 0x1fffffffffffff
mov rdx, rcx
cmp r9b, 0x39
jg 0x14003edc8
cmp rbx, r14
ja 0x14003edc8
lea r8, [rcx + 1]
mov qword [rbp - 0x40], 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 0x14003ed84
xorps xmm1, xmm1
test rbx, rbx
js 0x14003edd7
cvtsi2sd xmm1, rbx
jmp 0x14003edef
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14003ee4d
mov rax, rdx
nop dword [rax]
mov rdx, rax
cmp byte [r8], 0x39
jg 0x14003ee4d
lea rdx, [rax + 1]
mov r8, rdx
mov qword [rbp - 0x40], rdx
cmp r10d, 0x11
jge 0x14003ee44
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 0x14003ee00
movzx eax, byte [rdx]
cmp al, 0x65
je 0x14003ee5c
cmp al, 0x45
jne 0x14003ef6b
inc rdx
mov qword [rbp - 0x40], rdx
test r14b, r14b
jne 0x14003eea6
mov eax, edi
mov rcx, rbx
cmp byte [rbp + 0x58], r11b
cmove rcx, rax
xorps xmm1, xmm1
test rcx, rcx
js 0x14003ee8e
cvtsi2sd xmm1, rcx
jmp 0x14003eea3
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14003f235
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r14b, 1
xor cl, cl
movzx eax, byte [rdx]
cmp al, 0x2b
je 0x14003eeb5
cmp al, 0x2d
jne 0x14003eebf
mov cl, 1
inc rdx
movzx eax, byte [rdx]
mov qword [rbp - 0x40], rdx
cmp al, 0x30
jl 0x14003f025
cmp al, 0x39
jg 0x14003f025
lea r8, [rdx + 1]
mov qword [rbp - 0x40], r8
movsx r11d, al
sub r11d, 0x30
movzx r9d, byte [r8]
test cl, cl
je 0x14003efdc
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 0x14003ef68
mov r9, r8
cmp byte [r8], 0x39
jg 0x14003ef68
lea r8, [r9 + 1]
mov qword [rbp - 0x40], 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 0x14003ef62
movzx edx, byte [r8]
cmp dl, 0x30
jl 0x14003ef62
mov rcx, r8
mov r9, rcx
cmp dl, 0x39
ja 0x14003ef5e
lea r8, [rcx + 1]
mov rcx, r8
mov r9, r8
movzx edx, byte [r8]
cmp dl, 0x30
jge 0x14003ef43
mov qword [rbp - 0x40], r8
cmp byte [r8], 0x30
jge 0x14003ef11
neg r11d
test r14b, r14b
je 0x14003f0ac
lea ecx, [r11 + rsi]
cmp ecx, 0xfffffecc
jge 0x14003f039
divsd xmm1, qword [0x140cc4250]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14003f061
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x140cc0730]
sub rcx, rax
movaps xmm6, xmm1
divsd xmm6, qword [rcx]
comisd xmm6, xmmword [0x140cc4258]
jbe 0x14003f061
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x38], rax
jmp 0x14003f240
mov edx, 0x134
sub edx, esi
cmp r9b, 0x30
jl 0x14003ef6b
mov rax, r8
nop dword [rax]
cmp byte [r8], 0x39
jg 0x14003ef6b
lea r8, [rax + 1]
mov qword [rbp - 0x40], r8
lea r11d, [r11 + r11*4]
movsx eax, byte [rax]
lea r11d, [r11 - 0x18]
lea r11d, [rax + r11*2]
cmp r11d, edx
jg 0x14003efc7
mov rax, r8
cmp byte [r8], 0x30
jl 0x14003ef6b
jmp 0x14003eff0
sub rdx, r12
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x14003f240
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14003efa8
lea rcx, [0x140cc0730]
movsd xmm6, qword [rax + rcx]
mulsd xmm6, xmm1
jmp 0x14003efb9
cmp byte [rbp - 0x50], 0
je 0x14003f06e
xorps xmm6, xmmword [0x140cc4dc0]
mov rcx, qword [r15 + 0x38]
mov rax, qword [r15 + 0x40]
sub rax, rcx
cmp rax, 0x10
jge 0x14003f08c
lea rcx, [r15 + 0x20]
call fcn.14003f360
mov rcx, qword [r15 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r15 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsd qword [rcx], xmm6
mov eax, 0x216
mov word [rcx + 0xe], ax
jmp 0x14003f240
cmp byte [rbp + 0x58], 0
je 0x14003f1a2
mov rdx, qword [r15 + 0x38]
mov rcx, qword [r15 + 0x40]
sub rcx, rdx
cmp byte [rbp - 0x50], 0
je 0x14003f136
neg rbx
cmp rcx, 0x10
jge 0x14003f0dd
lea rcx, [r15 + 0x20]
call fcn.14003f360
mov rdx, qword [r15 + 0x38]
lea rax, [rdx + 0x10]
mov qword [r15 + 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 0x14003f11b
mov eax, 0x196
mov word [rdx + 0xe], ax
movabs rcx, 0xffffffff00000000
test rcx, rbx
jne 0x14003f188
mov eax, 0x1d6
jmp 0x14003f184
cmp rbx, 0xffffffff80000000
jl 0x14003f240
mov eax, IStream_Read
mov word [rdx + 0xe], ax
jmp 0x14003f240
cmp rcx, 0x10
jge 0x14003f149
lea rcx, [r15 + 0x20]
call fcn.14003f360
mov rdx, qword [r15 + 0x38]
lea rax, [rdx + 0x10]
mov qword [r15 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbx
mov eax, 0x116
mov word [rdx + 0xe], ax
test rbx, rbx
js 0x14003f171
mov eax, 0x196
mov word [rdx + 0xe], ax
movabs rcx, 0xffffffff00000000
test rcx, rbx
jne 0x14003f188
or ax, 0x40
mov word [rdx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x14003f240
or ax, 0x20
mov word [rdx + 0xe], ax
jmp 0x14003f240
mov rcx, qword [r15 + 0x38]
mov rdx, qword [r15 + 0x40]
sub rdx, rcx
cmp byte [rbp - 0x50], 0
je 0x14003f1f2
neg edi
cmp rdx, 0x10
jge 0x14003f1c8
lea rcx, [r15 + 0x20]
call fcn.14003f360
mov rcx, qword [r15 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r15 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsxd rax, edi
mov qword [rcx], rax
mov eax, IStream_Read
mov edx, 0x1f6
test edi, edi
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x14003f240
cmp rdx, 0x10
jge 0x14003f205
lea rcx, [r15 + 0x20]
call fcn.14003f360
mov rcx, qword [r15 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r15 + 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 0x14003f240
mov eax, 3
sub r8, r12
mov dword [r13 + 0x30], eax
mov qword [r13 + 0x38], r8
movups xmm0, xmmword [rbp - 0x40]
mov rax, qword [rbp + 0x48]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm7
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret