Function at 0x1800124c8
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 0x18001252a
mov r13, qword [r10]
add r10, 8
mov qword [rsp + 0x40], r13
mov qword [rbp + 0x77], r10
mov byte [rsp + 0x20], 1
jmp 0x18001252e
mov byte [rsp + 0x20], cl
movsx eax, byte [rdx]
test eax, eax
je 0x180013646
movsd xmm7, qword [0x1800f9d70]
mov edx, 0x2d
cmp eax, 0x25
je 0x18001259a
mov r15, r11
inc r11
mov al, byte [r11]
test al, al
je 0x18001255c
cmp al, 0x25
jne 0x18001254e
mov ecx, dword [rsi + 0x18]
mov r8d, r11d
sub r8d, r15d
mov qword [rbp + 0x6f], r11
add ecx, r8d
mov rdx, r15
cmp ecx, dword [rsi + 0x10]
mov rcx, rsi
jb 0x18001257e
call fcn.1800137ec
jmp 0x180012583
call fcn.180013838
mov r11, qword [rbp + 0x6f]
cmp byte [r11], 0
je 0x180013646
mov r10, qword [rbp + 0x77]
mov edx, 0x2d
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
test ecx, ecx
je 0x180013620
and dword [rsp + 0x28], 0
xor r12b, r12b
xor r14b, r14b
mov byte [rsp + 0x30], 0
xor bl, bl
mov byte [rsp + 0x21], 0
or edi, 0xffffffff
mov byte [rsp + 0x23], 0
mov qword [rsp + 0x38], rdi
mov byte [rbp + 0x7f], r12b
cmp ecx, 0x2c
jg 0x1800126c8
je 0x1800126c0
mov edx, ecx
sub edx, 0x20
je 0x1800126b8
sub edx, 1
je 0x1800126ae
sub edx, 2
je 0x1800126a4
sub edx, 7
je 0x180012617
cmp edx, 1
jne 0x180012843
mov r14b, 0x2b
jmp 0x180012806
cmp byte [rsp + 0x20], 0
je 0x180012657
movsxd rdx, dword [r13 + 4]
cmp dword [r13], edx
jg 0x180012631
xor edx, edx
mov qword [rsp + 0x28], rdx
jmp 0x180012651
mov rax, qword [r13 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r13 + 4], eax
call fcn.1800239a0
mov r11, qword [rbp + 0x6f]
mov rdx, rax
mov qword [rsp + 0x28], rax
mov r10, qword [rbp + 0x77]
jmp 0x180012667
mov edx, dword [r10]
add r10, 8
mov qword [rsp + 0x28], rdx
mov qword [rbp + 0x77], r10
test edx, edx
jns 0x180012682
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 0x180012806
cmp byte [rax], 0x6c
je 0x180012806
movsx ecx, byte [rax]
mov qword [rbp + 0x6f], rax
jmp 0x180012843
mov byte [rsp + 0x23], 1
jmp 0x180012806
mov byte [rsp + 0x21], 1
jmp 0x180012806
mov r14b, 0x20
jmp 0x180012806
mov r12b, 0x2c
jmp 0x180012806
cmp ecx, edx
je 0x180012802
cmp ecx, 0x2e
je 0x180012742
cmp ecx, 0x30
je 0x180012738
jle 0x180012843
cmp ecx, 0x39
jg 0x18001281f
inc r11
lea edx, [rcx - 0x30]
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x30
jl 0x18001271a
cmp ecx, 0x39
jg 0x180012716
lea edx, [rdx + rdx*4]
inc r11
lea edx, [rdx - 0x18]
lea edx, [rcx + rdx*2]
movsx ecx, byte [r11]
cmp ecx, 0x30
jge 0x1800126fc
mov qword [rbp + 0x6f], r11
btr edx, 0x1f
mov dword [rsp + 0x28], edx
cmp ecx, 0x2e
je 0x180012730
cmp ecx, 0x6c
jne 0x180012843
dec r11
jmp 0x180012806
mov byte [rsp + 0x30], 1
jmp 0x180012806
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x2a
jne 0x1800127cd
cmp byte [rsp + 0x20], 0
je 0x180012792
movsxd rdx, dword [r13 + 4]
cmp dword [r13], edx
jg 0x18001276c
xor edi, edi
mov qword [rsp + 0x38], rdi
jmp 0x18001278c
mov rax, qword [r13 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r13 + 4], eax
call fcn.1800239a0
mov r11, qword [rbp + 0x6f]
mov rdi, rax
mov qword [rsp + 0x38], rax
mov r10, qword [rbp + 0x77]
jmp 0x1800127a2
mov edi, dword [r10]
add r10, 8
mov qword [rsp + 0x38], rdi
mov qword [rbp + 0x77], r10
test edi, edi
jns 0x1800127bd
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 0x180012727
xor edx, edx
cmp ecx, 0x30
jl 0x1800127f2
cmp ecx, 0x39
jg 0x1800127ee
lea edx, [rdx + rdx*4]
inc r11
lea edx, [rdx - 0x18]
lea edx, [rcx + rdx*2]
movsx ecx, byte [r11]
cmp ecx, 0x30
jge 0x1800127d4
mov qword [rbp + 0x6f], r11
btr edx, 0x1f
mov edi, edx
mov qword [rsp + 0x38], rdi
jmp 0x180012727
mov byte [rbp + 0x7f], 1
inc r11
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
test ecx, ecx
je 0x180012843
mov edx, 0x2d
jmp 0x1800125d5
cmp ecx, 0x6c
jne 0x180012843
inc r11
mov bl, 1
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
cmp ecx, 0x6c
jne 0x180012843
inc r11
mov bl, 2
mov qword [rbp + 0x6f], r11
movsx ecx, byte [r11]
lea rax, [0x1800bbf40]
xor r8d, r8d
mov r13b, 0x11
mov qword [rbp - 0x71], rax
mov r9, rax
mov byte [rsp + 0x22], r13b
mov rdx, rax
lea r11d, [r8 + 1]
movsx eax, byte [rdx]
cmp ecx, eax
je 0x18001287f
add r8, r11
lea rax, [0x1800bbfca]
add rdx, 6
cmp rdx, rax
jl 0x180012863
jmp 0x18001289b
lea rax, [r8 + r8*2]
lea rcx, [0x1800bbf40]
lea r9, [rcx + rax*2]
mov r13b, byte [r9 + 3]
mov byte [rsp + 0x22], r13b
mov qword [rbp - 0x71], r9
movzx ecx, r13b
cmp ecx, 0xa
ja 0x180013061
cmp ecx, 9
jae 0x180013098
test r13b, r13b
je 0x180013236
mov ebx, 3
cmp ecx, ebx
jbe 0x180012c0e
cmp ecx, 4
je 0x180012bed
jbe 0x180013646
lea eax, [rbx + 3]
cmp ecx, eax
jbe 0x180012abf
cmp ecx, 7
je 0x180012a6c
cmp ecx, 8
jne 0x180013646
cmp byte [rsp + 0x20], 0
je 0x180012985
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x180012910
xor ecx, ecx
jmp 0x18001292d
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.180027734
mov rcx, rax
mov r11d, 1
mov ebx, r11d
mov rdx, r11
test rcx, rcx
je 0x18001297c
mov al, byte [rcx]
mov r9d, 0xc0
mov byte [rbp - 0x69], al
add rcx, r11
and eax, r9d
cmp al, r9b
jne 0x180012a0e
mov r8b, byte [rcx]
mov al, r8b
and al, r9b
cmp al, 0x80
jne 0x180012a0e
mov byte [rbp + rdx - 0x69], r8b
add ebx, r11d
add rdx, r11
add rcx, r11
cmp rdx, 4
jl 0x180012952
jmp 0x180012a0e
mov byte [rbp - 0x69], 0
jmp 0x180012a0e
mov eax, dword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
cmp eax, 0x80
jae 0x18001299c
mov ebx, r11d
jmp 0x180012a0b
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 0x1800129cb
and cl, 0x1f
mov byte [rbp - 0x68], r8b
sub cl, 0x40
mov ebx, 2
mov byte [rbp - 0x69], cl
jmp 0x180012a0e
and cl, r9b
mov edx, eax
shr edx, 0xc
add cl, r10b
cmp eax, 0x10000
jae 0x1800129ef
and dl, 0xf
mov byte [rbp - 0x68], cl
sub dl, 0x20
mov byte [rbp - 0x67], r8b
mov byte [rbp - 0x69], dl
jmp 0x180012a0e
shr eax, 0x12
and dl, r9b
and al, 7
mov byte [rbp - 0x67], cl
sub al, 0x10
mov byte [rbp - 0x66], r8b
add dl, r10b
mov ebx, 4
mov byte [rbp - 0x68], dl
mov byte [rbp - 0x69], al
cmp edi, r11d
jle 0x180012a63
mov rcx, qword [rsp + 0x28]
sub ecx, edi
mov edx, ecx
inc ecx
mov qword [rsp + 0x28], rcx
cmp ecx, r11d
jle 0x180012a3b
cmp byte [rbp + 0x7f], 0
jne 0x180012a3b
mov rcx, rsi
call fcn.1800137a8
and dword [rsp + 0x28], 0
dec edi
mov ecx, dword [rsi + 0x18]
lea rdx, [rbp - 0x69]
add ecx, ebx
mov r8d, ebx
cmp ecx, dword [rsi + 0x10]
mov rcx, rsi
jb 0x180012a58
call fcn.1800137ec
jmp 0x180012a5d
call fcn.180013838
sub rdi, 1
jne 0x180012a3d
lea r15, [rbp - 0x69]
jmp 0x1800131f1
mov byte [rbp - 0x69], 0x25
lea r15, [rbp - 0x69]
mov ebx, r11d
mov rcx, qword [rsp + 0x28]
mov dil, byte [rbp + 0x7f]
sub ecx, ebx
mov qword [rsp + 0x28], rcx
test ecx, ecx
jle 0x1800135c8
test dil, dil
jne 0x180012a9e
mov edx, ecx
mov rcx, rsi
call fcn.1800137a8
mov ecx, dword [rsi + 0x18]
mov r8d, ebx
add ecx, ebx
mov rdx, r15
cmp ecx, dword [rsi + 0x10]
mov rcx, rsi
jb 0x1800135b0
call fcn.1800137ec
jmp 0x1800135b5
cmp byte [rsp + 0x20], 0
je 0x180012afa
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x180012ad9
xor r15d, r15d
jmp 0x180012af5
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.180027734
mov r15, rax
mov eax, 6
mov r13b, 5
jmp 0x180012b05
mov r15, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
test r15, r15
jne 0x180012b13
lea r15, [0x1800cd72c]
jmp 0x180012b6d
cmp r13b, al
jne 0x180012b6d
cmp dword [rsi + 0x18], 0
jne 0x180012b65
cmp dword [rsi + 0x14], 0
je 0x180012b65
cmp dword [rsp + 0x28], 0
jne 0x180012b65
test edi, edi
jns 0x180012b65
cmp byte [rsi + 0x1c], 0
jne 0x180012b65
mov rcx, r15
mov qword [rsi + 8], r15
call qword [0x180108108]
mov dword [rsi + 0x10], eax
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x180012b49
btr eax, 0x1f
or byte [rsi + 0x1d], 4
mov dword [rsi + 0x18], eax
xor ebx, ebx
jmp 0x180012a77
mov rax, r15
mov qword [rsp + 0x48], rax
test edi, edi
js 0x180012bd1
mov r12b, byte [rsp + 0x21]
test r12b, r12b
je 0x180012ba8
mov rbx, r15
jmp 0x180012b9c
mov al, byte [rbx]
dec edi
test al, al
je 0x180012ba0
inc rbx
cmp al, 0xc0
jb 0x180012b9c
jmp 0x180012b94
inc rbx
mov al, byte [rbx]
and al, 0xc0
cmp al, 0x80
je 0x180012b91
test edi, edi
jg 0x180012b80
sub ebx, r15d
jmp 0x1800131e8
xor ebx, ebx
movsxd rcx, edi
xor eax, eax
test edi, edi
jle 0x180012a77
cmp byte [rax + r15], 0
je 0x180012a77
inc ebx
inc rax
cmp rax, rcx
jl 0x180012bb7
jmp 0x1800131e8
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x180012bd5
mov r12b, byte [rsp + 0x21]
btr ebx, 0x1f
jmp 0x1800131e8
cmp byte [rsp + 0x20], 0
jne 0x180012c04
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
jmp 0x180012b5e
cmp byte [rsp + 0x20], 0
je 0x180012c41
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x180012c28
xorps xmm6, xmm6
jmp 0x180012c4e
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.1800239f8
movaps xmm6, xmm0
jmp 0x180012c4e
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 [0x1800f9d38]
mov qword [rsp + 0x38], rdi
andps xmm6, xmmword [0x1800f9ea0]
cmovb r9d, eax
mov dword [rbp - 0x79], r9d
cmp r13b, bl
jne 0x180012c8d
test edi, edi
jle 0x180012c8d
dec edi
mov qword [rsp + 0x38], rdi
movsd xmm3, qword [0x1800f9d60]
mov eax, edi
and eax, 0xfff
jbe 0x180012cac
mulsd xmm3, qword [0x1800f9d58]
dec eax
test eax, eax
jg 0x180012c9e
cmp r13b, 1
jne 0x180012cb6
addsd xmm6, xmm3
movaps xmm0, xmm6
xor esi, esi
call fcn.180013dac
test eax, eax
je 0x180012cd4
lea r15, [0x1800cd728]
mov rsi, qword [rbp + 0x67]
jmp 0x180012a77
comisd xmm6, xmmword [0x1800f9d38]
jbe 0x180012daa
comisd xmm6, xmmword [0x1800f9da8]
mov r14d, 0x15e
movsd xmm1, qword [0x1800f9d68]
jb 0x180012d1b
cmp esi, r14d
jg 0x180012d1b
mulsd xmm1, qword [0x1800f9da8]
add esi, 0x64
movaps xmm0, xmm1
mulsd xmm0, qword [0x1800f9da8]
comisd xmm6, xmm0
jae 0x180012cfa
movaps xmm0, xmm1
jmp 0x180012d2b
cmp esi, r14d
jg 0x180012d39
movaps xmm1, xmm0
add esi, 0xa
mulsd xmm0, qword [0x1800f9d90]
comisd xmm6, xmm0
jae 0x180012d20
movaps xmm0, xmm1
jmp 0x180012d48
cmp esi, r14d
jg 0x180012d52
movaps xmm1, xmm0
inc esi
mulsd xmm0, xmm7
comisd xmm6, xmm0
jae 0x180012d3e
divsd xmm6, xmm1
jmp 0x180012d63
mulsd xmm6, qword [0x1800f9d80]
sub esi, 8
comisd xmm6, xmmword [0x1800f9d48]
jb 0x180012d58
jmp 0x180012d75
mulsd xmm6, xmm7
dec esi
comisd xmm6, xmmword [0x1800f9d68]
jb 0x180012d6f
cmp esi, r14d
jle 0x180012daa
xor eax, eax
mov byte [rbp - 0x69], r9b
test r9b, r9b
lea r15, [rbp - 0x69]
setne al
neg r9b
mov dword [rbp + rax - 0x69], 0x666e49
sbb eax, eax
neg eax
add ebx, eax
jmp 0x180012ccb
lea rdi, [rbp - 0x69]
cmp r13b, 1
je 0x180012dc8
addsd xmm6, xmm3
comisd xmm6, xmm7
jb 0x180012dc8
mulsd xmm6, qword [0x1800f9d58]
inc esi
mov rcx, qword [rsp + 0x38]
cmp r13b, bl
jne 0x180012dfa
cmp byte [rsp + 0x23], 0
sete r12b
cmp esi, 0xfffffffc
jl 0x180012df0
cmp esi, ecx
jg 0x180012df0
sub ecx, esi
mov r13b, 1
mov qword [rsp + 0x38], rcx
jmp 0x180012df3
mov r13b, 2
mov byte [rsp + 0x22], r13b
jmp 0x180012dff
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 0x180012e47
mov rcx, qword [rbp + 0x67]
call fcn.180012470
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
je 0x180013646
mov r9d, dword [rbp - 0x79]
movzx r8d, byte [rsp + 0x21]
mov rax, qword [rsp + 0x38]
test eax, eax
mov qword [rbp - 0x19], 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 0x180012e7b
mov byte [rdi], r9b
inc rdi
test ebx, ebx
jns 0x180012e87
mov byte [rdi], 0x30
inc rdi
jmp 0x180012eb8
test r14d, r14d
jg 0x180012e90
mov al, 0x30
jmp 0x180012ea9
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 0x180012e87
mov rax, qword [rsp + 0x38]
test r15b, r15b
je 0x180012ec3
mov byte [rdi], 0x2e
inc rdi
add ebx, 1
jns 0x180012f1f
neg ebx
mov dl, 0x30
mov r8d, ebx
mov rcx, rdi
call fcn.18008bbf0
mov rax, qword [rsp + 0x38]
add rdi, rbx
mov r9d, dword [rbp - 0x79]
sub eax, ebx
mov r8b, byte [rsp + 0x21]
jmp 0x180012f1f
dec eax
mov qword [rsp + 0x38], rax
test r14d, r14d
jg 0x180012efc
mov al, 0x30
jmp 0x180012f15
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 0x180012eec
test r12b, r12b
je 0x180012f5d
test r15b, r15b
je 0x180012f5d
lea rax, [rdi - 1]
jmp 0x180012f3c
mov rdi, rax
mov byte [rax], 0
dec rax
cmp byte [rax], 0x30
je 0x180012f33
lea rax, [rdi - 1]
cmp byte [rax], 0x2e
jne 0x180012f5d
test r8b, r8b
je 0x180012f57
mov byte [rdi], 0x30
inc rdi
jmp 0x180012f5d
mov rdi, rax
mov byte [rax], 0
cmp byte [rsp + 0x22], 2
jne 0x180012fea
mov r11, qword [rbp - 0x71]
lea rcx, str.0123456789ABCDEF0123456789abcdef
movzx eax, byte [r11 + 4]
mov al, byte [rax + rcx]
mov byte [rdi], al
test esi, esi
jns 0x180012f91
mov eax, 0x2d
mov byte [rdi + 1], al
add rdi, 2
neg esi
jmp 0x180012f99
mov byte [rdi + 1], 0x2b
add rdi, 2
cmp esi, 0x64
jl 0x180012fbc
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 - 0x19]
mov byte [rdi], 0
sub edi, r15d
cmp byte [rsp + 0x30], 0
mov ebx, edi
mov dil, byte [rbp + 0x7f]
je 0x180013053
test dil, dil
jne 0x180013053
mov rsi, qword [rsp + 0x28]
cmp ebx, esi
jge 0x180013053
mov edx, esi
sub edx, ebx
movsxd r8, edx
cmp r13, r8
jl 0x180013038
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 0x180013025
test edx, edx
je 0x180013051
xor ecx, ecx
mov r8d, edx
test r9b, r9b
mov dl, 0x30
setne cl
add rcx, r15
call fcn.18008bbf0
mov ebx, esi
mov rsi, qword [rbp + 0x67]
mov rcx, qword [rsp + 0x28]
jmp 0x180012a80
sub ecx, 0xb
je 0x180013560
sub ecx, r11d
je 0x1800134e8
sub ecx, r11d
je 0x180013234
sub ecx, r11d
je 0x180013098
sub ecx, r11d
je 0x180013236
cmp ecx, r11d
jne 0x180013646
jmp 0x180013239
mov eax, Ordinal_36
cmp r13b, 0xe
lea r14d, [rax + 5]
cmove r14d, eax
cmp byte [rsp + 0x20], 0
je 0x1800130dc
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x1800130c3
xor r9d, r9d
jmp 0x1800130ef
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.180027734
mov rbx, rax
jmp 0x1800130e7
mov rbx, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
mov r9, rbx
test rbx, rbx
jne 0x180013105
cmp r13b, 0xa
lea rax, str.NULL
lea rbx, [0x1800cd738]
cmove rbx, rax
mov r12b, byte [rsp + 0x21]
xor r8d, r8d
xor esi, esi
xor edx, edx
test edi, edi
je 0x180013152
mov cl, byte [rdx + rbx]
test cl, cl
je 0x180013152
cmp cl, r14b
lea eax, [r8 + 1]
cmovne eax, r8d
mov r8d, eax
test r12b, r12b
je 0x180013148
and cl, 0xc0
cmp cl, 0xc0
jne 0x180013148
jmp 0x18001313e
inc esi
inc rdx
mov al, byte [rdx + rbx + 1]
and al, 0xc0
cmp al, 0x80
je 0x180013139
inc esi
inc rdx
sub edi, 1
jne 0x180013115
test r9, r9
je 0x180013164
cmp r13b, 0xa
jne 0x180013164
mov edi, 1
jmp 0x180013166
xor edi, edi
lea eax, [rsi + 3]
add eax, r8d
cmp eax, 0x46
jle 0x180013190
mov rcx, qword [rbp + 0x67]
movsxd rdx, eax
call fcn.180012470
mov qword [rsp + 0x48], rax
mov r15, rax
test rax, rax
je 0x180013646
jmp 0x180013194
lea r15, [rbp - 0x69]
xor ecx, ecx
xor eax, eax
test edi, edi
je 0x1800131a4
lea ecx, [rax + 1]
mov byte [r15], r14b
mov eax, ecx
xor edx, edx
movsxd r9, esi
test esi, esi
jle 0x1800131d0
mov r8b, byte [rdx + rbx]
inc ecx
mov byte [rax + r15], r8b
inc rax
cmp r8b, r14b
jne 0x1800131c8
inc ecx
mov byte [rax + r15], r8b
inc rax
inc rdx
cmp rdx, r9
jl 0x1800131ad
test edi, edi
je 0x1800131dd
inc ecx
mov byte [rax + r15], r14b
inc rax
mov rsi, qword [rbp + 0x67]
mov ebx, ecx
mov byte [rax + r15], 0
test r12b, r12b
je 0x180012a77
mov rcx, qword [rsp + 0x28]
test ecx, ecx
jle 0x180012a7c
lea eax, [rbx - 1]
movsxd rdx, eax
test eax, eax
js 0x180012a7c
mov rsi, rcx
lea rax, [rdx + r15]
mov cl, byte [rax]
lea eax, [rsi + 1]
and cl, 0xc0
cmp cl, 0x80
cmovne eax, esi
sub rdx, 1
mov esi, eax
jns 0x18001320f
mov rsi, qword [rbp + 0x67]
mov ecx, eax
jmp 0x180012a7c
mov bl, 2
xor r12b, r12b
test byte [r9 + 2], r11b
je 0x1800132b7
cmp byte [rsp + 0x20], 0
je 0x180013274
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x18001325b
xor ebx, ebx
jmp 0x18001330b
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.1800239a0
mov rbx, rax
jmp 0x180013293
add r10, 8
mov qword [rbp + 0x77], r10
test bl, bl
je 0x18001328b
cmp bl, 2
jne 0x18001328f
mov rbx, qword [r10 - 8]
jmp 0x180013293
mov qword [rbp + 0x77], r10
movsxd rbx, dword [r10 - 8]
test rbx, rbx
jns 0x18001330b
movabs rax, 0x8000000000000000
cmp rbx, rax
jne 0x1800132ac
mov rbx, rax
jmp 0x1800132af
neg rbx
mov r14d, 0x2d
jmp 0x18001330b
cmp byte [rsp + 0x20], 0
je 0x1800132e9
mov r8, qword [rsp + 0x40]
movsxd rdx, dword [r8 + 4]
cmp dword [r8], edx
jg 0x1800132d0
xor ebx, ebx
jmp 0x180013308
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov dword [r8 + 4], eax
call fcn.1800239a0
mov rbx, rax
jmp 0x180013308
add r10, 8
mov qword [rbp + 0x77], r10
test bl, bl
je 0x180013300
cmp bl, 2
jne 0x180013304
mov rbx, qword [r10 - 8]
jmp 0x180013308
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 0x180013338
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 0x180013348
mov edi, Ordinal_73
lea r10, [rbp - 0x69]
jmp 0x180013389
movsxd rdi, edi
add rdi, 0xa
test r12b, r12b
je 0x18001336c
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.180012470
mov qword [rsp + 0x48], rax
mov r10, rax
test rax, rax
je 0x180013646
lea eax, [rdi - 1]
movsxd r15, eax
add r15, r10
cmp r13b, 0xf
jne 0x1800133fd
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 0x1800133da
mov rax, r9
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
sub rcx, rax
cmp rcx, 1
jne 0x1800133dd
xor r8d, r8d
lea eax, [r8 + r8]
movsxd rcx, eax
lea rdx, str.thstndrd
mov al, byte [rcx + rdx + 1]
mov cl, byte [rcx + rdx]
mov byte [r15 - 1], al
sub r15, 2
mov byte [r15], cl
mov r11, qword [rbp - 0x71]
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 [rcx + rdx]
mov byte [r15], al
test rbx, rbx
jne 0x180013415
mov rax, qword [rsp + 0x38]
mov ecx, r10d
sub ecx, r15d
dec ecx
add ecx, edi
cmp ecx, eax
jge 0x180013452
sub eax, ecx
add ecx, eax
dec r15
mov byte [r15], 0x30
sub rax, 1
jne 0x180013445
test r12b, r12b
je 0x1800134a4
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 0x18001349f
lea rax, [rdx + r8]
mov cl, byte [rax + r15]
mov byte [rdx + r15], cl
sub r9d, 1
jne 0x18001349c
inc rdx
mov r9d, 3
dec r8
mov byte [rdx + r15], r12b
inc rdx
test r8, r8
jg 0x18001347a
test r14b, r14b
je 0x1800134af
dec r15
mov byte [r15], r14b
test sil, sil
je 0x1800134da
mov al, byte [r11 + 5]
test al, al
je 0x1800134da
movzx eax, al
lea rcx, [0x1800b9a88]
add rax, rcx
jmp 0x1800134d4
dec r15
inc rax
mov byte [r15], cl
mov cl, byte [rax]
test cl, cl
jne 0x1800134cb
sub r10d, r15d
lea ebx, [rdi - 1]
add ebx, r10d
jmp 0x180012ccb
test byte [rsi + 0x1d], r11b
je 0x180013646
mov rsi, qword [r10]
lea rdi, [r10 + 0x10]
movsxd rax, dword [rdi - 8]
imul rbx, rax, 0x70
mov rdx, qword [rbx + rsi + 0x10]
test rdx, rdx
je 0x18001353f
mov r14, qword [rbp + 0x67]
mov rcx, r14
call fcn.180013864
mov eax, dword [r14 + 0x18]
lea rdx, [0x1800cd740]
inc eax
mov r8d, 1
mov rcx, r14
cmp eax, dword [r14 + 0x10]
jb 0x18001353a
call fcn.1800137ec
jmp 0x18001353f
call fcn.180013838
mov rdx, qword [rbx + rsi + 0x18]
mov rsi, qword [rbp + 0x67]
mov rcx, rsi
call fcn.180013864
and dword [rsp + 0x28], 0
xor ebx, ebx
mov qword [rbp + 0x77], rdi
jmp 0x180012a77
test byte [rsi + 0x1d], r11b
je 0x180013646
mov rax, qword [r10]
add r10, 8
mov qword [rbp + 0x77], r10
test rax, rax
je 0x180012c04
mov r8d, dword [rax + 8]
test r8d, r8d
je 0x180012c04
mov ecx, dword [rsi + 0x18]
mov rdx, qword [rax]
add ecx, r8d
cmp ecx, dword [rsi + 0x10]
mov rcx, rsi
jb 0x1800135a6
call fcn.1800137ec
jmp 0x180012c04
call fcn.180013838
jmp 0x180012c04
call fcn.180013838
test dil, dil
je 0x1800135e7
mov edx, dword [rsp + 0x28]
mov rcx, rsi
call fcn.1800137a8
jmp 0x1800135e7
mov ecx, dword [rsi + 0x18]
mov r8d, ebx
add ecx, ebx
mov rdx, r15
cmp ecx, dword [rsi + 0x10]
mov rcx, rsi
jb 0x1800135e2
call fcn.1800137ec
jmp 0x1800135e7
call fcn.180013838
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180013603
mov rdx, rcx
mov rcx, qword [rsi]
call fcn.180011fe8
xor eax, eax
mov qword [rsp + 0x48], rax
mov r11, qword [rbp + 0x6f]
inc r11
movsx eax, byte [r11]
test eax, eax
je 0x180013646
mov r10, qword [rbp + 0x77]
mov r13, qword [rsp + 0x40]
jmp 0x180012541
mov eax, dword [rsi + 0x18]
lea rdx, [0x1800cd724]
inc eax
mov r8d, 1
mov rcx, rsi
cmp eax, dword [rsi + 0x10]
jb 0x180013641
call fcn.1800137ec
jmp 0x180013646
call fcn.180013838
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