Function at 0x140008940
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 [0x140145ec8]
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 0x140007bc7
inc rcx
mov qword [rbp - 0x40], rcx
mov r10b, 1
jmp 0x140007bca
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 0x140007bf2
mov esi, edi
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140007cb5
cmp al, 0x31
jl 0x1400082f0
cmp al, 0x39
jg 0x1400082f0
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rax - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140007c63
cmp al, 0x30
jl 0x140007cb5
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
ja 0x140007cb5
cmp esi, 0xccccccc
jb 0x140007c3c
jne 0x140007cac
mov r8, rcx
cmp al, 0x38
ja 0x140007cac
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 0x140007cb5
jmp 0x140007c23
cmp al, 0x30
jl 0x140007cb5
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
jg 0x140007cb5
cmp esi, 0x19999999
jb 0x140007c85
jne 0x140007cac
mov r8, rcx
cmp al, 0x35
jg 0x140007cac
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 0x140007cb5
jmp 0x140007c70
mov r11b, 1
mov byte [rbp - 0x60], r11b
mov ebx, esi
xor r15b, r15b
test r11b, r11b
je 0x140007dad
movzx ecx, byte [rdx]
test r10b, r10b
je 0x140007d30
cmp cl, 0x30
jl 0x140007dad
mov r8, rdx
mov r10, rdx
movabs r11, 0xccccccccccccccc
cmp cl, 0x39
ja 0x140007dad
cmp rbx, r11
jb 0x140007d02
jne 0x140007d83
mov r8, r10
cmp cl, 0x38
ja 0x140007d83
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 0x140007dad
jmp 0x140007ce2
cmp cl, 0x30
jl 0x140007dad
mov r8, rdx
mov r10, rdx
movabs r11, 0x1999999999999999
cmp cl, 0x39
ja 0x140007dad
cmp rbx, r11
jb 0x140007d59
jne 0x140007d83
mov r8, r10
cmp cl, 0x35
ja 0x140007d83
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 0x140007dad
jmp 0x140007d45
xorps xmm1, xmm1
test rbx, rbx
js 0x140007d92
cvtsi2sd xmm1, rbx
jmp 0x140007daa
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 [0x1401095c0]
test r15b, r15b
je 0x140007df7
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140007df7
mov r8, rdx
cmp cl, 0x39
ja 0x140007df7
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 0x140007dc8
mov r14d, edi
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140007e08
inc rdx
mov qword [rbp - 0x40], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140007f30
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140007f66
cmp al, 0x39
jg 0x140007f66
mov r8, rdx
test r15b, r15b
jne 0x140007ec6
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 0x140007e98
mov r8, r11
cmp rbx, r15
ja 0x140007e98
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 0x140007e50
xorps xmm1, xmm1
test rbx, rbx
js 0x140007ea7
cvtsi2sd xmm1, rbx
jmp 0x140007ebf
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 0x140007f30
mov r11, r8
mov r10, r8
movzx eax, byte [rdx]
mov rcx, r10
cmp al, 0x39
jg 0x140007f30
cmp r9d, 0x11
jge 0x140007f15
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 0x140007f19
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 0x140007ed6
cmp byte [rcx], 0x65
je 0x140007f3e
cmp byte [rcx], 0x45
jne 0x140008043
inc rcx
mov qword [rbp - 0x40], rcx
test r15b, r15b
jne 0x140007f88
mov eax, esi
mov rdx, rbx
cmp byte [rbp - 0x60], dil
cmove rdx, rax
xorps xmm1, xmm1
test rdx, rdx
js 0x140007f70
cvtsi2sd xmm1, rdx
jmp 0x140007f85
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x1400082f5
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 0x140007f97
cmp al, 0x2d
jne 0x140007fa1
mov dl, 1
inc rcx
movzx eax, byte [rcx]
mov qword [rbp - 0x40], rcx
cmp al, 0x30
jl 0x1400080f2
cmp al, 0x39
jg 0x1400080f2
lea r8, [rcx + 1]
mov qword [rbp - 0x40], r8
movsx edi, al
sub edi, 0x30
movzx r9d, byte [r8]
test dl, dl
je 0x1400080b2
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 0x140008041
movzx eax, r9b
cmp al, 0x39
jg 0x140008041
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 0x14000803a
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14000803a
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140008036
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140008020
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140007ff3
neg edi
test r15b, r15b
je 0x140008168
lea ecx, [rdi + r14]
cmp ecx, 0xfffffecc
jge 0x140008108
divsd xmm1, qword [0x1401095c8]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14000808d
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x140108ac0]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1401095d0]
jbe 0x140008130
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140008309
mov edx, 0x134
sub edx, r14d
cmp r9b, 0x30
jl 0x140008043
movzx eax, r9b
cmp al, 0x39
jg 0x140008043
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 0x14000809b
movzx eax, byte [r8]
cmp al, 0x30
jl 0x140008043
jmp 0x1400080c4
sub rcx, r13
mov dword [r12 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x38], rcx
jmp 0x140008309
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14000807c
lea rcx, [0x140108ac0]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x14000808d
cmp byte [rbp - 0x5f], 0
je 0x14000813d
xorps xmm3, xmmword [0x140109600]
movaps xmm1, xmm3
mov rcx, qword [rbp - 0x50]
call fcn.140008e60
test al, al
jne 0x140008309
mov dword [r12 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140008309
mov rdi, qword [rbp - 0x50]
add rdi, 0x20
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
cmp byte [rbp - 0x60], 0
je 0x140008265
cmp byte [rbp - 0x5f], 0
je 0x1400081f5
neg rbx
cmp rax, 0x10
jge 0x14000819e
mov edx, 1
mov rcx, rdi
call fcn.1400079e0
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 0x1400081dd
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x14000824b
mov eax, 0x1d6
jmp 0x140008247
cmp rbx, 0xffffffff80000000
jl 0x140008309
mov word [rcx + 0xe], 0xb6
jmp 0x140008309
cmp rax, 0x10
jge 0x140008208
mov edx, 1
mov rcx, rdi
call fcn.1400079e0
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 0x140008234
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x14000824b
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x140008309
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x140008309
cmp byte [rbp - 0x5f], 0
je 0x1400082ae
neg esi
cmp rax, 0x10
jge 0x140008280
mov edx, 1
mov rcx, rdi
call fcn.1400079e0
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 0x140008309
cmp rax, 0x10
jge 0x1400082c1
mov edx, 1
mov rcx, rdi
call fcn.1400079e0
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 0x140008309
mov edx, 3
mov eax, gethostbyname
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.1400f6320
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 0x140008384
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.1400079e0
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.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400083ec
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 0x140008519
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140008680
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov rcx, rbx
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x1400084fd
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140008940
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov rcx, rbx
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008528
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400084a9
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
je 0x1400083f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x7d
je 0x1400084ca
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.140008f50
test al, al
jne 0x140008528
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
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.0x140008980.35
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x8c38]
mov ecx, dword [r8 + rax*4 + 0x8c1c]
add rcx, r8
jmp rcx
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400089e0
inc rax
mov qword [rbx], rax
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x1400089c6
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.1400079e0
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 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x1400089e0
inc rax
mov dl, 1
mov rcx, rsi
mov qword [rbx], rax
call fcn.140008d60
test al, al
jne 0x140008be0
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 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x1400089e0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x1400089e0
inc rax
xor edx, edx
jmp 0x140008a1e
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.140008680
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x140008350
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 0x140008ae0
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.1400079e0
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.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008bdb
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x140008b48
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.140008940
cmp dword [rdi + 0x30], ebp
jne 0x140008bdb
nop dword [rax]
mov rcx, rbx
inc ebp
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008bdb
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140008bb0
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140008ca0
cmp dword [rdi + 0x30], 0
jne 0x140008bdb
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140008940
cmp dword [rdi + 0x30], 0
je 0x140008b60
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
cmp cl, 0x5d
jne 0x140008be8
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.140008ec0
test al, al
jne 0x140008bdb
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 0x140007b50