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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [r8]
lea r14, [rcx + 0xf0]
mov rdi, rcx
mov qword [rsp + 0x80], rax
mov rcx, qword [r14 + 0x50]
mov r15, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov r13, rcx
mov r12, rdx
mov rsi, rax
mov rbp, rax
mov r8, rax
mov edx, 0xa
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
mov rdx, r13
test rax, rax
je 0x7ff66b5c24cf
lea r8, [rcx + 1]
sub rbx, rax
lea rax, [rsi - 1]
xor ebp, ebp
add rax, rbx
lea rsi, [rdi + 0xca0]
mov qword [r15], rax
mov rcx, rsi
mov qword [r14 + 0x50], r8
sub r8, r13
call fcn.7ff66b58fdb0
test eax, eax
jne 0x7ff66b5c2302
cmp dword [r14 + 0x48], eax
jne 0x7ff66b5c168a
mov rcx, rsi
call fcn.7ff66b58fe10
lea rcx, [rdi + 0xca0]
mov rsi, rax
call fcn.7ff66b5826c0
mov rcx, qword [r12 + 0x2e8]
mov rdx, rax
test dword [rcx + 0x84], 0x40000
je 0x7ff66b5c166d
cmp rsi, 5
mov ecx, 5
mov ebx, ebp
cmova rsi, rcx
setae bl
mov r8, rsi
lea rcx, [0x7ff66b60f028]
call fcn.7ff66b58fc60
test eax, eax
mov ecx, 2
cmovne ecx, ebx
jmp 0x7ff66b5c167a
mov r8, rsi
mov rcx, rdi
call fcn.7ff66b5c2950
mov ecx, eax
cmp ecx, 2
je 0x7ff66b5c22d0
lea rsi, [rdi + 0xca0]
mov rcx, rsi
call fcn.7ff66b5826c0
mov r15, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x7ff66b5c1be8
cmp cl, 0xd
je 0x7ff66b5c1be8
mov edx, dword [r14 + 0x48]
mov ebp, 4
mov rbx, rsi
lea ecx, [rdx + 1]
mov dword [r14 + 0x48], ecx
test edx, edx
jne 0x7ff66b5c1a9f
mov rax, qword [r12 + 0x2e8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x7ff66b5c18c4
movzx eax, byte [r15]
mov rbx, r15
test al, al
je 0x7ff66b5c16fa
cmp al, 0x20
je 0x7ff66b5c16ef
cmp al, 9
jne 0x7ff66b5c16fa
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x7ff66b5c16e7
mov r8d, 5
lea rdx, [0x7ff66b605040]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff66b5c179c
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x7ff66b5c17de
sub ecx, 1
je 0x7ff66b5c1735
cmp ecx, 1
jne 0x7ff66b5c2331
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x7ff66b5c1741
cmp al, 9
jne 0x7ff66b5c179c
movsx ecx, byte [rbx + 7]
lea eax, [rdx - 0x30]
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff66b5c179c
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff66b5c179c
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff66b5c179c
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [r14 + 0x60], ecx
movzx eax, byte [rbx + 0xa]
cmp al, 0x20
je 0x7ff66b5c1867
sub al, 9
cmp al, bpl
jbe 0x7ff66b5c1867
mov rcx, rsi
call fcn.7ff66b58fe10
mov rcx, rsi
mov rbx, rax
call fcn.7ff66b5826c0
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.7ff66b5c2950
cmp eax, 1
jne 0x7ff66b5c23b6
lea rbx, [r12 + 0x70d]
mov dword [r14 + 0x60], 0xc8
mov byte [rbx], 0xa
jmp 0x7ff66b5c19ae
cmp byte [rbx + 6], 0x2e
jne 0x7ff66b5c2393
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x7ff66b5c2393
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x7ff66b5c1807
cmp al, 9
jne 0x7ff66b5c2393
lea r9d, [rcx - 0x26]
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff66b5c2393
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff66b5c2393
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff66b5c2393
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [r14 + 0x60], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x7ff66b5c1867
cmp al, 9
je 0x7ff66b5c1867
sub al, 0xa
cmp al, 3
ja 0x7ff66b5c2393
cmp ecx, 0x64
jl 0x7ff66b5c237a
mov ecx, r9d
sub ecx, 0xa
je 0x7ff66b5c1881
cmp ecx, 1
jne 0x7ff66b5c2347
lea rbx, [r12 + 0x70d]
mov byte [rbx], r9b
cmp dword [r14 + 0x7c], 3
jne 0x7ff66b5c18a8
cmp r9b, 0x14
je 0x7ff66b5c18a8
lea rdx, [0x7ff66b60f518]
mov rcx, rdi
call fcn.7ff66b5a5180
cmp byte [rbx], 0x14
jae 0x7ff66b5c19ae
mov rax, qword [r12 + 0x6d0]
mov dword [rax], 0xffffffff
jmp 0x7ff66b5c19ae
bt ecx, 0x12
jae 0x7ff66b5c23b6
movzx eax, byte [r15]
mov rbx, r15
test al, al
je 0x7ff66b5c18f3
nop dword [rax]
cmp al, 0x20
je 0x7ff66b5c18e8
cmp al, 9
jne 0x7ff66b5c18f3
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x7ff66b5c18e0
mov r8d, 5
lea rdx, [0x7ff66b60f028]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff66b5c23b6
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x7ff66b5c23ac
cmp byte [rbx + 6], 0x2e
jne 0x7ff66b5c23ac
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x7ff66b5c23ac
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x7ff66b5c1947
cmp al, 9
jne 0x7ff66b5c23ac
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff66b5c23ac
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff66b5c23ac
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff66b5c23ac
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [r14 + 0x60], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x7ff66b5c19a3
cmp al, 9
je 0x7ff66b5c19a3
sub al, 0xa
cmp al, 3
ja 0x7ff66b5c23ac
lea rbx, [r12 + 0x70d]
mov byte [rbx], 0xb
mov eax, dword [r14 + 0x60]
mov rcx, rbx
movzx edx, byte [rdi + 0x1369]
mov dword [rdi + 0x1390], eax
movzx eax, byte [rbx]
mov dword [rdi + 0x1398], eax
movzx eax, byte [rbx]
test dl, dl
je 0x7ff66b5c19de
cmp dl, al
jbe 0x7ff66b5c19e4
lea rcx, [r12 + 0x70d]
mov byte [rdi + 0x1369], al
cmp qword [rdi + 0x1180], 0
je 0x7ff66b5c1a0c
cmp byte [rdi + 0x136a], 0
jne 0x7ff66b5c1a0c
cmp dword [r14 + 0x60], 0x1a0
mov rbx, rcx
jne 0x7ff66b5c1a0c
mov byte [r14 + 0xdd], 1
movzx eax, byte [rbx]
cmp al, 0xa
jne 0x7ff66b5c1a31
lea rdx, [0x7ff66b60f240]
mov rcx, rdi
call fcn.7ff66b5a5180
mov edx, 1
mov rcx, r12
call fcn.7ff66b5a66c0
jmp 0x7ff66b5c1a51
cmp al, 0x14
je 0x7ff66b5c1a43
cmp dword [r14 + 0x7c], 2
jne 0x7ff66b5c1a51
cmp dword [r14 + 0x60], 0x65
jne 0x7ff66b5c1a51
mov rax, qword [r12 + 0x6d0]
mov dword [rax], 2
mov ecx, dword [r14 + 0x60]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [r14 + 0xde], al
sub ecx, 0xcc
je 0x7ff66b5c1a82
cmp ecx, 0x64
jne 0x7ff66b5c1a93
cmp byte [rdi + 0x530], 0
je 0x7ff66b5c1a82
mov byte [rdi + 0x146c], 1
xor eax, eax
mov byte [r14 + 0xde], 1
mov qword [r14], rax
mov qword [r14 + 8], rax
mov ebp, 0xc
lea rbx, [rdi + 0xca0]
mov rcx, rsi
call fcn.7ff66b5826c0
mov rcx, rbx
mov rsi, rax
call fcn.7ff66b58fe10
mov r8, rax
xor edx, edx
mov rcx, rsi
mov rbx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x7ff66b5c23de
mov edx, dword [rdi + 0x138]
cmp edx, 2
jl 0x7ff66b5c1b01
movzx ecx, byte [rsi]
cmp cl, 0x20
je 0x7ff66b5c1ae3
cmp cl, 9
jne 0x7ff66b5c1ae8
cmp edx, 2
jg 0x7ff66b5c1b01
mov r8, rbx
mov edx, 0x3a
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x7ff66b5c23c3
mov r8, r15
mov rdx, r12
mov rcx, rdi
call fcn.7ff66b5c0500
test eax, eax
jne 0x7ff66b5c2302
mov eax, dword [r14 + 0x60]
sub eax, 0x64
cmp eax, 0x64
jae 0x7ff66b5c1b26
or ebp, 0x20
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fe10
mov r9, rax
mov r8, r15
mov edx, 1
mov rcx, rdi
call fcn.7ff66b5a4fa0
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fe10
mov r9, rax
mov r8, r15
mov edx, ebp
mov rcx, rdi
call fcn.7ff66b5a55f0
test eax, eax
jne 0x7ff66b5c2302
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fe10
mov r8d, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp rax, r9
jae 0x7ff66b5c1bc3
mov edx, dword [rdi + 0x13d8]
lea ecx, [rax + r8]
add dword [rdi + 0x128], eax
add edx, eax
mov dword [rdi + 0x13d8], edx
mov dword [rdi + 0x12c], ecx
cmp ecx, r9d
ja 0x7ff66b5c1bbe
cmp edx, 0x5dc000
jbe 0x7ff66b5c229f
mov r9d, 0x5dc000
mov ecx, edx
mov r8d, ecx
jmp 0x7ff66b5c1bc6
add r8, rax
test r8, r8
je 0x7ff66b5c229f
lea rdx, [0x7ff66b60f298]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 0x38
jmp 0x7ff66b5c2302
mov ecx, dword [r14 + 0x60]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x7ff66b5c1c53
sub ecx, 0x64
je 0x7ff66b5c1c27
cmp ecx, 1
je 0x7ff66b5c1c0f
mov byte [r14 + 0xda], 1
mov dword [r14 + 0x48], ebp
jmp 0x7ff66b5c1ccd
cmp dword [r14 + 0x7c], 2
je 0x7ff66b5c23f9
mov byte [r14 + 0xda], 0
jmp 0x7ff66b5c1ccd
cmp dword [r14 + 0x78], 0
mov byte [r14 + 0xda], 1
mov dword [r14 + 0x48], ebp
jle 0x7ff66b5c1ccd
or dword [r14 + 0x64], 2
xor edx, edx
mov rcx, rdi
mov dword [r14 + 0x78], ebp
call fcn.7ff66b59e4c0
jmp 0x7ff66b5c1ccd
cmp dword [r14 + 0x7c], 2
jne 0x7ff66b5c1c66
mov rcx, qword [rdi + 0xd8]
call fcn.7ff66b59e610
cmp qword [r14], 0xffffffffffffffff
mov byte [r14 + 0xda], 0
jne 0x7ff66b5c1ccd
cmp byte [r14 + 0xdf], 0
jne 0x7ff66b5c1ccd
cmp byte [r12 + 0x2ce], 0
jne 0x7ff66b5c1ccd
cmp byte [r12 + 0x70d], 0xb
jne 0x7ff66b5c1ccd
mov rax, qword [r12 + 0x2e8]
test dword [rax + 0x84], 0x40000
jne 0x7ff66b5c1ccd
cmp byte [rdi + 0x136a], 5
je 0x7ff66b5c1ccd
lea rdx, [0x7ff66b60f310]
mov rcx, rdi
call fcn.7ff66b5a5180
mov edx, 2
mov rcx, r12
call fcn.7ff66b5a66c0
cmp byte [r14 + 0xda], 0
jne 0x7ff66b5c1d28
cmp byte [rdi + 0x1d0], 0
jne 0x7ff66b5c1d19
cmp byte [r14 + 0xdf], 0
jne 0x7ff66b5c1d19
mov rdx, qword [r14]
cmp rdx, 0xffffffffffffffff
je 0x7ff66b5c1d28
mov rax, qword [rdi + 0x6f0]
test rax, rax
je 0x7ff66b5c1d08
cmp rdx, rax
jg 0x7ff66b5c2426
mov rcx, rdi
call fcn.7ff66b5cd0b0
mov rax, qword [r14]
mov qword [r14 + 8], rax
jmp 0x7ff66b5c1d28
mov qword [r14 + 8], 0xffffffffffffffff
mov qword [r14], 0xffffffffffffffff
cmp byte [r12 + 0x2ce], 0
je 0x7ff66b5c1dc6
mov eax, dword [rdi + 0x150]
cmp eax, 0x191
jne 0x7ff66b5c1d51
cmp dword [r12 + 0x3b0], 2
je 0x7ff66b5c1d63
jmp 0x7ff66b5c1d79
cmp eax, 0x197
jne 0x7ff66b5c1d79
cmp dword [r12 + 0x3b4], 2
jne 0x7ff66b5c1d79
lea rdx, [0x7ff66b60f348]
mov rcx, rdi
call fcn.7ff66b5a5180
mov byte [rdi + 0x1371], 1
cmp byte [r12 + 0x2ce], 0
je 0x7ff66b5c1dc6
mov eax, dword [rdi + 0x150]
cmp eax, 0x191
jne 0x7ff66b5c1d9e
cmp dword [r12 + 0x4a8], 1
je 0x7ff66b5c1db0
jmp 0x7ff66b5c1dc6
cmp eax, 0x197
jne 0x7ff66b5c1dc6
cmp dword [r12 + 0x4ac], 1
jne 0x7ff66b5c1dc6
lea rdx, [0x7ff66b60f348]
mov rcx, rdi
call fcn.7ff66b5a5180
mov byte [rdi + 0x1371], 1
cmp dword [r12 + 0x4a8], 3
jne 0x7ff66b5c1de9
cmp dword [rdi + 0x150], 0x191
je 0x7ff66b5c1de9
mov dword [r12 + 0x4a8], 4
cmp dword [r12 + 0x4ac], 3
jne 0x7ff66b5c1e0c
cmp dword [rdi + 0x150], 0x197
je 0x7ff66b5c1e0c
mov dword [r12 + 0x4ac], 4
mov eax, dword [r14 + 0x60]
mov ebx, 4
sub eax, 0x64
mov rcx, rsi
cmp eax, 0x64
mov eax, 0x24
cmovb ebx, eax
call fcn.7ff66b58fe10
mov rcx, rsi
mov r12, rax
call fcn.7ff66b5826c0
mov r8, rax
mov r9, r12
mov edx, ebx
mov rcx, rdi
call fcn.7ff66b5a55f0
test eax, eax
jne 0x7ff66b5c2302
mov ecx, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp r12, r9
jae 0x7ff66b5c1e9d
mov r8d, dword [rdi + 0x13d8]
lea edx, [r12 + rcx]
add dword [rdi + 0x128], r12d
add r8d, r12d
mov dword [rdi + 0x13d8], r8d
mov dword [rdi + 0x12c], edx
cmp edx, r9d
ja 0x7ff66b5c1e98
cmp r8d, 0x5dc000
jbe 0x7ff66b5c1eaa
mov r9d, 0x5dc000
mov edx, r8d
mov r8d, edx
jmp 0x7ff66b5c1ea1
lea r8, [r12 + rcx]
test r8, r8
jne 0x7ff66b5c1bcf
mov r8d, dword [r14 + 0x60]
mov rcx, rdi
call fcn.7ff66b5c2d90
test al, al
jne 0x7ff66b5c24b9
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x7ff66b5c1ecf
mov eax, dword [rdi + 0x128]
jmp 0x7ff66b5c1ed1
mov eax, ebp
mov edx, dword [rdi + 0x150]
xor bpl, bpl
mov rsi, qword [rdi + 0x20]
xor r15b, r15b
mov dword [rdi + 0x130], eax
xor ebx, ebx
mov rcx, qword [rdi + 0x920]
mov eax, 0xffffffff
test rcx, rcx
mov r9d, 0xffffffbf
cmovne r9d, eax
lea eax, [rdx - 0x64]
cmp eax, 0x63
jbe 0x7ff66b5c20ef
lea r8, [rdi + 0x1371]
cmp byte [r8], bl
je 0x7ff66b5c1f2d
movzx eax, byte [rdi + 0xaae]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x7ff66b5c20e7
mov rax, r8
cmp qword [rdi + 0x1348], rbx
jne 0x7ff66b5c1f45
test rcx, rcx
je 0x7ff66b5c1faf
lea rax, [rdi + 0x1371]
cmp edx, 0x191
je 0x7ff66b5c1f60
cmp byte [rsi + 0x2d8], bl
je 0x7ff66b5c1faf
mov r8, rax
cmp edx, 0x12c
jge 0x7ff66b5c1faf
lea rcx, [rdi + 0xde8]
mov edx, r9d
call fcn.7ff66b5c31b0
movzx ebp, al
test al, al
jne 0x7ff66b5c1f7a
mov byte [r8], 1
cmp dword [rdi + 0xdec], 8
jne 0x7ff66b5c1faf
cmp byte [rsi + 0x70d], 0xb
jbe 0x7ff66b5c1faf
lea rdx, [0x7ff66b60e8d8]
mov rcx, rdi
call fcn.7ff66b5a5180
mov edx, 1
mov rcx, rsi
call fcn.7ff66b5a66c0
mov byte [rdi + 0x1368], 2
cmp byte [rsi + 0x2ca], bl
je 0x7ff66b5c1ff3
mov eax, dword [rdi + 0x150]
cmp eax, 0x197
je 0x7ff66b5c1fd3
cmp byte [rsi + 0x2d8], bl
je 0x7ff66b5c1ff3
cmp eax, 0x12c
jge 0x7ff66b5c1ff3
lea rcx, [rdi + 0xdf8]
mov edx, 0xffffffbf
call fcn.7ff66b5c31b0
movzx r15d, al
test al, al
jne 0x7ff66b5c1ff3
mov byte [rdi + 0x1371], 1
test bpl, bpl
jne 0x7ff66b5c2062
test r15b, r15b
jne 0x7ff66b5c2062
cmp dword [rdi + 0x150], 0x12c
jge 0x7ff66b5c20c3
cmp byte [rdi + 0xdf4], bl
jne 0x7ff66b5c20c3
cmp byte [rsi + 0x2d8], bl
je 0x7ff66b5c20c3
movzx eax, byte [rdi + 0x136a]
test al, al
je 0x7ff66b5c20c3
cmp al, 5
je 0x7ff66b5c20c3
mov rcx, qword [rdi + 0x1218]
call qword [case.0x7ff66b598400.1]
mov qword [rdi + 0x190], rax
test rax, rax
je 0x7ff66b5c243f
mov byte [rdi + 0xdf4], 1
jmp 0x7ff66b5c20c3
movzx eax, byte [rdi + 0x136a]
test al, al
je 0x7ff66b5c208e
cmp al, 5
je 0x7ff66b5c208e
cmp byte [rdi + 0x137f], bl
jne 0x7ff66b5c208e
mov rdx, rsi
mov rcx, rdi
call fcn.7ff66b5c2b90
mov ebx, eax
test eax, eax
jne 0x7ff66b5c2444
mov rcx, qword [rdi + 0x190]
call qword [fcn.7ff66b6015f4]
mov rcx, qword [rdi + 0x1218]
mov qword [rdi + 0x190], 0
call qword [case.0x7ff66b598400.1]
mov qword [rdi + 0x190], rax
test rax, rax
je 0x7ff66b5c243f
mov rcx, rdi
call fcn.7ff66b5c2d90
test al, al
je 0x7ff66b5c20e7
mov r8d, dword [rdi + 0x150]
lea rdx, [0x7ff66b60e8f8]
call fcn.7ff66b5a5090
mov ebx, 0x16
test ebx, ebx
jne 0x7ff66b5c2444
cmp dword [r14 + 0x60], 0x12c
mov rbx, qword [rsp + 0x88]
jl 0x7ff66b5c2289
cmp byte [rbx + 0x2d8], 0
jne 0x7ff66b5c2262
cmp byte [rbx + 0x2ce], 0
jne 0x7ff66b5c2262
cmp byte [rdi + 0x137f], 0
jne 0x7ff66b5c226b
movzx ecx, byte [rdi + 0x136a]
sub ecx, 1
je 0x7ff66b5c214b
sub ecx, 1
je 0x7ff66b5c214b
sub ecx, 1
je 0x7ff66b5c214b
cmp ecx, 1
jne 0x7ff66b5c2262
xor edx, edx
mov rcx, rdi
call fcn.7ff66b59e4c0
cmp byte [r14 + 0xdc], 0
jne 0x7ff66b5c2262
cmp dword [r14 + 0x60], 0x1a1
jne 0x7ff66b5c21f0
cmp byte [rdi + 0x1373], 0
je 0x7ff66b5c21f0
cmp qword [r14 + 0x18], 0
jne 0x7ff66b5c2199
cmp dword [r14 + 0x78], 1
jne 0x7ff66b5c2199
lea rdx, [0x7ff66b60f380]
mov rcx, rdi
call fcn.7ff66b5a5180
jmp 0x7ff66b5c21c8
lea rdx, [0x7ff66b60f3b0]
mov rcx, rdi
call fcn.7ff66b5a5180
mov edx, 2
mov rcx, rbx
call fcn.7ff66b5a66c0
mov rdx, rbx
mov rcx, rdi
call fcn.7ff66b5c2b90
test eax, eax
jne 0x7ff66b5c2302
mov rcx, qword [rdi + 0x1218]
mov byte [rdi + 0x1374], 1
call qword [case.0x7ff66b598400.1]
mov rdx, r14
mov rcx, rdi
mov qword [rdi + 0x190], rax
call fcn.7ff66b5cad50
jmp 0x7ff66b5c2262
cmp byte [rdi + 0xaaf], 0
mov rcx, rdi
je 0x7ff66b5c221e
lea rdx, [0x7ff66b60f3d8]
call fcn.7ff66b5a5180
cmp dword [r14 + 0x78], 0
jle 0x7ff66b5c2262
or dword [r14 + 0x64], 2
mov dword [r14 + 0x78], 0
jmp 0x7ff66b5c2262
lea rdx, [0x7ff66b60f408]
call fcn.7ff66b5a5180
mov edx, 2
mov rcx, rbx
call fcn.7ff66b5a66c0
mov rdx, r14
mov rcx, rdi
call fcn.7ff66b5cad50
test eax, eax
jne 0x7ff66b5c2302
mov byte [r14 + 0xdc], 1
cmp byte [rdi + 0x1373], al
je 0x7ff66b5c2262
mov dword [r14 + 0x78], 3
cmp byte [rdi + 0x137f], 0
je 0x7ff66b5c2289
cmp qword [rbx + 0x310], 0xffffffffffffffff
je 0x7ff66b5c2289
lea rdx, [0x7ff66b60f438]
mov rcx, rdi
call fcn.7ff66b5a5180
or dword [r14 + 0x64], 2
cmp byte [r14 + 0xda], 0
je 0x7ff66b5c244b
mov r12, qword [rsp + 0x88]
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fe20
mov rbx, qword [r14 + 0x50]
cmp byte [rbx], 0
je 0x7ff66b5c2300
mov r15, qword [rsp + 0x90]
mov r13, rbx
mov rcx, rbx
mov rsi, qword [r15]
mov rbp, rsi
mov r8, rsi
jmp 0x7ff66b5c15c2
mov edx, 2
mov rcx, r12
call fcn.7ff66b5a66c0
cmp byte [rdi + 0xad1], 0
je 0x7ff66b5c2548
mov byte [r14 + 0xda], 0
cmp qword [r15], 0
je 0x7ff66b5c2313
mov dword [r14 + 0x44], 1
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov dword [r14 + 0x44], 2
mov qword [r15], rax
mov rax, qword [rsp + 0x20]
mov qword [r14 + 0x50], rax
jmp 0x7ff66b5c2300
lea rdx, [0x7ff66b60f490]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 1
jmp 0x7ff66b5c2302
mov eax, 0x66666667
mov rcx, rdi
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov r8d, edx
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [0x7ff66b60f4e8]
sub r9d, eax
call fcn.7ff66b5a5090
mov eax, 1
jmp 0x7ff66b5c2302
lea rdx, [0x7ff66b60f4b8]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 1
jmp 0x7ff66b5c2302
lea rdx, [0x7ff66b60f460]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 1
jmp 0x7ff66b5c2302
mov eax, 8
jmp 0x7ff66b5c2302
mov byte [r14 + 0xda], 0
jmp 0x7ff66b5c2300
lea rdx, [0x7ff66b60f280]
mov rcx, rdi
mov ebx, 8
call fcn.7ff66b5a5090
mov eax, ebx
jmp 0x7ff66b5c2302
lea rdx, [0x7ff66b60f268]
mov rcx, rdi
mov ebx, 8
call fcn.7ff66b5a5090
mov eax, ebx
jmp 0x7ff66b5c2302
lea rdx, [0x7ff66b60f2e8]
mov rcx, rdi
call fcn.7ff66b5a5180
mov eax, 1
mov dword [r14 + 0x7c], 3
mov byte [r14 + 0xda], 1
mov dword [r14 + 0x48], ebp
jmp 0x7ff66b5c2302
lea rdx, [0x7ff66b609c88]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 0x3f
jmp 0x7ff66b5c2302
mov ebx, 0x1b
mov eax, ebx
jmp 0x7ff66b5c2302
cmp byte [rdi + 0x1d4], 0
jne 0x7ff66b5c2476
mov rax, qword [rbx + 0x2e8]
test dword [rax + 0x84], 0x40000
je 0x7ff66b5c2483
cmp dword [rdi + 0x9f8], 2
jne 0x7ff66b5c2483
cmp qword [r14], 0xffffffffffffffff
jg 0x7ff66b5c2483
mov rax, qword [rsp + 0x98]
mov byte [rax], 1
jmp 0x7ff66b5c248b
mov rax, qword [rsp + 0x98]
cmp qword [r14 + 8], 0
jne 0x7ff66b5c2497
mov byte [rax], 1
jmp 0x7ff66b5c249c
cmp byte [rax], 0
je 0x7ff66b5c24a1
and dword [r14 + 0x64], 0xfffffffe
mov r9, r12
mov r8, r13
mov edx, 1
mov rcx, rdi
call fcn.7ff66b5a4fa0
jmp 0x7ff66b5c2300
lea rdx, [0x7ff66b60e8f8]
call fcn.7ff66b5a5090
mov eax, 0x16
jmp 0x7ff66b5c2302
mov r8, rbp
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fdb0
test eax, eax
jne 0x7ff66b5c2302
cmp dword [r14 + 0x48], eax
jne 0x7ff66b5c2300
lea rcx, [rdi + 0xca0]
call fcn.7ff66b58fe10
lea rcx, [rdi + 0xca0]
mov rbx, rax
call fcn.7ff66b5826c0
mov r8, rax
mov r9, rbx
mov rdx, r12
mov rcx, rdi
call fcn.7ff66b5c2a20
cmp eax, 2
jne 0x7ff66b5c2300
mov edx, eax
mov byte [r14 + 0xda], 0
mov rcx, r12
mov dword [r14 + 0x44], eax
call fcn.7ff66b5a66c0
cmp byte [rdi + 0xad1], 0
jne 0x7ff66b5c2300
lea rdx, [0x7ff66b60f2c0]
mov rcx, rdi
call fcn.7ff66b5a5090
mov eax, 1
jmp 0x7ff66b5c2302