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

Disassembly:
mov qword [rsp + 0x20], rbx
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
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r14, r8
mov qword [rbp - 0x40], rdx
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x38], xmm0
movsd xmm6, qword [rdx + 0x10]
movsd qword [rbp - 0x28], xmm6
mov qword [rbp - 0x20], rdx
movq r8, xmm0
mov rax, r8
mov r12, qword [rbp - 0x28]
sub rax, r12
mov qword [rbp - 0x48], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
cmp byte [r8], 0x2d
jne 0x140004673
inc r8
mov qword [rbp - 0x38], r8
mov dl, 1
jmp 0x140004675
xor dl, dl
mov byte [rbp - 0x4f], dl
xor r11d, r11d
mov ebx, r11d
xor sil, sil
mov byte [rbp - 0x50], sil
mov r10d, r11d
movsx eax, byte [r8]
movsd xmm3, qword [0x1400c7f00]
cmp al, 0x30
jne 0x1400046ab
mov edi, r11d
lea rdx, [r8 + 1]
mov qword [rbp - 0x38], rdx
xor r15b, r15b
jmp 0x140004867
cmp al, 0x31
jl 0x140004d91
cmp al, 0x39
jg 0x140004d91
inc r8
mov qword [rbp - 0x38], r8
lea edi, [rax - 0x30]
movzx ecx, byte [r8]
mov rax, r8
test dl, dl
je 0x140004709
cmp cl, 0x30
jl 0x14000474b
cmp cl, 0x39
ja 0x14000474b
cmp edi, 0xccccccc
jb 0x1400046e9
jne 0x140004742
cmp cl, 0x38
ja 0x140004742
lea r8, [rax + 1]
mov qword [rbp - 0x38], 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 0x1400046d0
cmp cl, 0x30
jl 0x14000474b
cmp cl, 0x39
ja 0x14000474b
cmp edi, 0x19999999
jb 0x140004722
jne 0x140004742
cmp cl, 0x35
ja 0x140004742
lea r8, [rax + 1]
mov qword [rbp - 0x38], 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 0x140004709
mov sil, 1
mov byte [rbp - 0x50], sil
mov ebx, edi
xor r15b, r15b
mov r9, rax
test sil, sil
je 0x140004825
movzx ecx, byte [rax]
test dl, dl
je 0x1400047b2
cmp cl, 0x30
jl 0x140004825
movzx eax, byte [r8]
movabs rdx, 0xccccccccccccccc
cmp al, 0x39
jg 0x140004825
cmp rbx, rdx
jb 0x14000478b
jne 0x1400047fb
cmp al, 0x38
jg 0x1400047fb
lea r8, [r9 + 1]
mov qword [rbp - 0x38], 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 0x140004825
jmp 0x140004778
cmp cl, 0x30
jl 0x140004825
movzx eax, byte [r8]
movabs rdx, 0x1999999999999999
cmp al, 0x39
jg 0x140004825
cmp rbx, rdx
jb 0x1400047d4
jne 0x1400047fb
cmp al, 0x35
jg 0x1400047fb
lea r8, [r9 + 1]
mov qword [rbp - 0x38], 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 0x140004825
jmp 0x1400047c5
xorps xmm1, xmm1
test rbx, rbx
js 0x14000480a
cvtsi2sd xmm1, rbx
jmp 0x140004822
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 0x140004867
cmp byte [r9], 0x30
jl 0x140004867
movzx eax, byte [r8]
mov rdx, r9
cmp al, 0x39
jg 0x140004867
lea rdx, [r9 + 1]
mov qword [rbp - 0x38], rdx
movsx eax, byte [r9]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm3
addsd xmm1, xmm0
movzx eax, byte [rdx]
mov r9, rdx
cmp al, 0x30
jge 0x140004837
mov esi, r11d
cmp byte [rdx], 0x2e
jne 0x14000498d
lea r8, [rdx + 1]
mov qword [rbp - 0x38], r8
movzx eax, byte [r8]
cmp al, 0x30
jl 0x1400049c4
cmp al, 0x39
jg 0x1400049c4
mov rdx, r8
test r15b, r15b
jne 0x140004931
mov rcx, r8
mov eax, edi
cmp byte [rbp - 0x50], sil
cmovne rax, rbx
mov rbx, rax
movzx r9d, byte [r8]
movabs r15, 0x1fffffffffffff
nop dword [rax]
mov rdx, rcx
cmp r9b, 0x39
jg 0x140004904
cmp rbx, r15
ja 0x140004904
lea r8, [rcx + 1]
mov qword [rbp - 0x38], 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 0x1400048c0
xorps xmm1, xmm1
test rbx, rbx
js 0x140004913
cvtsi2sd xmm1, rbx
jmp 0x14000492b
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 0x14000498d
mov rax, rdx
nop dword [rax + rax]
mov rdx, rax
cmp byte [r8], 0x39
jg 0x14000498d
lea rdx, [rax + 1]
mov r8, rdx
mov qword [rbp - 0x38], rdx
cmp r10d, 0x11
jge 0x140004984
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm3
addsd xmm0, xmm1
movaps xmm1, xmm0
dec esi
lea eax, [r10 + 1]
comisd xmm0, xmm2
cmovbe eax, r10d
mov r10d, eax
mov rax, rdx
cmp byte [r8], 0x30
jge 0x140004940
movzx eax, byte [rdx]
cmp al, 0x65
je 0x14000499c
cmp al, 0x45
jne 0x140004aab
inc rdx
mov qword [rbp - 0x38], rdx
test r15b, r15b
jne 0x1400049e6
mov eax, edi
mov rcx, rbx
cmp byte [rbp - 0x50], r11b
cmove rcx, rax
xorps xmm1, xmm1
test rcx, rcx
js 0x1400049ce
cvtsi2sd xmm1, rcx
jmp 0x1400049e3
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x140004d96
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 0x1400049f5
cmp al, 0x2d
jne 0x1400049ff
mov cl, 1
inc rdx
movzx eax, byte [rdx]
mov qword [rbp - 0x38], rdx
cmp al, 0x30
jl 0x140004b65
cmp al, 0x39
jg 0x140004b65
lea r8, [rdx + 1]
mov qword [rbp - 0x38], r8
movsx r11d, al
sub r11d, 0x30
movzx r9d, byte [r8]
test cl, cl
je 0x140004b1c
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 0x140004aa8
mov r9, r8
cmp byte [r8], 0x39
jg 0x140004aa8
lea r8, [r9 + 1]
mov qword [rbp - 0x38], 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 0x140004aa2
movzx edx, byte [r8]
cmp dl, 0x30
jl 0x140004aa2
mov rcx, r8
mov r9, rcx
cmp dl, 0x39
ja 0x140004a9e
lea r8, [rcx + 1]
mov rcx, r8
mov r9, r8
movzx edx, byte [r8]
cmp dl, 0x30
jge 0x140004a83
mov qword [rbp - 0x38], r8
cmp byte [r8], 0x30
jge 0x140004a51
neg r11d
test r15b, r15b
je 0x140004bd6
lea ecx, [r11 + rsi]
cmp ecx, 0xfffffecc
jge 0x140004b79
divsd xmm1, qword [0x1400c7f08]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140004ba1
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400c7400]
sub rcx, rax
movaps xmm2, xmm1
divsd xmm2, qword [rcx]
comisd xmm2, xmmword [0x1400c7f10]
jbe 0x140004ba1
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x38], rax
jmp 0x140004da1
mov edx, 0x134
sub edx, esi
cmp r9b, 0x30
jl 0x140004aab
mov rax, r8
nop dword [rax]
cmp byte [r8], 0x39
jg 0x140004aab
lea r8, [rax + 1]
mov qword [rbp - 0x38], r8
lea r11d, [r11 + r11*4]
movsx eax, byte [rax]
lea r11d, [r11 - 0x18]
lea r11d, [rax + r11*2]
cmp r11d, edx
jg 0x140004b07
mov rax, r8
cmp byte [r8], 0x30
jl 0x140004aab
jmp 0x140004b30
sub rdx, r12
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x140004da1
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140004ae8
lea rcx, [0x1400c7400]
movsd xmm2, qword [rax + rcx]
mulsd xmm2, xmm1
jmp 0x140004af9
cmp byte [rbp - 0x4f], 0
je 0x140004bae
xorps xmm2, xmmword [0x1400c7f40]
movaps xmm1, xmm2
mov rcx, r14
call fcn.1400057e0
test al, al
jne 0x140004da1
mov dword [r13 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x38], rax
jmp 0x140004da1
mov rax, qword [r14 + 0x40]
cmp byte [rbp - 0x50], 0
je 0x140004cfd
cmp byte [rbp - 0x4f], 0
je 0x140004c85
neg rbx
mov rdx, qword [r14 + 0x38]
sub rax, rdx
cmp rax, 0x10
jge 0x140004c10
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140004330
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 0x140004c6a
mov eax, 0x196
mov word [rdx + 0xe], ax
movabs r8, 0xffffffff00000000
test r8, rbx
jne 0x140004c50
mov eax, 0x1d6
mov word [rdx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x140004da1
or ax, 0x20
mov word [rdx + 0xe], ax
jmp 0x140004da1
cmp rbx, 0xffffffff80000000
jl 0x140004da1
mov eax, 0xb6
mov word [rdx + 0xe], ax
jmp 0x140004da1
mov rcx, qword [r14 + 0x38]
sub rax, rcx
cmp rax, 0x10
jge 0x140004ca4
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140004330
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 0x140004ccc
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs r8, 0xffffffff00000000
test r8, rbx
jne 0x140004ce3
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x140004da1
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x140004da1
mov rcx, qword [r14 + 0x38]
sub rax, rcx
cmp byte [rbp - 0x4f], 0
je 0x140004d4e
neg edi
cmp rax, 0x10
jge 0x140004d24
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140004330
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 0x140004da1
cmp rax, 0x10
jge 0x140004d66
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140004330
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 0x140004da1
mov eax, 3
sub r8, r12
mov dword [r13 + 0x30], eax
mov qword [r13 + 0x38], r8
movups xmm0, xmmword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm6
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400c20a0
mov rbx, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
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 0x140004e1b
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140004330
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov esi, 3
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], si
mov rcx, rbx
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x140004e7b
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov word [rax - 2], si
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
xor esi, esi
nop dword [rax]
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140004fa9
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140004fd0
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov rcx, rbx
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140004f8d
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400052c0
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov rcx, rbx
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x140004fb8
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140004f39
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140005620
cmp dword [rdi + 0x30], 0
je 0x140004e80
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x7d
je 0x140004f5a
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 6
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400058d0
test al, al
jne 0x140004fb8
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 5
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 4
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14022bb98]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx r12d, r9b
mov r14, r8
mov rdi, rcx
movups xmm1, xmmword [rdx]
movups xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rdx + 0x10]
movsd qword [rbp - 0x20], xmm0
mov qword [rbp - 0x18], rdx
movq rax, xmm1
inc rax
mov rbx, rax
mov qword [rbp - 0x28], rax
mov r15, rax
lea r13, [0x1400c7e00]
mov r9, qword [rbp - 0x20]
mov qword [rbp - 0x30], rax
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x5c
jne 0x1400051ad
mov rsi, rax
sub rsi, r9
lea rcx, [rax + 1]
mov qword [rbp - 0x30], rcx
movzx edx, byte [rcx]
movzx r8d, byte [rdx + r13]
test r8b, r8b
je 0x140005077
lea rax, [rcx + 1]
mov byte [rbx], r8b
inc rbx
mov qword [rbp - 0x28], rbx
jmp 0x140005031
cmp dl, 0x75
jne 0x1400051e2
lea rax, [rcx + 1]
mov qword [rbp - 0x30], rax
xor edx, edx
xor r8d, r8d
mov r9, rax
movsx ecx, byte [rax]
shl edx, 4
add edx, ecx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400050a4
add edx, 0xffffffd0
jmp 0x1400050bf
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x1400050b0
add edx, 0xffffffc9
jmp 0x1400050bf
sub cl, 0x61
cmp cl, 5
ja 0x1400051d5
add edx, 0xffffffa9
lea rax, [r9 + 1]
mov r9, rax
mov qword [rbp - 0x30], rax
inc r8d
cmp r8d, 4
jl 0x140005090
cmp dword [rdi + 0x30], 0
jne 0x140005285
lea r11d, [rdx - 0xd800]
cmp r11d, 0x3ff
ja 0x140005193
cmp byte [rax], 0x5c
jne 0x1400051c8
lea r9, [rax + 1]
mov qword [rbp - 0x30], r9
cmp byte [r9], 0x75
jne 0x1400051c8
inc r9
mov qword [rbp - 0x30], r9
xor ecx, ecx
xor r10d, r10d
nop dword [rax + rax]
movsx edx, byte [r9]
shl ecx, 4
add ecx, edx
mov r8d, ecx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14000513f
add ecx, 0xffffffd0
lea eax, [r8 - 0xdc30]
jmp 0x140005164
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x140005152
add ecx, 0xffffffc9
lea eax, [r8 - 0xdc37]
jmp 0x140005164
sub dl, 0x61
cmp dl, 5
ja 0x1400051d5
add ecx, 0xffffffa9
lea eax, [r8 - 0xdc57]
inc r9
mov qword [rbp - 0x30], r9
inc r10d
cmp r10d, 4
jl 0x140005120
cmp dword [rdi + 0x30], 0
jne 0x140005285
cmp eax, 0x3ff
ja 0x1400051c8
mov edx, r11d
shl edx, 0xa
or edx, eax
add edx, 0x10000
lea rcx, [rbp - 0x30]
call fcn.140004290
mov r9, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
jmp 0x140005040
cmp cl, 0x22
je 0x14000520c
cmp cl, 0x20
jb 0x1400051ef
inc rax
mov byte [rbx], cl
inc rbx
mov qword [rbp - 0x28], rbx
jmp 0x140005031
mov dword [rdi + 0x30], 9
mov qword [rdi + 0x38], rsi
jmp 0x14000521d
mov dword [rdi + 0x30], 8
mov qword [rdi + 0x38], rsi
jmp 0x14000521d
mov dword [rdi + 0x30], 0xa
mov qword [rdi + 0x38], rsi
jmp 0x14000521d
sub rax, r9
mov qword [rdi + 0x38], rax
test cl, cl
jne 0x140005203
mov dword [rdi + 0x30], recv
jmp 0x14000521d
mov dword [rdi + 0x30], recv
jmp 0x14000521d
inc rax
mov qword [rbp - 0x30], rax
mov byte [rbx], 0
inc rbx
mov qword [rbp - 0x28], rbx
cmp dword [rdi + 0x30], 0
jne 0x140005285
sub rbx, r15
dec rbx
lea rcx, [r14 + 0x20]
mov rdx, qword [r14 + 0x38]
mov rax, qword [r14 + 0x40]
sub rax, rdx
cmp rax, 0x10
jge 0x14000524c
mov edx, 1
call fcn.140004330
mov rdx, qword [r14 + 0x38]
lea rax, [rdx + 0x10]
mov qword [r14 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov eax, 0x405
mov word [rdx + 0xe], ax
lea rax, [0x1400c7dfe]
test r15, r15
cmovne rax, r15
movabs rcx, 0xffff000000000000
and qword [rdx + 8], rcx
mov dword [rdx], ebx
or qword [rdx + 8], rax
mov rax, qword [rbp - 0x18]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rax + 0x10], xmm1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c20a0
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 rdi
sub rsp, 0x20
mov rbx, rdx
mov rbp, r8
mov rdx, qword [rdx]
mov rdi, rcx
movsx eax, byte [rdx]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x140005300.35
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x55b8]
mov ecx, dword [r8 + rax*4 + 0x559c]
add rcx, r8
jmp rcx
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140005363
inc rax
mov qword [rbx], rax
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 0x10
jge 0x14000534d
mov edx, 1
lea rcx, [rbp + 0x20]
call fcn.140004330
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
movups xmmword [rcx], xmm0
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x72
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140005363
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400056e0
test al, al
jne 0x140005563
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x61
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140005363
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140005363
inc rax
xor edx, edx
jmp 0x1400053a1
xor r9d, r9d
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp 0x140004fd0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp 0x140004de0
lea rax, [rdx + 1]
mov qword [rsp + 0x58], rsi
mov qword [rbx], rax
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 0x10
jge 0x14000546a
mov edx, 1
lea rcx, [rbp + 0x20]
call fcn.140004330
mov rcx, qword [rbp + 0x38]
lea rax, [rcx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov esi, 4
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], si
mov rcx, rbx
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x14000555e
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400054ca
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov word [rax - 2], si
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400052c0
cmp dword [rdi + 0x30], esi
jne 0x14000555e
mov rcx, rbx
inc esi
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x14000555e
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140005533
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140005620
cmp dword [rdi + 0x30], 0
jne 0x14000555e
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400052c0
cmp dword [rdi + 0x30], 0
je 0x1400054e3
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
cmp cl, 0x5d
jne 0x14000556b
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140005840
test al, al
jne 0x14000555e
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov rsi, qword [rsp + 0x58]
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp 0x140004600