Function at 0x140009fa0
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 [0x14017d300]
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 r8, xmm0
mov rax, r8
mov r13, qword [rbp - 0x30]
sub rax, r13
mov qword [rbp - 0x58], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [r8], 0x2d
jne 0x140009228
inc r8
mov qword [rbp - 0x40], r8
mov r10b, 1
jmp 0x14000922b
xor r10b, r10b
mov byte [rbp - 0x5f], r10b
xor ebx, ebx
mov edi, ebx
xor r9b, r9b
mov byte [rbp - 0x60], r9b
mov r11d, ebx
movsx eax, byte [r8]
cmp al, 0x30
jne 0x140009254
mov esi, ebx
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140009315
cmp al, 0x31
jl 0x14000994f
cmp al, 0x39
jg 0x14000994f
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rax - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x1400092c5
cmp al, 0x30
jl 0x140009315
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
ja 0x140009315
cmp esi, 0xccccccc
jb 0x14000929e
jne 0x14000930c
mov r8, rcx
cmp al, 0x38
ja 0x14000930c
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 r11d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140009285
jmp 0x140009315
cmp al, 0x30
jl 0x140009315
mov r8, rdx
mov rcx, rdx
nop
cmp al, 0x39
jg 0x140009315
cmp esi, 0x19999999
jb 0x1400092e5
jne 0x14000930c
mov r8, rcx
cmp al, 0x35
jg 0x14000930c
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 r11d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x1400092d0
jmp 0x140009315
mov r9b, 1
mov byte [rbp - 0x60], r9b
mov edi, esi
xor r15b, r15b
movsd xmm2, qword [0x140136a70]
test r9b, r9b
je 0x140009474
test r10b, r10b
je 0x1400093ad
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140009474
mov r8, rdx
mov r9, rdx
movabs r10, 0xccccccccccccccc
nop word [rax + rax]
cmp cl, 0x39
ja 0x14000946f
cmp rdi, r10
jb 0x140009368
jne 0x140009395
mov r8, r9
cmp cl, 0x38
ja 0x140009395
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
mov r8, rdx
mov r9, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140009350
jmp 0x14000946f
mov rcx, rdi
mov r15b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140009419
cvtsi2sd xmm1, rcx
jmp 0x14000942e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140009474
mov r9, rdx
mov r10, rdx
movabs r14, 0x1999999999999999
nop dword [rax + rax]
mov rcx, rdi
cmp r8b, 0x39
ja 0x14000946f
cmp rdi, r14
jb 0x1400093ed
jne 0x140009398
mov r9, r10
cmp r8b, 0x35
ja 0x140009398
lea rdx, [r9 + 1]
mov qword [rbp - 0x40], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
mov r9, rdx
mov r10, rdx
movzx r8d, byte [rdx]
cmp r8b, 0x30
jge 0x1400093d0
jmp 0x14000946f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x14000946f
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x14000946f
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 0x140009440
movzx r9d, byte [rbp - 0x60]
mov r14d, ebx
cmp byte [rdx], 0x2e
jne 0x14000959c
lea r8, [rdx + 1]
mov qword [rbp - 0x40], r8
movzx eax, byte [r8]
cmp al, 0x30
jl 0x1400095d4
cmp al, 0x39
jg 0x1400095d4
mov rdx, r8
test r15b, r15b
jne 0x14000952b
test r9b, r9b
jne 0x1400094af
mov edi, esi
mov rcx, r8
mov r9, r8
movabs r10, 0x1fffffffffffff
nop
cmp al, 0x39
jg 0x1400094fe
mov rdx, r9
cmp rdi, r10
ja 0x1400094fe
lea r8, [rcx + 1]
mov rdx, r8
mov qword [rbp - 0x40], r8
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec r14d
test rdi, rdi
je 0x1400094f0
inc r11d
movzx eax, byte [r8]
mov rcx, r8
mov r9, rdx
cmp al, 0x30
jge 0x1400094c0
xorps xmm1, xmm1
test rdi, rdi
js 0x14000950d
cvtsi2sd xmm1, rdi
jmp 0x140009525
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r15b, 1
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14000959c
mov rax, rdx
mov r10, rdx
mov r9, rdx
movzx ecx, byte [r8]
nop dword [rax]
mov rdx, r9
cmp cl, 0x39
jg 0x14000959c
cmp r11d, 0x11
jge 0x140009580
lea rdx, [rax + 1]
mov rcx, rdx
mov qword [rbp - 0x40], rdx
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec r14d
comisd xmm0, xmm3
jbe 0x14000958b
inc r11d
jmp 0x14000958b
lea rdx, [r10 + 1]
mov rcx, rdx
mov qword [rbp - 0x40], rdx
mov rax, rdx
movzx ecx, byte [rcx]
mov r10, rdx
mov r9, rdx
cmp cl, 0x30
jge 0x140009540
cmp byte [rdx], 0x65
je 0x1400095aa
cmp byte [rdx], 0x45
jne 0x140009703
inc rdx
mov qword [rbp - 0x40], rdx
movzx r11d, byte [rbp - 0x60]
test r15b, r15b
jne 0x1400095f6
test r11b, r11b
mov rcx, rdi
jne 0x1400095c5
mov ecx, esi
xorps xmm1, xmm1
test rcx, rcx
js 0x1400095de
cvtsi2sd xmm1, rcx
jmp 0x1400095f3
mov ecx, reloc.WS2_32.dll_ntohl
jmp 0x140009954
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 0x140009605
cmp al, 0x2d
jne 0x14000960f
mov cl, 1
inc rdx
movzx eax, byte [rdx]
mov qword [rbp - 0x40], rdx
cmp al, 0x30
jl 0x1400096ed
cmp al, 0x39
jg 0x1400096ed
lea r8, [rdx + 1]
mov qword [rbp - 0x40], r8
movsx ebx, al
sub ebx, 0x30
movzx r9d, byte [r8]
test cl, cl
je 0x1400096b5
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 0x1400096b1
movzx eax, r9b
cmp al, 0x39
jg 0x1400096b1
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea ebx, [rbx + rbx*4]
movsx eax, byte [r8]
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
mov r8, rdx
cmp ebx, r10d
jle 0x1400096aa
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400096aa
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x1400096a6
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140009690
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140009661
neg ebx
jmp 0x140009708
mov edx, 0x134
sub edx, r14d
cmp r9b, 0x30
jl 0x140009708
movzx eax, r9b
cmp al, 0x39
jg 0x140009708
movsx eax, byte [r8]
inc r8
mov qword [rbp - 0x40], r8
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rax + rbx*2]
cmp ebx, edx
jg 0x140009758
movzx eax, byte [r8]
cmp al, 0x30
jge 0x1400096c7
jmp 0x140009708
sub rdx, r13
mov dword [r12 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x38], rdx
jmp 0x140009967
movzx r11d, byte [rbp - 0x60]
test r15b, r15b
je 0x1400097c8
lea ecx, [rbx + r14]
cmp ecx, 0xfffffecc
jge 0x14000976f
divsd xmm1, qword [0x140136a78]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14000974e
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x140135f70]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x140136a80]
jbe 0x140009790
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140009967
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14000973d
lea rcx, [0x140135f70]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x14000974e
cmp byte [rbp - 0x5f], 0
je 0x14000979d
xorps xmm3, xmmword [0x140136ab0]
movaps xmm1, xmm3
mov rcx, qword [rbp - 0x50]
call fcn.14000a4c0
test al, al
jne 0x140009967
mov dword [r12 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x140009967
mov rbx, qword [rbp - 0x50]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r11b, r11b
je 0x1400098c4
cmp byte [rbp - 0x5f], 0
je 0x140009854
neg rdi
cmp rax, 0x10
jge 0x1400097fd
mov edx, 1
mov rcx, rbx
call fcn.140009040
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov word [rcx + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x14000983c
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400098aa
mov eax, 0x1d6
jmp 0x1400098a6
cmp rdi, 0xffffffff80000000
jl 0x140009967
mov word [rcx + 0xe], 0xb6
jmp 0x140009967
cmp rax, 0x10
jge 0x140009867
mov edx, 1
mov rcx, rbx
call fcn.140009040
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov eax, 0x116
mov word [rcx + 0xe], ax
test rdi, rdi
js 0x140009893
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400098aa
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x140009967
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x140009967
cmp byte [rbp - 0x5f], 0
je 0x14000990d
neg esi
cmp rax, 0x10
jge 0x1400098df
mov edx, 1
mov rcx, rbx
call fcn.140009040
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 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 0x140009967
cmp rax, 0x10
jge 0x140009920
mov edx, 1
mov rcx, rbx
call fcn.140009040
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 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 0x140009967
mov ecx, 3
mov eax, gethostbyname
mov rdx, r12
sub r8, r13
mov dword [r12 + rax], ecx
mov qword [rdx + 0x38], r8
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.14011ce50
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 0x1400099e4
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140009040
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.14000a300
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x140009a4c
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 0x140009b79
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140009ce0
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov rcx, rbx
call fcn.14000a300
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140009b5d
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.14000a300
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140009fa0
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov rcx, rbx
call fcn.14000a300
cmp dword [rdi + 0x30], 0
jne 0x140009b88
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140009b09
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.14000a300
cmp dword [rdi + 0x30], 0
je 0x140009a50
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x7d
je 0x140009b2a
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.14000a5b0
test al, al
jne 0x140009b88
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.0x140009fe0.35
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0xa298]
mov ecx, dword [r8 + rax*4 + 0xa27c]
add rcx, r8
jmp rcx
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14000a040
inc rax
mov qword [rbx], rax
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x14000a026
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140009040
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 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14000a040
inc rax
mov dl, 1
mov rcx, rsi
mov qword [rbx], rax
call fcn.14000a3c0
test al, al
jne 0x14000a240
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 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14000a040
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14000a040
inc rax
xor edx, edx
jmp 0x14000a07e
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.140009ce0
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x1400099b0
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 0x14000a140
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140009040
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.14000a300
cmp dword [rdi + 0x30], 0
jne 0x14000a23b
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x14000a1a8
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.140009fa0
cmp dword [rdi + 0x30], ebp
jne 0x14000a23b
nop dword [rax]
mov rcx, rbx
inc ebp
call fcn.14000a300
cmp dword [rdi + 0x30], 0
jne 0x14000a23b
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x14000a210
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.14000a300
cmp dword [rdi + 0x30], 0
jne 0x14000a23b
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140009fa0
cmp dword [rdi + 0x30], 0
je 0x14000a1c0
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
cmp cl, 0x5d
jne 0x14000a248
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.14000a520
test al, al
jne 0x14000a23b
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 0x1400091b0