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

Disassembly:
mov rax, qword [rdx + 0x28]
movsx r9d, byte [rax]
add r9d, 0xffffffde
cmp r9d, 0x59
ja case.0x140038ad0.35
movsxd rax, r9d
lea r10, [0x140000000]
movzx eax, byte [r10 + rax + 0x38b18]
mov r9d, dword [r10 + rax*4 + 0x38afc]
add r9, r10
jmp r9
jmp 0x140038c40
jmp 0x140038ce0
jmp 0x140038db0
xor r9d, r9d
jmp 0x140038e90
jmp 0x140039240
jmp 0x140039490
jmp 0x140039650
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r8
mov rcx, rdx
mov rbx, rdx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x75
jne 0x140038cb4
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x6c
jne 0x140038cb4
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x6c
jne 0x140038cb4
mov rcx, rbx
call fcn.1400374c0
mov rcx, rsi
call fcn.140003df0
test al, al
jne 0x140038cca
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, qword [rbx + 0x28]
mov dword [rdi + 0x30], setsockopt
jmp 0x140038cc6
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rdx
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r8
mov rcx, rdx
mov rbx, rdx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x72
jne 0x140038d7d
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x75
jne 0x140038d7d
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x65
jne 0x140038d7d
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x140038d4a
lea rcx, [rsi + 0x20]
call fcn.140004300
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 0x10]
mov qword [rsi + 0x38], rax
test rcx, rcx
je 0x140038d93
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov eax, 0xa
mov word [rcx + 0xe], ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rdx
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r8
mov rcx, rdx
mov rbx, rdx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x61
jne 0x140038e62
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x6c
jne 0x140038e62
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x73
jne 0x140038e62
mov rcx, rbx
call fcn.1400374c0
mov rdx, qword [rbx + 0x28]
cmp byte [rdx], 0x65
jne 0x140038e62
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rsi + 0x40]
sub rax, qword [rsi + 0x38]
cmp rax, 0x10
jge 0x140038e2f
lea rcx, [rsi + 0x20]
call fcn.140004300
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 0x10]
mov qword [rsi + 0x38], rax
test rcx, rcx
je 0x140038e78
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov eax, 9
mov word [rcx + 0xe], ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rdx
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
movzx r12d, r9b
mov r13, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.1400374c0
mov rsi, rdi
mov qword [rsp + 0x28], rdi
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea r15, [0x1401ba2a0]
nop dword [rax]
mov rcx, qword [rbx + 0x28]
movzx ebp, byte [rcx]
cmp bpl, 0x5c
jne 0x1400390b1
mov r8, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x10]
mov rbp, r8
sub rbp, rdx
add rbp, rcx
cmp rcx, qword [rbx + 0x20]
jae 0x140038f12
lea rax, [rcx + 1]
mov qword [rbx + 0x28], rax
jmp 0x140038f6a
cmp byte [rbx + 0x40], 0
jne 0x140038f6a
mov rcx, qword [rbx + 0x30]
add rcx, r8
mov qword [rbx + 0x38], rcx
mov r8, qword [rbx + 0x18]
mov qword [rbx + 0x30], r8
lea rax, [rdx - 1]
add rax, r8
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rdx
mov rcx, qword [rbx]
call fcn.140037700
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140038f6a
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x30], rcx
add rcx, qword [rbx + 0x10]
mov qword [rbx + 0x20], rcx
mov byte [rcx], 0
mov byte [rbx + 0x40], 1
mov rax, qword [rbx + 0x28]
movzx ecx, byte [rax]
add r15, rcx
cmp byte [r15], 0
je 0x140038fb8
mov rcx, rbx
call fcn.1400374c0
movzx ebp, byte [r15]
mov rax, qword [rsi + 0x20]
sub rax, qword [rsi + 0x18]
cmp rax, 1
jge 0x140038fa1
mov edx, 1
mov rcx, rsi
call fcn.140004260
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 1]
mov qword [rsi + 0x18], rax
mov byte [rcx], bpl
inc r14d
jmp 0x140038ed1
cmp cl, 0x75
jne 0x140039097
mov rcx, rbx
call fcn.1400374c0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140039db0
mov edx, eax
cmp dword [rdi + 0x30], 0
jne 0x140039228
lea r15d, [rax - 0xd800]
cmp r15d, 0x3ff
ja 0x14003907e
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x5c
jne 0x14003901b
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x75
jne 0x14003901b
mov rcx, rbx
call fcn.1400374c0
jmp 0x140039030
mov dword [rdi + 0x30], 9
mov qword [rdi + 0x38], rbp
cmp dword [rdi + 0x30], 0
jne 0x140039228
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140039db0
cmp dword [rdi + 0x30], 0
jne 0x140039228
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
jbe 0x14003906b
mov dword [rdi + 0x30], 9
mov qword [rdi + 0x38], rbp
cmp dword [rdi + 0x30], 0
jne 0x140039228
mov edx, r15d
shl edx, 0xa
add eax, 0xffff2400
or edx, eax
add edx, 0x10000
lea rcx, [rsp + 0x28]
call fcn.1400040d0
mov r14d, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jmp 0x140038ed6
mov dword [rdi + 0x30], 0xa
mov qword [rdi + 0x38], rbp
cmp dword [rdi + 0x30], 0
jne 0x140039228
jmp 0x140038ed6
cmp bpl, 0x22
je 0x140039140
cmp bpl, 0x20
jae 0x140039101
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov qword [rdi + 0x38], rax
test bpl, bpl
jne 0x1400390eb
mov dword [rdi + 0x30], reloc.WS2_32.dll_inet_addr
cmp dword [rdi + 0x30], 0
jne 0x140039228
jmp 0x140038ee0
mov dword [rdi + 0x30], listen
cmp dword [rdi + 0x30], 0
jne 0x140039228
jmp 0x140038ee0
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rsi + 0x20]
sub rax, qword [rsi + 0x18]
cmp rax, 1
jge 0x140039124
mov edx, 1
mov rcx, rsi
call fcn.140004260
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 1]
mov qword [rsi + 0x18], rax
mov byte [rcx], bpl
inc r14d
mov dword [rsp + 0x30], r14d
jmp 0x140038ee0
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rsi + 0x20]
sub rax, qword [rsi + 0x18]
cmp rax, 1
jge 0x140039163
mov edx, 1
mov rcx, rsi
call fcn.140004260
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 1]
mov qword [rsi + 0x18], rax
mov byte [rcx], 0
inc r14d
cmp dword [rdi + 0x30], 0
jne 0x140039228
lea ebp, [r14 - 1]
mov eax, r14d
sub qword [rsi + 0x18], rax
mov rsi, qword [rsi + 0x18]
test r12b, r12b
je 0x1400391fc
mov rax, qword [r13 + 0x40]
sub rax, qword [r13 + 0x38]
cmp rax, 0x10
jge 0x1400391aa
lea rcx, [r13 + 0x20]
call fcn.140004300
mov rcx, qword [r13 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r13 + 0x38], rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rcx
test rcx, rcx
je 0x1400391fa
mov r8, qword [r13 + 0x10]
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
lea rax, [0x1401ba6c8]
test rsi, rsi
cmovne rax, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebp
lea rdx, [rsp + 0x28]
call fcn.140003fc0
nop
jmp 0x140039228
mov r9b, 1
mov r8d, ebp
mov rdx, rsi
mov rcx, r13
call fcn.140003ac0
test al, al
jne 0x140039228
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, qword [rbx + 0x28]
mov dword [rdi + 0x30], setsockopt
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbp, r8
mov rcx, rdx
mov rbx, rdx
call fcn.1400374c0
mov rax, qword [rbp + 0x40]
sub rax, qword [rbp + 0x38]
cmp rax, 0x10
jge 0x14003927c
lea rcx, [rbp + 0x20]
call fcn.140004300
mov rcx, qword [rbp + 0x38]
mov esi, 3
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
test rcx, rcx
je 0x14003929f
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov word [rcx + 0xe], si
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rcx, qword [rbx + 0x28]
movzx eax, byte [rcx]
cmp al, 0x7d
jne 0x1400392e8
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbp + 0x38]
movabs rcx, 0xffff000000000000
mov word [rax - 2], si
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
jmp 0x140039441
xor esi, esi
nop word [rax + rax]
cmp al, 0x22
je 0x140039314
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [rdi + 0x30], 4
mov qword [rdi + 0x38], rax
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140038e90
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rcx, qword [rbx + 0x28]
cmp byte [rcx], 0x3a
jne 0x140039357
mov rcx, rbx
call fcn.1400374c0
jmp 0x140039377
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [rdi + 0x30], 5
mov qword [rdi + 0x38], rax
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140038aa0
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rcx, qword [rbx + 0x28]
inc esi
movzx eax, byte [rcx]
cmp al, 0x2c
je 0x1400393e6
cmp al, 0x7d
je 0x140039456
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [rdi + 0x30], 6
mov qword [rdi + 0x38], rax
jmp 0x1400393f9
mov rcx, rbx
call fcn.1400374c0
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rcx, qword [rbx + 0x28]
movzx eax, byte [rcx]
cmp al, 0x7d
jne 0x1400392f0
mov edx, esi
mov rcx, rbp
call fcn.140003a80
test al, al
jne 0x140039439
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, qword [rbx + 0x28]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], setsockopt
cmp dword [rdi + 0x30], 0
jne 0x140039441
mov rcx, rbx
call fcn.1400374c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400374c0
mov edx, esi
mov rcx, rbp
call fcn.140003a80
test al, al
jne 0x140039441
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, qword [rbx + 0x28]
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x30], setsockopt
jmp 0x140039441
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rbp, r8
mov rcx, rdx
mov rbx, rdx
call fcn.1400374c0
mov rax, qword [rbp + 0x40]
sub rax, qword [rbp + 0x38]
cmp rax, 0x10
jge 0x1400394d2
lea rcx, [rbp + 0x20]
call fcn.140004300
mov rcx, qword [rbp + 0x38]
mov esi, 4
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
test rcx, rcx
je 0x1400394f5
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov word [rcx + 0xe], si
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039632
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x5d
jne 0x14003953c
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbp + 0x38]
movabs rcx, 0xffff000000000000
mov word [rax - 2], si
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
jmp 0x140039632
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.140038aa0
cmp dword [rdi + 0x30], esi
jne 0x140039632
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
inc esi
call fcn.140038850
cmp dword [rdi + 0x30], 0
jne 0x140039632
mov rcx, qword [rbx + 0x28]
movzx eax, byte [rcx]
cmp al, 0x2c
jne 0x140039597
mov rcx, rbx
call fcn.1400374c0
mov rdx, rbx
mov rcx, rdi
call fcn.140038850
jmp 0x1400395b1
cmp al, 0x5d
je 0x140039605
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
cmp dword [rdi + 0x30], 0
jne 0x140039632
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x5d
je 0x1400395d6
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140038aa0
cmp dword [rdi + 0x30], 0
je 0x140039560
jmp 0x140039632
mov eax, esi
mov r8d, esi
neg rax
shl rax, 4
add qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x10]
sub rcx, 0x10
mov rdx, qword [rbp + 0x38]
call fcn.140003ed0
mov rcx, rbx
call fcn.1400374c0
jmp 0x140039632
mov rcx, rbx
call fcn.1400374c0
mov eax, esi
mov r8d, esi
neg rax
shl rax, 4
add qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x10]
sub rcx, 0x10
mov rdx, qword [rbp + 0x38]
call fcn.140003ed0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [rdx + 0x28]
mov r12, rcx
mov rcx, qword [rdx + 0x38]
mov rbx, rdx
sub rcx, qword [rdx + 0x10]
movaps xmmword [rsp + 0x60], xmm6
add rcx, rax
cmp byte [rax], 0x2d
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmm6, xmm8
mov qword [rsp + 0x28], rcx
jne 0x1400396b4
mov rcx, rdx
call fcn.1400374c0
mov r13b, 1
jmp 0x1400396b7
xor r13b, r13b
mov rcx, qword [rbx + 0x28]
xor r15d, r15d
movsd xmm7, qword [0x1401bc6e8]
mov edi, r15d
movsd xmm9, qword [0x1401bc720]
mov r14d, r15d
mov byte [rsp + 0x20], r13b
mov esi, r15d
movzx ebp, byte [rcx]
mov byte [rsp + 0xd8], dil
cmp bpl, 0x30
jne 0x140039706
mov rcx, rbx
call fcn.1400374c0
xor bpl, bpl
mov byte [rsp + 0xc8], bpl
jmp 0x1400399a8
lea eax, [rbp - 0x31]
cmp al, 8
ja 0x1400397e0
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbx + 0x28]
movsx r14d, bpl
sub r14d, 0x30
test r13b, r13b
je 0x140039781
cmp byte [rax], 0x30
jl 0x140039804
mov rax, qword [rbx + 0x28]
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x140039804
cmp r14d, 0xccccccc
jb 0x140039759
jne 0x1400397d3
cmp bpl, 0x38
jg 0x1400397d3
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbx + 0x28]
lea ecx, [r14 + r14*4]
movsx r14d, bpl
inc esi
add r14d, 0xffffffd0
cmp byte [rax], 0x30
lea r14d, [r14 + rcx*2]
jge 0x140039733
jmp 0x140039804
cmp byte [rax], 0x30
jl 0x140039804
nop word [rax + rax]
mov rax, qword [rbx + 0x28]
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x140039804
cmp r14d, 0x19999999
jb 0x1400397ae
jne 0x1400397d3
cmp bpl, 0x35
jg 0x1400397d3
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbx + 0x28]
lea ecx, [r14 + r14*4]
movsx r14d, bpl
inc esi
add r14d, 0xffffffd0
cmp byte [rax], 0x30
lea r14d, [r14 + rcx*2]
jge 0x140039790
jmp 0x140039804
mov edi, r14d
mov byte [rsp + 0xd8], 1
jmp 0x140039804
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [r12 + 0x30], 3
mov qword [r12 + 0x38], rax
cmp dword [r12 + 0x30], esi
jne 0x140039d86
xor r13b, r13b
mov byte [rsp + 0xc8], r13b
cmp byte [rsp + 0xd8], r13b
je 0x1400398e3
mov rax, qword [rbx + 0x28]
cmp byte [rsp + 0x20], r15b
je 0x14003987b
cmp byte [rax], 0x30
jl 0x1400398e3
mov rax, qword [rbx + 0x28]
movabs rcx, 0xccccccccccccccc
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x1400398e3
cmp rdi, rcx
jb 0x140039859
jne 0x1400398c6
cmp bpl, 0x38
jg 0x1400398c6
mov rcx, rbx
call fcn.1400374c0
lea rax, [rdi + rdi*4]
movsx rcx, bpl
sub rcx, 0x30
mov ecx, ecx
inc esi
lea rdi, [rcx + rax*2]
mov rax, qword [rbx + 0x28]
jmp 0x140039828
cmp byte [rax], 0x30
jl 0x1400398e3
mov rax, qword [rbx + 0x28]
movabs rcx, 0x1999999999999999
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x1400398e3
cmp rdi, rcx
jb 0x1400398a4
jne 0x1400398c6
cmp bpl, 0x35
jg 0x1400398c6
mov rcx, rbx
call fcn.1400374c0
lea rax, [rdi + rdi*4]
movsx rcx, bpl
sub rcx, 0x30
mov ecx, ecx
inc esi
lea rdi, [rcx + rax*2]
mov rax, qword [rbx + 0x28]
jmp 0x14003987b
xorps xmm6, xmm6
cvtsi2sd xmm6, rdi
test rdi, rdi
jns 0x1400398d8
addsd xmm6, xmm9
mov r13b, 1
mov byte [rsp + 0xc8], r13b
test r13b, r13b
je 0x1400399a0
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jl 0x1400399a0
nop dword [rax]
mov rax, qword [rbx + 0x28]
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x1400399a0
cmp rax, qword [rbx + 0x20]
jae 0x140039920
inc rax
mov qword [rbx + 0x28], rax
jmp 0x140039979
cmp byte [rbx + 0x40], r15b
jne 0x140039979
mov rax, qword [rbx + 0x30]
mov rdx, qword [rbx + 0x10]
add qword [rbx + 0x38], rax
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx]
lea rax, [rdx - 1]
mov qword [rbx + 0x30], r8
add rax, r8
mov qword [rbx + 0x28], rdx
mov qword [rbx + 0x20], rax
call fcn.140037700
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140039979
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x30], rcx
add rcx, qword [rbx + 0x10]
mov qword [rbx + 0x20], rcx
mov byte [rcx], r15b
mov byte [rbx + 0x40], 1
movsx eax, bpl
sub eax, 0x30
mulsd xmm6, xmm7
movd xmm0, eax
mov rax, qword [rbx + 0x28]
cvtdq2pd xmm0, xmm0
cmp byte [rax], 0x30
addsd xmm0, xmm6
movaps xmm6, xmm0
jge 0x140039900
movzx ebp, byte [rsp + 0xc8]
mov rax, qword [rbx + 0x28]
mov r13d, r15d
cmp byte [rax], 0x2e
jne 0x140039ad9
mov rcx, rbx
call fcn.1400374c0
mov rcx, qword [rbx + 0x28]
movzx eax, byte [rcx]
sub al, 0x30
cmp al, 9
jbe 0x1400399f1
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov dword [r12 + 0x30], setsockopt
mov qword [r12 + 0x38], rax
cmp dword [r12 + 0x30], r15d
jne 0x140039d86
test bpl, bpl
jne 0x140039a85
cmp byte [rsp + 0xd8], r13b
mov eax, r14d
cmovne rax, rdi
mov rdi, rax
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jl 0x140039a6b
movabs r12, 0x1fffffffffffff
nop
mov rax, qword [rbx + 0x28]
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x140039a63
cmp rdi, r12
ja 0x140039a63
mov rcx, rbx
call fcn.1400374c0
lea rax, [rdi + rdi*4]
movsx rcx, bpl
sub rcx, 0x30
dec r13d
mov ecx, ecx
lea rdi, [rcx + rax*2]
lea eax, [rsi + 1]
test rdi, rdi
cmove eax, esi
mov esi, eax
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jge 0x140039a20
mov r12, qword [rsp + 0xc0]
xorps xmm6, xmm6
cvtsi2sd xmm6, rdi
test rdi, rdi
jns 0x140039a7d
addsd xmm6, xmm9
mov byte [rsp + 0xc8], 1
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jl 0x140039ad9
nop
mov rax, qword [rbx + 0x28]
movzx ebp, byte [rax]
cmp bpl, 0x39
jg 0x140039ad9
mov rcx, rbx
call fcn.1400374c0
cmp esi, 0x11
jge 0x140039ad0
mulsd xmm6, xmm7
dec r13d
movsx eax, bpl
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm6
comisd xmm0, xmm8
movaps xmm6, xmm0
jbe 0x140039ad0
inc esi
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jge 0x140039a90
mov rax, qword [rbx + 0x28]
movzx ecx, byte [rax]
cmp cl, 0x65
je 0x140039aee
cmp cl, 0x45
jne 0x140039cc2
mov rcx, rbx
call fcn.1400374c0
cmp byte [rsp + 0xc8], r15b
jne 0x140039b2a
mov rax, rdi
cmp byte [rsp + 0xd8], r15b
jne 0x140039b10
mov eax, r14d
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
test rax, rax
jns 0x140039b22
addsd xmm6, xmm9
mov byte [rsp + 0xc8], 1
mov rax, qword [rbx + 0x28]
xor r12b, r12b
movzx ecx, byte [rax]
cmp cl, 0x2b
jne 0x140039b43
mov rcx, rbx
call fcn.1400374c0
jmp 0x140039b53
cmp cl, 0x2d
jne 0x140039b53
mov rcx, rbx
call fcn.1400374c0
mov r12b, 1
mov rcx, qword [rbx + 0x28]
movzx esi, byte [rcx]
lea eax, [rsi - 0x30]
cmp al, 9
ja 0x140039c80
mov rcx, rbx
call fcn.1400374c0
movsx r15d, sil
sub r15d, 0x30
test r12b, r12b
je 0x140039c08
mov eax, 0x66666667
lea ecx, [r13 + 0x7ffffff7]
imul ecx
mov ebp, edx
sar ebp, 2
mov eax, ebp
shr eax, 0x1f
add ebp, eax
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jl 0x140039ca8
mov rax, qword [rbx + 0x28]
movzx esi, byte [rax]
cmp sil, 0x39
jg 0x140039ca8
mov rcx, rbx
call fcn.1400374c0
lea r15d, [r15 + r15*4]
movsx eax, sil
lea r15d, [r15 - 0x18]
lea r15d, [rax + r15*2]
cmp r15d, ebp
jle 0x140039bfa
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jl 0x140039bfa
nop dword [rax]
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x39
jg 0x140039bfa
mov rcx, rbx
call fcn.1400374c0
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jge 0x140039be0
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jge 0x140039ba5
jmp 0x140039ca8
mov rax, qword [rbx + 0x28]
mov ebp, 0x134
sub ebp, r13d
cmp byte [rax], 0x30
jl 0x140039cba
nop dword [rax]
mov rax, qword [rbx + 0x28]
movzx esi, byte [rax]
cmp sil, 0x39
jg 0x140039cba
mov rcx, rbx
call fcn.1400374c0
mov r12, qword [rsp + 0xc0]
lea r15d, [r15 + r15*4]
movsx eax, sil
lea r15d, [r15 - 0x18]
lea r15d, [rax + r15*2]
cmp r15d, ebp
jle 0x140039c75
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x38], rax
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
cmp dword [r12 + 0x30], 0
jne 0x140039d86
mov rax, qword [rbx + 0x28]
cmp byte [rax], 0x30
jge 0x140039c20
jmp 0x140039cc2
mov rax, qword [rbx + 0x38]
sub rax, qword [rbx + 0x10]
add rax, rcx
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x30], setsockopt
mov qword [rcx + 0x38], rax
cmp dword [rcx + 0x30], r15d
jne 0x140039d86
test r12b, r12b
mov r12, qword [rsp + 0xc0]
je 0x140039cc2
neg r15d
jmp 0x140039cc2
mov r12, qword [rsp + 0xc0]
cmp byte [rsp + 0xc8], 0
je 0x140039d21
lea edx, [r15 + r13]
movaps xmm0, xmm6
call fcn.140002d50
comisd xmm0, xmmword [0x1401bc730]
jbe 0x140039d01
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x38], rax
mov dword [r12 + 0x30], reloc.WS2_32.dll_listen
cmp dword [r12 + 0x30], 0
jne 0x140039d86
cmp byte [rsp + 0x20], 0
je 0x140039d0f
xorps xmm0, xmmword [0x1401bc9b0]
mov rcx, qword [rsp + 0xd0]
movaps xmm1, xmm0
call fcn.140003bc0
jmp 0x140039d6f
cmp byte [rsp + 0xd8], 0
mov rcx, qword [rsp + 0xd0]
je 0x140039d52
cmp byte [rsp + 0x20], 0
je 0x140039d48
not rdi
lea rdx, [rdi + 1]
call fcn.140003cc0
jmp 0x140039d6f
mov rdx, rdi
call fcn.140003c20
jmp 0x140039d6f
cmp byte [rsp + 0x20], 0
je 0x140039d67
not r14d
lea edx, [r14 + 1]
call fcn.140003d80
jmp 0x140039d6f
mov edx, r14d
call fcn.140003d10
test al, al
jne 0x140039d86
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x38], rax
mov dword [r12 + 0x30], socket
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret