Function at 0x140051fd0
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, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140226a58]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], rdx
mov r12, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x40], xmm0
movsd xmm6, qword [rdx + 0x10]
movsd qword [rbp - 0x30], xmm6
mov qword [rbp - 0x28], rdx
movq rcx, xmm0
mov rax, rcx
mov r13, qword [rbp - 0x30]
sub rax, r13
mov qword [rbp - 0x58], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [rcx], 0x2d
jne 0x140051397
inc rcx
mov qword [rbp - 0x40], rcx
mov r10b, 1
jmp 0x14005139a
xor r10b, r10b
mov byte [rbp - 0x5f], r10b
xor edi, edi
mov ebx, edi
xor r11b, r11b
mov byte [rbp - 0x60], r11b
mov r9d, edi
movsx eax, byte [rcx]
cmp al, 0x30
jne 0x1400513c2
mov esi, edi
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140051485
cmp al, 0x31
jl 0x140051ac0
cmp al, 0x39
jg 0x140051ac0
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rax - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140051433
cmp al, 0x30
jl 0x140051485
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
ja 0x140051485
cmp esi, 0xccccccc
jb 0x14005140c
jne 0x14005147c
mov r8, rcx
cmp al, 0x38
ja 0x14005147c
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r9d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jl 0x140051485
jmp 0x1400513f3
cmp al, 0x30
jl 0x140051485
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
jg 0x140051485
cmp esi, 0x19999999
jb 0x140051455
jne 0x14005147c
mov r8, rcx
cmp al, 0x35
jg 0x14005147c
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r9d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jl 0x140051485
jmp 0x140051440
mov r11b, 1
mov byte [rbp - 0x60], r11b
mov ebx, esi
xor r15b, r15b
test r11b, r11b
je 0x14005157d
movzx ecx, byte [rdx]
test r10b, r10b
je 0x140051500
cmp cl, 0x30
jl 0x14005157d
mov r8, rdx
mov r10, rdx
movabs r11, 0xccccccccccccccc
cmp cl, 0x39
ja 0x14005157d
cmp rbx, r11
jb 0x1400514d2
jne 0x140051553
mov r8, r10
cmp cl, 0x38
ja 0x140051553
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r9d
mov r8, rdx
mov r10, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x14005157d
jmp 0x1400514b2
cmp cl, 0x30
jl 0x14005157d
mov r8, rdx
mov r10, rdx
movabs r11, 0x1999999999999999
cmp cl, 0x39
ja 0x14005157d
cmp rbx, r11
jb 0x140051529
jne 0x140051553
mov r8, r10
cmp cl, 0x35
ja 0x140051553
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r9d
mov r8, rdx
mov r10, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x14005157d
jmp 0x140051515
xorps xmm1, xmm1
test rbx, rbx
js 0x140051562
cvtsi2sd xmm1, rbx
jmp 0x14005157a
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 r10, rbx
movsd xmm2, qword [0x1400cc5c8]
test r15b, r15b
je 0x1400515c7
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x1400515c7
mov r8, rdx
cmp cl, 0x39
ja 0x1400515c7
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], 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 0x140051598
mov r14d, edi
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x1400515d8
inc rdx
mov qword [rbp - 0x40], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140051700
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140051736
cmp al, 0x39
jg 0x140051736
mov r8, rdx
test r15b, r15b
jne 0x140051696
mov r11, rdx
mov ebx, esi
cmp byte [rbp - 0x60], dil
cmovne rbx, r10
movzx r10d, byte [rdx]
movabs r15, 0x1fffffffffffff
nop dword [rax]
cmp r10b, 0x39
jg 0x140051668
mov r8, r11
cmp rbx, r15
ja 0x140051668
lea rdx, [rcx + 1]
mov r8, rdx
mov qword [rbp - 0x40], rdx
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
dec r14d
movzx r10d, byte [rdx]
mov rcx, rdx
mov r11, rdx
lea eax, [r9 + 1]
test rbx, rbx
cmove eax, r9d
mov r9d, eax
cmp r10b, 0x30
jge 0x140051620
xorps xmm1, xmm1
test rbx, rbx
js 0x140051677
cvtsi2sd xmm1, rbx
jmp 0x14005168f
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 [r8]
mov rcx, r8
cmp al, 0x30
jl 0x140051700
mov r11, r8
mov r10, r8
movzx eax, byte [rdx]
mov rcx, r10
cmp al, 0x39
jg 0x140051700
cmp r9d, 0x11
jge 0x1400516e5
lea rcx, [r8 + 1]
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec r14d
lea eax, [r9 + 1]
comisd xmm0, xmm3
cmovbe eax, r9d
mov r9d, eax
jmp 0x1400516e9
lea rcx, [r11 + 1]
mov qword [rbp - 0x40], rcx
mov rdx, rcx
mov r8, rcx
movzx eax, byte [rcx]
mov r11, rcx
mov r10, rcx
cmp al, 0x30
jge 0x1400516a6
cmp byte [rcx], 0x65
je 0x14005170e
cmp byte [rcx], 0x45
jne 0x140051813
inc rcx
mov qword [rbp - 0x40], rcx
test r15b, r15b
jne 0x140051758
mov eax, esi
mov rdx, rbx
cmp byte [rbp - 0x60], dil
cmove rdx, rax
xorps xmm1, xmm1
test rdx, rdx
js 0x140051740
cvtsi2sd xmm1, rdx
jmp 0x140051755
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x140051ac5
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r15b, 1
xor dl, dl
movzx eax, byte [rcx]
cmp al, 0x2b
je 0x140051767
cmp al, 0x2d
jne 0x140051771
mov dl, 1
inc rcx
movzx eax, byte [rcx]
mov qword [rbp - 0x40], rcx
cmp al, 0x30
jl 0x1400518c2
cmp al, 0x39
jg 0x1400518c2
lea r8, [rcx + 1]
mov qword [rbp - 0x40], r8
movsx edi, al
sub edi, 0x30
movzx r9d, byte [r8]
test dl, dl
je 0x140051882
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 0x140051811
movzx eax, r9b
cmp al, 0x39
jg 0x140051811
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea edi, [rdi + rdi*4]
movsx eax, byte [r8]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
mov r8, rdx
cmp edi, r10d
jle 0x14005180a
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14005180a
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140051806
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x1400517f0
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x1400517c3
neg edi
test r15b, r15b
je 0x140051938
lea ecx, [rdi + r14]
cmp ecx, 0xfffffecc
jge 0x1400518d8
divsd xmm1, qword [0x1400cd520]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14005185d
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400cca20]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400cc5f0]
jbe 0x140051900
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140051ad9
mov edx, 0x134
sub edx, r14d
cmp r9b, 0x30
jl 0x140051813
movzx eax, r9b
cmp al, 0x39
jg 0x140051813
movsx eax, byte [r8]
inc r8
mov qword [rbp - 0x40], r8
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
cmp edi, edx
jg 0x14005186b
movzx eax, byte [r8]
cmp al, 0x30
jl 0x140051813
jmp 0x140051894
sub rcx, r13
mov dword [r12 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x38], rcx
jmp 0x140051ad9
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14005184c
lea rcx, [0x1400cca20]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x14005185d
cmp byte [rbp - 0x5f], 0
je 0x14005190d
xorps xmm3, xmmword [0x1400cc620]
movaps xmm1, xmm3
mov rcx, qword [rbp - 0x50]
call fcn.1400526b0
test al, al
jne 0x140051ad9
mov dword [r12 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140051ad9
mov rdi, qword [rbp - 0x50]
add rdi, 0x20
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
cmp byte [rbp - 0x60], 0
je 0x140051a35
cmp byte [rbp - 0x5f], 0
je 0x1400519c5
neg rbx
cmp rax, 0x10
jge 0x14005196e
mov edx, 1
mov rcx, rdi
call fcn.140050ff0
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov word [rcx + 0xe], __WSAFDIsSet
test rbx, rbx
js 0x1400519ad
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140051a1b
mov eax, 0x1d6
jmp 0x140051a17
cmp rbx, 0xffffffff80000000
jl 0x140051ad9
mov word [rcx + 0xe], 0xb6
jmp 0x140051ad9
cmp rax, 0x10
jge 0x1400519d8
mov edx, 1
mov rcx, rdi
call fcn.140050ff0
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov eax, 0x116
mov word [rcx + 0xe], ax
test rbx, rbx
js 0x140051a04
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140051a1b
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x140051ad9
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x140051ad9
cmp byte [rbp - 0x5f], 0
je 0x140051a7e
neg esi
cmp rax, 0x10
jge 0x140051a50
mov edx, 1
mov rcx, rdi
call fcn.140050ff0
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 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 0x140051ad9
cmp rax, 0x10
jge 0x140051a91
mov edx, 1
mov rcx, rdi
call fcn.140050ff0
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 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 0x140051ad9
mov edx, 3
mov eax, Ordinal_50
mov r8, r12
sub rcx, r13
mov dword [r12 + rax], edx
mov qword [r12 + 0x38], rcx
movups xmm0, xmmword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm6
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400c15b0
mov rbx, qword [rsp + 0xd8]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
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 rbp, r8
mov rax, qword [r8 + 0x40]
mov rbx, rdx
sub rax, qword [r8 + 0x38]
mov rdi, rcx
cmp rax, 0x10
jge 0x140051b54
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050ff0
mov rcx, qword [rbp + 0x38]
xorps xmm0, xmm0
mov esi, 3
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], si
mov rcx, rbx
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x140051bbc
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
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
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140051ce9
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140051d10
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov rcx, rbx
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140051ccd
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140051fd0
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov rcx, rbx
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x140051cf8
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140051c79
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140052330
cmp dword [rdi + 0x30], 0
je 0x140051bc0
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x7d
je 0x140051c9a
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.1400527a0
test al, al
jne 0x140051cf8
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 [0x140226a58]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx r12d, r9b
mov r13, r8
mov r14, 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
mov r9, qword [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rdx, [0x1400cd420]
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x5c
jne 0x140051eb8
mov rsi, rax
sub rsi, r9
lea rcx, [rax + 1]
mov qword [rbp - 0x30], rcx
movzx r8d, byte [rcx]
movzx edx, byte [r8 + rdx]
test dl, dl
je 0x140051db6
lea rax, [rcx + 1]
mov byte [rbx], dl
inc rbx
mov qword [rbp - 0x28], rbx
jmp 0x140051d6a
lea rdi, [r14 + 0x30]
cmp r8b, 0x75
jne 0x140051ee7
lea rax, [rcx + 1]
mov qword [rbp - 0x30], rax
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1400510f0
cmp dword [rdi], 0
jne 0x140051ee1
lea r10d, [rax - 0xd800]
cmp r10d, 0x7ff
ja 0x140051e9c
cmp eax, 0xdbff
ja 0x140051ed7
mov r8, qword [rbp - 0x30]
cmp byte [r8], 0x5c
jne 0x140051ed7
inc r8
mov qword [rbp - 0x30], r8
cmp byte [r8], 0x75
jne 0x140051ed7
inc r8
mov qword [rbp - 0x30], r8
xor eax, eax
xor r9d, r9d
nop
movsx edx, byte [r8]
shl eax, 4
add eax, edx
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140051e46
add eax, 0xffffffd0
jmp 0x140051e5e
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140051e53
add eax, 0xffffffc9
jmp 0x140051e5e
sub dl, 0x61
cmp dl, 5
ja 0x140051e70
add eax, 0xffffffa9
inc r8
mov qword [rbp - 0x30], r8
inc r9d
cmp r9d, 4
jl 0x140051e30
jmp 0x140051e7c
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x140051ee1
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x140051ed7
mov eax, r10d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140050f50
mov r9, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
jmp 0x140051d6e
cmp cl, 0x22
je 0x140051f12
cmp cl, 0x20
jb 0x140051ef3
inc rax
mov qword [rbp - 0x30], rax
mov byte [rbx], cl
inc rbx
mov qword [rbp - 0x28], rbx
jmp 0x140051d80
mov dword [rdi], 9
mov qword [rdi + 8], rsi
mov rbx, qword [rbp - 0x28]
jmp 0x140051f27
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x140051f27
lea rdi, [r14 + 0x30]
sub rax, r9
mov qword [rdi + 8], rax
test cl, cl
jne 0x140051f0a
mov dword [rdi], ntohl
jmp 0x140051f27
mov dword [rdi], ntohl
jmp 0x140051f27
inc rax
mov qword [rbp - 0x30], rax
mov byte [rbx], 0
inc rbx
mov qword [rbp - 0x28], rbx
lea rdi, [r14 + 0x30]
cmp dword [rdi], 0
jne 0x140051f91
sub rbx, r15
dec rbx
mov rax, qword [r13 + 0x40]
mov rcx, qword [r13 + 0x38]
sub rax, rcx
cmp rax, 0x10
jge 0x140051f51
mov edx, 1
lea rcx, [r13 + 0x20]
call fcn.140050ff0
mov rcx, qword [r13 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r13 + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
lea rdx, [0x1400cd41e]
test r15, r15
mov word [rcx + 0xe], 0x405
cmovne rdx, r15
movabs r8, 0xffff000000000000
mov rax, qword [rcx + 8]
and rax, r8
or rax, rdx
mov dword [rcx], ebx
mov qword [rcx + 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.1400c15b0
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 rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
mov rdx, qword [rdx]
mov rdi, rcx
movsx eax, byte [rdx]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x140052010.35
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x522c8]
mov ecx, dword [r8 + rax*4 + 0x522ac]
add rcx, r8
jmp rcx
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140052070
inc rax
mov qword [rbx], rax
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x140052056
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140050ff0
mov rcx, qword [rsi + 0x38]
xorps xmm0, xmm0
lea rax, [rcx + 0x10]
mov qword [rsi + 0x38], rax
movups xmmword [rcx], xmm0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x72
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140052070
inc rax
mov dl, 1
mov rcx, rsi
mov qword [rbx], rax
call fcn.1400525b0
test al, al
jne 0x140052270
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 rsi
pop rbx
ret
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x61
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140052070
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140052070
inc rax
xor edx, edx
jmp 0x1400520ae
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x140051d10
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x140051b20
lea rax, [rdx + 1]
mov qword [rsp + 0x58], rbp
mov qword [rbx], rax
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x140052170
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140050ff0
mov rcx, qword [rsi + 0x38]
xorps xmm0, xmm0
mov ebp, 4
lea rax, [rcx + 0x10]
mov qword [rsi + 0x38], rax
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], bp
mov rcx, rbx
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x14005226b
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400521d8
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rsi + 0x38]
mov qword [rsi + 0x38], rax
mov word [rax - 2], bp
and qword [rax - 8], rcx
xor ebp, ebp
mov qword [rax - 0x10], rbp
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
xor ebp, ebp
call fcn.140051fd0
cmp dword [rdi + 0x30], ebp
jne 0x14005226b
nop dword [rax]
mov rcx, rbx
inc ebp
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x14005226b
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140052240
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140052330
cmp dword [rdi + 0x30], 0
jne 0x14005226b
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140051fd0
cmp dword [rdi + 0x30], 0
je 0x1400521f0
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
cmp cl, 0x5d
jne 0x140052278
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.140052710
test al, al
jne 0x14005226b
mov rax, qword [rbx]
sub rax, qword [rbx + 0x10]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
sub rax, qword [rbx + 0x10]
mov rbp, qword [rsp + 0x58]
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x140051320