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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe8
mov rsi, rcx
movaps xmmword [rax - 0x58], xmm6
xor ecx, ecx
movaps xmmword [rax - 0x68], xmm7
xor r13d, r13d
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov qword [rsp + 0x40], r13
test byte [rsi + 0x1d], 2
mov r10, r8
mov r11, rdx
je 0x140016076
mov r13, qword [r10]
add r10, 8
mov qword [rsp + 0x40], r13
mov qword [rbp + 0x77], r10
mov byte [rsp + 0x20], 1
jmp 0x14001607a
mov byte [rsp + 0x20], cl
movsx eax, byte [rdx]
test eax, eax
je 0x140017216
movsd xmm7, qword [0x140127cb0]
mov edx, 0x2d
cmp eax, 0x25
je 0x1400160d4
mov r15, r11
inc r11
mov al, byte [r11]
test al, al
je 0x1400160a8
cmp al, 0x25
jne 0x14001609a
mov r8d, r11d
mov qword [rbp + 0x6f], r11
sub r8d, r15d
mov rdx, r15
mov rcx, rsi
call fcn.1400173e4
mov r11, qword [rbp + 0x6f]
cmp byte [r11], 0
je 0x140017216
mov r10, qword [rbp + 0x77]
mov edx, 0x2d
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
test ecx, ecx
je 0x140017201
and dword [rsp + 0x28], 0
xor sil, sil
xor r12b, r12b
mov byte [rsp + 0x30], 0
xor r14b, r14b
mov byte [rsp + 0x21], sil
xor bl, bl
mov byte [rsp + 0x23], sil
or edi, 0xffffffff
mov byte [rbp + 0x7f], sil
mov qword [rsp + 0x38], rdi
cmp ecx, 0x2c
jg 0x140016208
je 0x140016200
mov edx, ecx
sub edx, 0x20
je 0x1400161f8
sub edx, 1
je 0x1400161eb
sub edx, 2
je 0x1400161e1
sub edx, 7
je 0x140016154
cmp edx, 1
jne 0x140016383
mov r14b, reloc.ODBC32.dll_SQLGetData
jmp 0x140016346
cmp byte [rsp + 0x20], 0
je 0x140016194
movsxd rdx, dword [r13 + 4]
cmp dword [r13], edx
jg 0x14001616e
xor edx, edx
mov qword [rsp + 0x28], rdx
jmp 0x14001618e
mov rax, qword [r13 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r13 + 4], eax
call fcn.14002fe18
mov r11, qword [rbp + 0x6f]
mov rdx, rax
mov qword [rsp + 0x28], rax
mov r10, qword [rbp + 0x77]
jmp 0x1400161a4
mov edx, dword [r10]
add r10, 8
mov qword [rsp + 0x28], rdx
mov qword [rbp + 0x77], r10
test edx, edx
jns 0x1400161bf
xor eax, eax
mov byte [rbp + 0x7f], 1
mov ecx, edx
neg ecx
cmp edx, 0x80000001
cmovge eax, ecx
mov dword [rsp + 0x28], eax
lea rax, [r11 + 1]
cmp byte [rax], 0x2e
je 0x140016346
cmp byte [rax], 0x6c
je 0x140016346
movsx ecx, byte [rax]
mov qword [rbp + 0x6f], rax
jmp 0x140016383
mov byte [rsp + 0x23], 1
jmp 0x140016346
mov sil, 1
mov byte [rsp + 0x21], sil
jmp 0x140016346
mov r14b, 0x20
jmp 0x140016346
mov r12b, 0x2c
jmp 0x140016346
cmp ecx, edx
je 0x140016342
cmp ecx, 0x2e
je 0x140016282
cmp ecx, 0x30
je 0x140016278
jle 0x140016383
cmp ecx, 0x39
jg 0x14001635f
inc r11
lea edx, [rcx - 0x30]
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x30
jl 0x14001625a
cmp ecx, 0x39
jg 0x140016256
lea edx, [rdx + rdx*4]
inc r11
lea edx, [rdx - 0x18]
lea edx, [rcx + rdx*2]
movsx ecx, byte [r11]
cmp ecx, 0x30
jge 0x14001623c
mov qword [rbp + 0x6f], r11
btr edx, 0x1f
mov dword [rsp + 0x28], edx
cmp ecx, 0x2e
je 0x140016270
cmp ecx, 0x6c
jne 0x140016383
dec r11
jmp 0x140016346
mov byte [rsp + 0x30], 1
jmp 0x140016346
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x2a
jne 0x14001630d
cmp byte [rsp + 0x20], 0
je 0x1400162d2
movsxd rdx, dword [r13 + 4]
cmp dword [r13], edx
jg 0x1400162ac
xor edi, edi
mov qword [rsp + 0x38], rdi
jmp 0x1400162cc
mov rax, qword [r13 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r13 + 4], eax
call fcn.14002fe18
mov r11, qword [rbp + 0x6f]
mov rdi, rax
mov qword [rsp + 0x38], rax
mov r10, qword [rbp + 0x77]
jmp 0x1400162e2
mov edi, dword [r10]
add r10, 8
mov qword [rsp + 0x38], rdi
mov qword [rbp + 0x77], r10
test edi, edi
jns 0x1400162fd
mov ecx, edi
or eax, 0xffffffff
neg ecx
cmp edi, 0x80000001
cmovge eax, ecx
mov edi, eax
mov qword [rsp + 0x38], rdi
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
jmp 0x140016267
xor edx, edx
cmp ecx, 0x30
jl 0x140016332
cmp ecx, 0x39
jg 0x14001632e
lea edx, [rdx + rdx*4]
inc r11
lea edx, [rdx - 0x18]
lea edx, [rcx + rdx*2]
movsx ecx, byte [r11]
cmp ecx, 0x30
jge 0x140016314
mov qword [rbp + 0x6f], r11
btr edx, 0x1f
mov edi, edx
mov qword [rsp + 0x38], rdi
jmp 0x140016267
mov byte [rbp + 0x7f], 1
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
test ecx, ecx
je 0x140016383
mov edx, 0x2d
jmp 0x140016112
cmp ecx, 0x6c
jne 0x140016383
inc r11
mov bl, 1
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x6c
jne 0x140016383
inc r11
mov bl, 2
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
lea rax, [0x1400f3dd0]
xor r8d, r8d
mov r13b, 0x11
mov qword [rbp - 0x69], rax
mov r9, rax
mov byte [rsp + 0x22], r13b
mov rdx, rax
lea r11d, [r8 + 1]
movsx eax, byte [rdx]
cmp ecx, eax
je 0x1400163bf
add r8, r11
lea rax, [0x1400f3e5a]
add rdx, 6
cmp rdx, rax
jl 0x1400163a3
jmp 0x1400163db
lea rax, [r8 + r8*2]
lea rcx, [0x1400f3dd0]
lea r9, [rcx + rax*2]
mov r13b, byte [r9 + 3]
mov byte [rsp + 0x22], r13b
mov qword [rbp - 0x69], r9
movzx ecx, r13b
cmp ecx, 0xa
ja 0x140016c57
cmp ecx, 9
jae 0x140016c8e
test r13b, r13b
je 0x140016e2e
mov ebx, 3
cmp ecx, ebx
jbe 0x14001677c
cmp ecx, 4
je 0x14001674c
jbe 0x140017216
lea eax, [rbx + 3]
cmp ecx, eax
jbe 0x140016615
cmp ecx, 7
je 0x1400165b1
cmp ecx, 8
jne 0x140017216
cmp byte [rsp + 0x20], 0
je 0x1400164cf
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x140016450
xor ecx, ecx
jmp 0x14001646d
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.140034dd8
mov rcx, rax
mov r11d, 1
mov ebx, r11d
mov rdx, r11
mov qword [rsp + 0x38], rbx
test rcx, rcx
je 0x1400164c6
mov al, byte [rcx]
mov r9d, 0xc0
mov byte [rbp - 0x59], al
add rcx, r11
and eax, r9d
cmp al, r9b
jne 0x14001655d
mov r8b, byte [rcx]
mov al, r8b
and al, r9b
cmp al, 0x80
jne 0x14001655d
add ebx, r11d
mov byte [rbp + rdx - 0x59], r8b
add rdx, r11
mov qword [rsp + 0x38], rbx
add rcx, r11
cmp rdx, 4
jl 0x140016497
jmp 0x14001655d
mov byte [rbp - 0x59], 0
jmp 0x14001655d
mov eax, dword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
cmp eax, 0x80
jae 0x1400164e6
mov ebx, r11d
jmp 0x140016555
mov r8b, al
mov r9b, 0x3f
and r8b, r9b
mov r10b, 0x80
mov ecx, eax
add r8b, r10b
shr ecx, 6
cmp eax, 0x800
jae 0x140016515
and cl, 0x1f
mov byte [rbp - 0x58], r8b
sub cl, 0x40
mov ebx, 2
mov byte [rbp - 0x59], cl
jmp 0x140016558
and cl, r9b
mov edx, eax
shr edx, 0xc
add cl, r10b
cmp eax, 0x10000
jae 0x140016539
and dl, 0xf
mov byte [rbp - 0x58], cl
sub dl, 0x20
mov byte [rbp - 0x57], r8b
mov byte [rbp - 0x59], dl
jmp 0x140016558
shr eax, 0x12
and dl, r9b
and al, 7
mov byte [rbp - 0x57], cl
sub al, 0x10
mov byte [rbp - 0x56], r8b
add dl, r10b
mov ebx, 4
mov byte [rbp - 0x58], dl
mov byte [rbp - 0x59], al
mov qword [rsp + 0x38], rbx
cmp edi, r11d
jle 0x1400165a8
mov rcx, qword [rsp + 0x28]
mov r15, qword [rbp + 0x67]
sub ecx, edi
mov edx, ecx
inc ecx
mov qword [rsp + 0x28], rcx
cmp ecx, r11d
jle 0x140016591
cmp byte [rbp + 0x7f], 0
jne 0x140016591
mov r8b, 0x20
mov rcx, r15
call fcn.140017348
and dword [rsp + 0x28], 0
dec edi
mov r8d, ebx
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.1400173e4
sub rdi, 1
jne 0x140016593
lea r15, [rbp - 0x59]
jmp 0x140016de8
mov byte [rbp - 0x59], 0x25
mov ebx, r11d
lea r15, [rbp - 0x59]
mov rdi, qword [rsp + 0x28]
mov r14b, byte [rbp + 0x7f]
mov rsi, qword [rbp + 0x67]
sub edi, ebx
mov qword [rsp + 0x28], rdi
test edi, edi
jle 0x1400171ba
test r14b, r14b
jne 0x1400165ea
mov r8b, 0x20
mov edx, edi
mov rcx, rsi
call fcn.140017348
mov r8d, ebx
mov rdx, r15
mov rcx, rsi
call fcn.1400173e4
test r14b, r14b
je 0x1400171c8
mov edx, dword [rsp + 0x28]
mov r8b, 0x20
mov rcx, rsi
call fcn.140017348
jmp 0x1400171c8
cmp byte [rsp + 0x20], 0
je 0x140016650
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x14001662f
xor r15d, r15d
jmp 0x14001664b
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.140034dd8
mov r15, rax
mov eax, 6
mov r13b, 5
jmp 0x14001665b
mov r15, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
test r15, r15
jne 0x140016669
lea r15, [0x14010259c]
jmp 0x1400166ca
cmp r13b, al
jne 0x1400166ca
mov rax, qword [rbp + 0x67]
cmp dword [rax + 0x18], 0
jne 0x1400166c2
cmp dword [rax + 0x14], 0
je 0x1400166c2
cmp dword [rsp + 0x28], 0
jne 0x1400166c2
test edi, edi
jns 0x1400166c2
cmp byte [rax + 0x1c], 0
jne 0x1400166c2
mov rcx, qword [rax]
mov rdx, r15
mov rsi, rax
mov qword [rax + 8], r15
call fcn.1400158fc
mov dword [rsi + 0x10], eax
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x1400166a8
btr eax, 0x1f
or byte [rsi + 0x1d], 4
mov dword [rsi + 0x18], eax
jmp 0x14001676c
mov rax, r15
mov qword [rsp + 0x48], rax
test edi, edi
js 0x140016738
test sil, sil
je 0x140016705
mov rbx, r15
jmp 0x1400166f4
mov al, byte [rbx]
dec edi
test al, al
je 0x1400166f8
inc rbx
cmp al, 0xc0
jb 0x1400166f4
jmp 0x1400166ec
inc rbx
mov al, byte [rbx]
and al, 0xc0
cmp al, 0x80
je 0x1400166e9
test edi, edi
jg 0x1400166d8
sub ebx, r15d
mov r12b, byte [rsp + 0x21]
jmp 0x140016dda
xor ebx, ebx
movsxd rcx, edi
xor eax, eax
test edi, edi
jle 0x1400165bc
cmp byte [rax + r15], 0
je 0x1400165bc
inc ebx
inc rax
mov qword [rsp + 0x38], rbx
cmp rax, rcx
jl 0x140016714
mov r12b, byte [rsp + 0x21]
jmp 0x140016ddf
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x14001673c
btr ebx, 0x1f
jmp 0x1400166fb
cmp byte [rsp + 0x20], 0
mov rsi, qword [rbp + 0x67]
jne 0x140016767
mov rcx, qword [r10]
add r10, 8
mov eax, dword [rsi + 0x18]
mov qword [rbp + 0x77], r10
mov dword [rcx], eax
and dword [rsp + 0x28], 0
mov rdi, qword [rsp + 0x28]
xor ebx, ebx
mov r14b, byte [rbp + 0x7f]
jmp 0x1400165c9
cmp byte [rsp + 0x20], 0
je 0x1400167af
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x140016796
xorps xmm6, xmm6
jmp 0x1400167bc
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.14002fe70
movaps xmm6, xmm0
jmp 0x1400167bc
movsd xmm6, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
test edi, edi
movzx r9d, r14b
mov eax, 6
cmovs edi, eax
mov eax, 0x2d
comisd xmm6, xmmword [0x140127c30]
mov qword [rsp + 0x38], rdi
andps xmm6, xmmword [0x140127e60]
cmovb r9d, eax
mov dword [rbp - 0x79], r9d
cmp r13b, bl
jne 0x1400167fb
test edi, edi
jle 0x1400167fb
dec edi
mov qword [rsp + 0x38], rdi
mov eax, 0xcccccccd
mov r8d, edi
and r8d, 0xfff
mul r8d
mov eax, r8d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub eax, ecx
movsxd rcx, eax
lea rax, [0x140000000]
movsd xmm2, qword [rax + rcx*8 + 0xf4d00]
cmp r8d, 0xa
jb 0x140016843
mov eax, edx
mulsd xmm2, qword [0x140127c48]
sub rax, 1
jne 0x140016835
cmp r13b, 1
jne 0x14001688a
movsd qword [rbp - 0x71], xmm6
mov eax, 0x55555556
mov rcx, qword [rbp - 0x71]
shr rcx, 0x34
and ecx, 0x7ff
sub ecx, 0x3ff
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edi
cmp edx, 0xf
jge 0x140016886
movaps xmm0, xmm6
mulsd xmm0, qword [0x140127c40]
addsd xmm2, xmm0
addsd xmm6, xmm2
xor esi, esi
movsd qword [rbp - 0x71], xmm6
mov rax, qword [rbp - 0x71]
movabs rcx, 0xfffffffffffff
test rcx, rax
movabs rdx, 0x7ff0000000000000
setne cl
and rax, rdx
cmp rax, rdx
sete al
test al, cl
je 0x1400168c8
lea r15, [0x140102598]
jmp 0x1400165bc
comisd xmm6, xmmword [0x140127c30]
jbe 0x14001699a
comisd xmm6, xmmword [0x140127d48]
mov r12d, 0x15e
movsd xmm1, qword [0x140127ca0]
jb 0x14001690f
cmp esi, r12d
jg 0x14001690f
mulsd xmm1, qword [0x140127d48]
add esi, 0x64
movaps xmm0, xmm1
mulsd xmm0, qword [0x140127d48]
comisd xmm6, xmm0
jae 0x1400168ee
movaps xmm0, xmm1
jmp 0x14001691f
cmp esi, r12d
jg 0x14001692d
movaps xmm1, xmm0
add esi, 0xa
mulsd xmm0, qword [0x140127d18]
comisd xmm6, xmm0
jae 0x140016914
movaps xmm0, xmm1
jmp 0x14001693c
cmp esi, r12d
jg 0x140016946
movaps xmm1, xmm0
inc esi
mulsd xmm0, xmm7
comisd xmm6, xmm0
jae 0x140016932
divsd xmm6, xmm1
jmp 0x140016957
mulsd xmm6, qword [0x140127d00]
sub esi, 8
comisd xmm6, xmmword [0x140127c50]
jb 0x14001694c
jmp 0x140016969
mulsd xmm6, xmm7
dec esi
comisd xmm6, xmmword [0x140127ca0]
jb 0x140016963
cmp esi, r12d
jle 0x14001699a
xor eax, eax
mov byte [rbp - 0x59], r9b
test r9b, r9b
setne al
neg r9b
mov dword [rbp + rax - 0x59], 0x666e49
sbb eax, eax
neg eax
add ebx, eax
jmp 0x1400165b8
lea rdi, [rbp - 0x59]
cmp r13b, 1
je 0x1400169b8
addsd xmm6, xmm2
comisd xmm6, xmm7
jb 0x1400169b8
mulsd xmm6, qword [0x140127c88]
inc esi
mov rcx, qword [rsp + 0x38]
cmp r13b, bl
jne 0x1400169ea
cmp byte [rsp + 0x23], 0
sete r12b
cmp esi, 0xfffffffc
jl 0x1400169e0
cmp esi, ecx
jg 0x1400169e0
sub ecx, esi
mov r13b, 1
mov qword [rsp + 0x38], rcx
jmp 0x1400169e3
mov r13b, 2
mov byte [rsp + 0x22], r13b
jmp 0x1400169ef
mov r12b, byte [rsp + 0x21]
xor ebx, ebx
movsxd rdx, ecx
cmp r13b, 2
movsxd r13, dword [rsp + 0x28]
cmovne ebx, esi
xor eax, eax
test ebx, ebx
cmovg eax, ebx
add rdx, 0xf
cdqe
add rax, r13
add rdx, rax
cmp rdx, 0x46
jle 0x140016a3a
mov r15, qword [rbp + 0x67]
mov rcx, r15
call fcn.140015fa4
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
je 0x140017216
mov r9d, dword [rbp - 0x79]
movzx r8d, byte [rsp + 0x21]
mov rax, qword [rsp + 0x38]
test eax, eax
mov qword [rbp - 0x71], rdi
setg r15b
lea edx, [r8 + r8*4]
or r15b, r8b
lea r14d, [rdx*2 + 0x10]
or r15b, byte [rsp + 0x23]
test r9b, r9b
je 0x140016a6e
mov byte [rdi], r9b
inc rdi
test ebx, ebx
jns 0x140016a7a
mov byte [rdi], 0x30
inc rdi
jmp 0x140016aab
test r14d, r14d
jg 0x140016a83
mov al, 0x30
jmp 0x140016a9c
cvttsd2si eax, xmm6
dec r14d
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, xmm7
mov byte [rdi], al
inc rdi
sub ebx, 1
jns 0x140016a7a
mov rax, qword [rsp + 0x38]
test r15b, r15b
je 0x140016ab6
mov byte [rdi], 0x2e
inc rdi
add ebx, 1
jns 0x140016b12
neg ebx
mov dl, 0x30
mov r8d, ebx
mov rcx, rdi
call fcn.1400c1ef0
mov rax, qword [rsp + 0x38]
add rdi, rbx
mov r9d, dword [rbp - 0x79]
sub eax, ebx
mov r8b, byte [rsp + 0x21]
jmp 0x140016b12
dec eax
mov qword [rsp + 0x38], rax
test r14d, r14d
jg 0x140016aef
mov al, 0x30
jmp 0x140016b08
cvttsd2si eax, xmm6
dec r14d
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, xmm7
mov byte [rdi], al
inc rdi
mov rax, qword [rsp + 0x38]
test eax, eax
jg 0x140016adf
test r12b, r12b
je 0x140016b50
test r15b, r15b
je 0x140016b50
lea rax, [rdi - 1]
jmp 0x140016b2f
mov rdi, rax
mov byte [rax], 0
dec rax
cmp byte [rax], 0x30
je 0x140016b26
lea rax, [rdi - 1]
cmp byte [rax], 0x2e
jne 0x140016b50
test r8b, r8b
je 0x140016b4a
mov byte [rdi], 0x30
inc rdi
jmp 0x140016b50
mov rdi, rax
mov byte [rax], 0
cmp byte [rsp + 0x22], 2
jne 0x140016bdd
mov r11, qword [rbp - 0x69]
lea rcx, str.0123456789ABCDEF0123456789abcdef
movzx eax, byte [r11 + 4]
mov al, byte [rax + rcx]
mov byte [rdi], al
test esi, esi
jns 0x140016b84
mov eax, 0x2d
mov byte [rdi + 1], al
add rdi, 2
neg esi
jmp 0x140016b8c
mov byte [rdi + 1], reloc.ODBC32.dll_SQLGetData
add rdi, 2
cmp esi, 0x64
jl 0x140016baf
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + 0x30]
mov byte [rdi], al
inc rdi
imul eax, edx, 0xffffff9c
add esi, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + 0x30]
mov byte [rdi], al
mov al, dl
shl dl, 2
add al, dl
add al, al
sub sil, al
add sil, 0x30
mov byte [rdi + 1], sil
add rdi, 2
mov r15, qword [rbp - 0x71]
mov r14b, byte [rbp + 0x7f]
mov byte [rdi], 0
sub edi, r15d
cmp byte [rsp + 0x30], 0
mov ebx, edi
mov rdi, qword [rsp + 0x28]
je 0x1400165c5
test r14b, r14b
jne 0x1400165c5
cmp ebx, edi
jge 0x1400165c5
mov edx, edi
sub edx, ebx
movsxd r8, edx
cmp r13, r8
jl 0x140016c37
lea rcx, [r15 + r13]
sub r13, r8
inc r13
mov rax, rcx
sub rax, r8
mov al, byte [rax]
mov byte [rcx], al
dec rcx
sub r13, 1
jne 0x140016c24
test edx, edx
je 0x140016c50
xor ecx, ecx
mov r8d, edx
test r9b, r9b
mov dl, 0x30
setne cl
add rcx, r15
call fcn.1400c1ef0
mov ebx, edi
jmp 0x1400165c5
sub ecx, 0xb
je 0x14001717b
sub ecx, r11d
je 0x1400170e7
sub ecx, r11d
je 0x140016e2c
sub ecx, r11d
je 0x140016c8e
sub ecx, r11d
je 0x140016e2e
cmp ecx, r11d
jne 0x140017216
jmp 0x140016e31
mov eax, Ordinal_36
cmp r13b, 0xe
lea r14d, [rax + 5]
cmove r14d, eax
cmp byte [rsp + 0x20], 0
je 0x140016cd2
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x140016cb9
xor r9d, r9d
jmp 0x140016ce5
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.140034dd8
mov rbx, rax
jmp 0x140016cdd
mov rbx, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
mov r9, rbx
test rbx, rbx
jne 0x140016cfb
cmp r13b, 0xa
lea rax, str.NULL
lea rbx, [0x1401025a8]
cmove rbx, rax
mov r12b, byte [rsp + 0x21]
xor r8d, r8d
xor esi, esi
xor edx, edx
test edi, edi
je 0x140016d48
mov cl, byte [rdx + rbx]
test cl, cl
je 0x140016d48
cmp cl, r14b
lea eax, [r8 + 1]
cmovne eax, r8d
mov r8d, eax
test r12b, r12b
je 0x140016d3e
and cl, 0xc0
cmp cl, 0xc0
jne 0x140016d3e
jmp 0x140016d34
inc esi
inc rdx
mov al, byte [rbx + rdx + 1]
and al, 0xc0
cmp al, 0x80
je 0x140016d2f
inc esi
inc rdx
sub edi, 1
jne 0x140016d0b
test r9, r9
je 0x140016d5a
cmp r13b, 0xa
jne 0x140016d5a
mov edi, 1
jmp 0x140016d5c
xor edi, edi
lea eax, [rsi + 3]
add eax, r8d
cmp eax, 0x46
jle 0x140016d86
mov rcx, qword [rbp + 0x67]
movsxd rdx, eax
call fcn.140015fa4
mov qword [rsp + 0x48], rax
mov r15, rax
test rax, rax
je 0x140017216
jmp 0x140016d8a
lea r15, [rbp - 0x59]
xor ecx, ecx
xor eax, eax
test edi, edi
je 0x140016d9a
lea ecx, [rax + 1]
mov byte [r15], r14b
mov eax, ecx
xor edx, edx
movsxd r9, esi
test esi, esi
jle 0x140016dc6
mov r8b, byte [rdx + rbx]
inc ecx
mov byte [rax + r15], r8b
inc rax
cmp r8b, r14b
jne 0x140016dbe
inc ecx
mov byte [rax + r15], r8b
inc rax
inc rdx
cmp rdx, r9
jl 0x140016da3
test edi, edi
je 0x140016dd3
inc ecx
mov byte [rax + r15], r14b
inc rax
mov byte [rax + r15], 0
mov ebx, ecx
mov qword [rsp + 0x38], rbx
test r12b, r12b
je 0x1400165bc
mov rdi, qword [rsp + 0x28]
test edi, edi
jle 0x1400165c1
lea eax, [rbx - 1]
movsxd rdx, eax
test eax, eax
js 0x1400165c1
mov rbx, rdi
lea rax, [rdx + r15]
mov cl, byte [rax]
lea eax, [rbx + 1]
and cl, 0xc0
cmp cl, 0x80
cmovne eax, ebx
sub rdx, 1
mov ebx, eax
jns 0x140016e06
mov rbx, qword [rsp + 0x38]
mov edi, eax
jmp 0x1400165c1
mov bl, 2
xor r12b, r12b
test byte [r9 + 2], r11b
je 0x140016eaf
cmp byte [rsp + 0x20], 0
je 0x140016e6c
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x140016e53
xor ebx, ebx
jmp 0x140016f03
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.14002fe18
mov rbx, rax
jmp 0x140016e8b
add r10, 8
mov qword [rbp + 0x77], r10
test bl, bl
je 0x140016e83
cmp bl, 2
jne 0x140016e87
mov rbx, qword [r10 - 8]
jmp 0x140016e8b
mov qword [rbp + 0x77], r10
movsxd rbx, dword [r10 - 8]
test rbx, rbx
jns 0x140016f03
movabs rax, 0x8000000000000000
cmp rbx, rax
jne 0x140016ea4
mov rbx, rax
jmp 0x140016ea7
neg rbx
mov r14d, 0x2d
jmp 0x140016f03
cmp byte [rsp + 0x20], 0
je 0x140016ee1
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x140016ec8
xor ebx, ebx
jmp 0x140016f00
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.14002fe18
mov rbx, rax
jmp 0x140016f00
add r10, 8
mov qword [rbp + 0x77], r10
test bl, bl
je 0x140016ef8
cmp bl, 2
jne 0x140016efc
mov rbx, qword [r10 - 8]
jmp 0x140016f00
mov qword [rbp + 0x77], r10
mov ebx, dword [r10 - 8]
xor r14b, r14b
mov rax, rbx
neg rax
sbb sil, sil
and sil, byte [rsp + 0x23]
cmp byte [rsp + 0x30], 0
je 0x140016f30
mov ecx, dword [rsp + 0x28]
xor eax, eax
test r14b, r14b
setne al
sub ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov qword [rsp + 0x38], rdi
cmp edi, 0x25
jge 0x140016f40
mov edi, Ordinal_73
lea r10, [rbp - 0x59]
jmp 0x140016f81
movsxd rdi, edi
add rdi, 0xa
test r12b, r12b
je 0x140016f64
mov rcx, qword [rsp + 0x38]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cdqe
add rdi, rax
mov rcx, qword [rbp + 0x67]
mov rdx, rdi
call fcn.140015fa4
mov qword [rsp + 0x48], rax
mov r10, rax
test rax, rax
je 0x140017216
lea eax, [rdi - 1]
movsxd r15, eax
add r15, r10
cmp r13b, 0xf
jne 0x140016ffc
movabs r9, 0xcccccccccccccccd
mov r8d, ebx
mov rax, r9
mul rbx
mov rcx, rdx
shr rcx, 3
lea eax, [rcx + rcx*4]
add eax, eax
sub r8d, eax
cmp r8d, 4
jge 0x140016fd2
mov rax, r9
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
sub rcx, rax
cmp rcx, 1
jne 0x140016fd5
xor r8d, r8d
lea eax, [r8 + r8]
movsxd rcx, eax
lea rdx, [0x140000000]
mov al, byte [rcx + rdx + 0xf08c9]
mov cl, byte [rcx + rdx + 0xf08c8]
mov byte [r15 - 1], al
sub r15, 2
mov byte [r15], cl
mov r11, qword [rbp - 0x69]
lea rax, str.0123456789ABCDEF0123456789abcdef
movzx ecx, byte [r11 + 4]
movzx r8d, byte [r11 + 1]
add rcx, rax
xor edx, edx
mov rax, rbx
div r8
dec r15
mov rbx, rax
mov al, byte [rdx + rcx]
mov byte [r15], al
test rbx, rbx
jne 0x140017014
mov rax, qword [rsp + 0x38]
mov ecx, r10d
sub ecx, r15d
dec ecx
add ecx, edi
cmp ecx, eax
jge 0x140017051
sub eax, ecx
add ecx, eax
dec r15
mov byte [r15], 0x30
sub rax, 1
jne 0x140017044
test r12b, r12b
je 0x1400170a3
dec ecx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
sub r15, r8
lea eax, [rdx + rdx*2]
sub ecx, eax
xor edx, edx
lea r9d, [rcx + 1]
jmp 0x14001709e
lea rax, [rdx + r8]
mov cl, byte [rax + r15]
mov byte [rdx + r15], cl
sub r9d, 1
jne 0x14001709b
inc rdx
mov r9d, 3
dec r8
mov byte [rdx + r15], r12b
inc rdx
test r8, r8
jg 0x140017079
test r14b, r14b
je 0x1400170ae
dec r15
mov byte [r15], r14b
test sil, sil
je 0x1400170d9
mov al, byte [r11 + 5]
test al, al
je 0x1400170d9
movzx eax, al
lea rcx, [0x1400ed908]
add rax, rcx
jmp 0x1400170d3
dec r15
inc rax
mov byte [r15], cl
mov cl, byte [rax]
test cl, cl
jne 0x1400170ca
sub r10d, r15d
lea ebx, [rdi - 1]
add ebx, r10d
jmp 0x1400165bc
mov r14, qword [rbp + 0x67]
test byte [r14 + 0x1d], r11b
je 0x140017216
mov rdi, qword [r10]
lea rsi, [r10 + 0x10]
movsxd rax, dword [rsi - 8]
imul rbx, rax, 0x70
mov rdx, qword [rbx + rdi + 0x10]
test rdx, rdx
je 0x140017140
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x140017112
and eax, 0x3fffffff
mov rcx, r14
mov r8d, eax
call fcn.1400173e4
mov r8d, 1
lea rdx, [0x1401025b0]
mov rcx, r14
call fcn.1400173e4
mov rdx, qword [rbx + rdi + 0x18]
test rdx, rdx
jne 0x14001714e
xor eax, eax
jmp 0x140017160
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x140017152
and eax, 0x3fffffff
mov r8d, eax
mov rcx, r14
call fcn.1400173e4
and dword [rsp + 0x28], 0
xor ebx, ebx
mov qword [rbp + 0x77], rsi
jmp 0x1400165bc
mov rsi, qword [rbp + 0x67]
test byte [rsi + 0x1d], r11b
je 0x140017216
mov rdx, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
test rdx, rdx
je 0x140016767
mov r8d, dword [rdx + 8]
test r8d, r8d
je 0x140016767
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400173e4
jmp 0x140016767
mov r8d, ebx
mov rdx, r15
mov rcx, rsi
call fcn.1400173e4
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400171e4
mov rdx, rcx
mov rcx, qword [rsi]
call fcn.140015998
xor eax, eax
mov qword [rsp + 0x48], rax
mov r11, qword [rbp + 0x6f]
inc r11
movsx eax, byte [r11]
test eax, eax
je 0x140017216
mov r10, qword [rbp + 0x77]
mov r13, qword [rsp + 0x40]
jmp 0x14001608d
mov r8d, 1
lea rdx, [0x140102594]
mov rcx, rsi
call fcn.1400173e4
lea r11, [rsp + 0xe8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret