Function at 0x140004b50
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 [0x140b44158]
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 0x140003dd7
inc rcx
mov qword [rbp - 0x40], rcx
mov r10b, 1
jmp 0x140003dda
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 0x140003e02
mov esi, edi
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
jmp 0x140003ec5
cmp al, 0x31
jl 0x140004506
cmp al, 0x39
jg 0x140004506
lea rdx, [rcx + 1]
mov qword [rbp - 0x40], rdx
lea esi, [rax - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140003e73
cmp al, 0x30
jl 0x140003ec5
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
ja 0x140003ec5
cmp esi, 0xccccccc
jb 0x140003e4c
jne 0x140003ebc
mov r8, rcx
cmp al, 0x38
ja 0x140003ebc
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 0x140003ec5
jmp 0x140003e33
cmp al, 0x30
jl 0x140003ec5
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
jg 0x140003ec5
cmp esi, 0x19999999
jb 0x140003e95
jne 0x140003ebc
mov r8, rcx
cmp al, 0x35
jg 0x140003ebc
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 0x140003ec5
jmp 0x140003e80
mov r11b, 1
mov byte [rbp - 0x60], r11b
mov ebx, esi
xor r15b, r15b
test r11b, r11b
je 0x140003fbd
movzx ecx, byte [rdx]
test r10b, r10b
je 0x140003f40
cmp cl, 0x30
jl 0x140003fbd
mov r8, rdx
mov r10, rdx
movabs r11, 0xccccccccccccccc
cmp cl, 0x39
ja 0x140003fbd
cmp rbx, r11
jb 0x140003f12
jne 0x140003f93
mov r8, r10
cmp cl, 0x38
ja 0x140003f93
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 0x140003fbd
jmp 0x140003ef2
cmp cl, 0x30
jl 0x140003fbd
mov r8, rdx
mov r10, rdx
movabs r11, 0x1999999999999999
cmp cl, 0x39
ja 0x140003fbd
cmp rbx, r11
jb 0x140003f69
jne 0x140003f93
mov r8, r10
cmp cl, 0x35
ja 0x140003f93
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 0x140003fbd
jmp 0x140003f55
xorps xmm1, xmm1
test rbx, rbx
js 0x140003fa2
cvtsi2sd xmm1, rbx
jmp 0x140003fba
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 [0x1400c9f70]
test r15b, r15b
je 0x140004007
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140004007
mov r8, rdx
cmp cl, 0x39
ja 0x140004007
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 0x140003fd8
mov r14d, edi
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140004018
inc rdx
mov qword [rbp - 0x40], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140004140
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140004176
cmp al, 0x39
jg 0x140004176
mov r8, rdx
test r15b, r15b
jne 0x1400040d6
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 0x1400040a8
mov r8, r11
cmp rbx, r15
ja 0x1400040a8
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 0x140004060
xorps xmm1, xmm1
test rbx, rbx
js 0x1400040b7
cvtsi2sd xmm1, rbx
jmp 0x1400040cf
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 0x140004140
mov r11, r8
mov r10, r8
movzx eax, byte [rdx]
mov rcx, r10
cmp al, 0x39
jg 0x140004140
cmp r9d, 0x11
jge 0x140004125
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 0x140004129
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 0x1400040e6
cmp byte [rcx], 0x65
je 0x14000414e
cmp byte [rcx], 0x45
jne 0x140004253
inc rcx
mov qword [rbp - 0x40], rcx
test r15b, r15b
jne 0x140004198
mov eax, esi
mov rdx, rbx
cmp byte [rbp - 0x60], dil
cmove rdx, rax
xorps xmm1, xmm1
test rdx, rdx
js 0x140004180
cvtsi2sd xmm1, rdx
jmp 0x140004195
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x14000450b
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 0x1400041a7
cmp al, 0x2d
jne 0x1400041b1
mov dl, 1
inc rcx
movzx eax, byte [rcx]
mov qword [rbp - 0x40], rcx
cmp al, 0x30
jl 0x140004302
cmp al, 0x39
jg 0x140004302
lea r8, [rcx + 1]
mov qword [rbp - 0x40], r8
movsx edi, al
sub edi, 0x30
movzx r9d, byte [r8]
test dl, dl
je 0x1400042c2
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 0x140004251
movzx eax, r9b
cmp al, 0x39
jg 0x140004251
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 0x14000424a
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14000424a
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140004246
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140004230
mov qword [rbp - 0x40], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140004203
neg edi
test r15b, r15b
je 0x140004378
lea ecx, [rdi + r14]
cmp ecx, 0xfffffecc
jge 0x140004318
divsd xmm1, qword [0x1400c9f78]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14000429d
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400c9470]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400c9f80]
jbe 0x140004340
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x14000451f
mov edx, 0x134
sub edx, r14d
cmp r9b, 0x30
jl 0x140004253
movzx eax, r9b
cmp al, 0x39
jg 0x140004253
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 0x1400042ab
movzx eax, byte [r8]
cmp al, 0x30
jl 0x140004253
jmp 0x1400042d4
sub rcx, r13
mov dword [r12 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r12 + 0x38], rcx
jmp 0x14000451f
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14000428c
lea rcx, [0x1400c9470]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x14000429d
cmp byte [rbp - 0x5f], 0
je 0x14000434d
xorps xmm3, xmmword [0x1400c9fb0]
movaps xmm1, xmm3
mov rcx, qword [rbp - 0x50]
call fcn.140005070
test al, al
jne 0x14000451f
mov dword [r12 + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x38], rax
jmp 0x14000451f
mov rdi, qword [rbp - 0x50]
add rdi, 0x20
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
cmp byte [rbp - 0x60], 0
je 0x14000447b
cmp byte [rbp - 0x5f], 0
je 0x14000440b
neg rbx
cmp rax, 0x10
jge 0x1400043ae
mov edx, 1
mov rcx, rdi
call fcn.140003bf0
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, __WSAFDIsSet
mov word [rcx + 0xe], ax
test rbx, rbx
js 0x1400043f0
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140004461
mov eax, 0x1d6
jmp 0x14000445d
cmp rbx, 0xffffffff80000000
jl 0x14000451f
mov eax, 0xb6
mov word [rcx + 0xe], ax
jmp 0x14000451f
cmp rax, 0x10
jge 0x14000441e
mov edx, 1
mov rcx, rdi
call fcn.140003bf0
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 0x14000444a
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140004461
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x14000451f
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x14000451f
cmp byte [rbp - 0x5f], 0
je 0x1400044c4
neg esi
cmp rax, 0x10
jge 0x140004496
mov edx, 1
mov rcx, rdi
call fcn.140003bf0
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 0x14000451f
cmp rax, 0x10
jge 0x1400044d7
mov edx, 1
mov rcx, rdi
call fcn.140003bf0
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 0x14000451f
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.1400c3020
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 0x140004594
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140003bf0
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.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400045fc
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 0x140004729
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140004890
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov rcx, rbx
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x14000470d
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140004b50
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov rcx, rbx
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004738
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400046b9
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
je 0x140004600
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x7d
je 0x1400046da
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.140005160
test al, al
jne 0x140004738
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.0x140004b90.35
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x4e48]
mov ecx, dword [r8 + rax*4 + 0x4e2c]
add rcx, r8
jmp rcx
lea rax, [rdx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140004bf0
inc rax
mov qword [rbx], rax
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x140004bd6
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140003bf0
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 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140004bf0
inc rax
mov dl, 1
mov rcx, rsi
mov qword [rbx], rax
call fcn.140004f70
test al, al
jne 0x140004df0
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 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x140004bf0
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x140004bf0
inc rax
xor edx, edx
jmp 0x140004c2e
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.140004890
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp 0x140004560
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 0x140004cf0
mov edx, 1
lea rcx, [rsi + 0x20]
call fcn.140003bf0
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.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004deb
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x140004d58
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.140004b50
cmp dword [rdi + 0x30], ebp
jne 0x140004deb
nop dword [rax]
mov rcx, rbx
inc ebp
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004deb
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140004dc0
inc rax
mov rcx, rbx
mov qword [rbx], rax
call fcn.140004eb0
cmp dword [rdi + 0x30], 0
jne 0x140004deb
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140004b50
cmp dword [rdi + 0x30], 0
je 0x140004d70
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
cmp cl, 0x5d
jne 0x140004df8
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.1400050d0
test al, al
jne 0x140004deb
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 0x140003d60