Function at 0x140231050
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x40], xmm7
movups xmmword [rsp + 0x50], xmm8
movups xmmword [rsp + 0x60], xmm9
movups xmmword [rsp + 0x70], xmm10
mov esi, dword [r8]
mov ebp, esi
and ebp, 0x40
mov qword [rsp + 0xe8], r9
mov r12, rcx
mov r13, rdx
mov rdi, r8
test rdx, rdx
je 0x140231620
mov rcx, rdx
call sym.strlen
mov ebx, eax
and ebx, 0x3fffffff
lea r15d, [rbx + 8]
movsxd r14, r15d
test ebp, ebp
je 0x140231190
cmp ebx, 4
jle 0x1402310d3
cmp dword [r13], 0x656c6966
je 0x1402311a8
call sym.sqlite3_initialize
test eax, eax
je 0x140231118
mov r13d, 7
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
mov eax, r13d
movups xmm8, xmmword [rsp + 0x50]
movups xmm9, xmmword [rsp + 0x60]
movups xmm10, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x1402ba6c0]
test eax, eax
jne 0x140231600
mov ecx, r15d
call qword [0x1402ba6e0]
test rax, rax
je 0x1402310dc
mov dword [rax], 0
lea r15, [rax + 4]
movsxd rbp, ebx
test ebx, ebx
jne 0x140231640
and esi, 0xffffffbf
mov dword [r15 + rbp], 0
mov dword [rsp + 0x24], esi
mov rcx, r12
xor r13d, r13d
call sym.sqlite3_vfs_find
mov rsi, qword [rsp + 0xe8]
mov qword [rsi], rax
test rax, rax
je 0x140231653
mov eax, dword [rsp + 0x24]
mov dword [rdi], eax
mov rax, qword [rsp + 0xf0]
mov qword [rax], r15
jmp 0x1402310e2
movzx eax, byte [0x1402ba6c6]
test al, al
je 0x1402310d3
jmp 0x1402310c0
cmp byte [r13 + 4], 0x3a
jne 0x1402310d3
lea eax, [rbx - 1]
cmp eax, 0xe
jbe 0x140231a78
mov edx, ebx
pxor xmm1, xmm1
pxor xmm6, xmm6
mov rax, r13
shr edx, 4
movdqu xmm7, xmmword [0x14033d960]
pxor xmm5, xmm5
pxor xmm4, xmm4
movdqu xmm8, xmmword [0x14033d950]
shl rdx, 4
add rdx, r13
nop
movdqu xmm0, xmmword [rax]
add rax, 0x10
pcmpeqb xmm0, xmm8
pand xmm0, xmm7
movdqu xmm3, xmm0
punpckhbw xmm0, xmm6
punpcklbw xmm3, xmm6
movdqu xmm9, xmm0
punpckhwd xmm0, xmm5
movdqu xmm2, xmm3
punpckhwd xmm3, xmm5
punpcklwd xmm9, xmm5
punpcklwd xmm2, xmm5
movdqu xmm10, xmm2
punpckldq xmm2, xmm4
punpckhdq xmm10, xmm4
paddq xmm2, xmm10
movdqu xmm10, xmm3
punpckldq xmm3, xmm4
punpckhdq xmm10, xmm4
paddq xmm3, xmm10
paddq xmm2, xmm3
movdqu xmm3, xmm9
punpckldq xmm9, xmm4
punpckhdq xmm3, xmm4
paddq xmm9, xmm3
movdqu xmm3, xmm0
punpckhdq xmm0, xmm4
punpckldq xmm3, xmm4
paddq xmm1, xmm0
paddq xmm9, xmm3
paddq xmm2, xmm9
paddq xmm1, xmm2
cmp rdx, rax
jne 0x1402311f0
movdqu xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq rax, xmm1
add r14, rax
mov eax, ebx
and eax, 0xfffffff0
test ebx, 0xc000000f
je 0x140231448
movsxd rdx, eax
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 1]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
add eax, 2
movzx edx, dl
add r14, rdx
cmp ebx, eax
jle 0x140231448
movsxd rdx, eax
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 1]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 2]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 3]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 4]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 5]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 6]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 7]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 8]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 9]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 0xa]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
movzx edx, dl
add r14, rdx
lea edx, [rax + 0xb]
cmp ebx, edx
jle 0x140231448
movsxd rdx, edx
cmp byte [r13 + rdx], 0x26
sete dl
add eax, 0xc
movzx edx, dl
add r14, rdx
cmp ebx, eax
jle 0x140231448
cdqe
cmp byte [r13 + rax], 0x26
sete al
movzx eax, al
add r14, rax
nop dword [rax]
call sym.sqlite3_initialize
mov ebx, eax
test eax, eax
jne 0x1402310dc
mov rcx, r14
call sym.sqlite3Malloc
test rax, rax
je 0x1402310dc
mov dword [rax], 0
lea r15, [rax + 4]
movzx eax, byte [r13 + 5]
or esi, 0x40
mov dword [rsp + 0x24], esi
cmp al, 0x2f
je 0x140231964
test al, al
mov r10d, 5
setne dl
cmp al, 0x23
je 0x140231a9c
test dl, dl
je 0x140231a9c
mov qword [rsp + 0xe0], rdi
xor r8d, r8d
xor r11d, r11d
jmp 0x1402314f9
cmp ebx, 1
je 0x140231910
test ebx, ebx
jne 0x1402318e9
cmp al, 0x3f
jne 0x1402318e9
mov ebx, 1
xor eax, eax
mov byte [r15 + rbp], al
add r8d, 1
movzx eax, byte [rcx]
movsxd r11, r8d
test al, al
je 0x140231938
cmp al, 0x23
je 0x140231938
mov r10d, edx
lea edx, [r10 + 1]
mov rbp, r11
movsxd r9, edx
lea rcx, [r13 + r9]
cmp al, 0x25
jne 0x1402314b8
movzx r14d, byte [rcx]
lea rdi, [0x140344300]
test byte [rdi + r14], 8
je 0x1402318e0
movzx r9d, byte [r13 + r9 + 1]
test byte [rdi + r9], 8
je 0x1402318e0
movsx esi, r14b
lea ecx, [r10 + 2]
lea edx, [r10 + 3]
movsxd rcx, ecx
mov eax, esi
movsx r10d, byte [r13 + rcx]
sar eax, 6
and eax, 1
lea r9d, [rax + rax*8]
mov ecx, r10d
add r9d, esi
sar ecx, 6
and r9d, 0xf
and ecx, 1
mov eax, r9d
lea r9d, [rcx + rcx*8]
add r9d, r10d
shl eax, 4
movsxd r10, edx
and r9d, 0xf
lea rcx, [r13 + r10]
add r9d, eax
mov eax, r9d
jne 0x1402314d8
movzx eax, byte [rcx]
test al, al
je 0x140231938
cmp al, 0x23
je 0x140231938
test ebx, ebx
mov rdi, qword [rsp + 0xe0]
setne cl
cmp ebx, 1
jne 0x1402315df
jmp 0x1402316c7
cmp ebx, 2
jne 0x1402315c5
cmp al, 0x26
je 0x140231abe
movzx eax, byte [r13 + r10 + 1]
add r10, 1
test al, al
je 0x1402316f6
cmp al, 0x23
je 0x1402316f6
mov edx, r10d
cmp al, 0x3f
jne 0x1402315b8
test cl, cl
jne 0x1402315b8
mov qword [rsp + 0xe0], rdi
xor ebx, ebx
mov eax, 0x3f
jmp 0x1402314f6
mov rcx, qword [0x1402ba340]
test rcx, rcx
je 0x140231612
call qword [0x1402ba740]
mov rcx, r14
call sym.sqlite3Malloc.part.0
jmp 0x14023112f
test ebp, ebp
je 0x1402316a9
mov r14d, 8
mov r15d, 8
xor ebx, ebx
jmp 0x1402310d3
mov r8, rbp
mov rdx, r13
mov rcx, r15
call sym.memcpy
jmp 0x140231149
mov rdx, r12
lea rcx, str.no_such_vfs:__s
mov r13d, 1
call sym.sqlite3_mprintf
mov rdx, qword [rsp + 0xf8]
mov qword [rdx], rax
jmp 0x14023167c
sub r15, 1
cmp byte [r15 - 1], 0
jne 0x140231678
cmp byte [r15 - 2], 0
jne 0x140231678
cmp byte [r15 - 3], 0
jne 0x140231678
cmp byte [r15 - 4], 0
jne 0x140231678
lea rcx, [r15 - 4]
xor r15d, r15d
call sym.sqlite3_free
jmp 0x140231177
movzx eax, byte [0x1402ba6c6]
mov r14d, 8
mov r15d, 8
xor ebx, ebx
jmp 0x1402310d3
cmp al, 0x23
je 0x1402316e8
mov edx, r10d
cmp al, 0x26
je 0x140231a39
cmp al, 0x3d
je 0x140231a39
movzx eax, byte [r13 + r10 + 1]
add r10, 1
test al, al
jne 0x1402316c3
add r11, r15
mov byte [r11], 0
lea r11d, [r8 + 1]
movsxd r11, r11d
add r11, r15
mov dword [r11], 0
mov rcx, r15
call sym.strlen
and eax, 0x3fffffff
lea rbp, [r15 + rax + 1]
cmp byte [rbp], 0
je 0x140231158
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xe0], rdi
nop dword [rax]
mov rcx, rbp
call sym.strlen
mov r13d, eax
and r13d, 0x3fffffff
lea esi, [r13 + 1]
movsxd rsi, esi
add rsi, rbp
mov rcx, rsi
call sym.strlen
mov ebx, eax
and ebx, 0x3fffffff
cmp r13d, 3
je 0x140231840
cmp r13d, 5
je 0x1402318a0
cmp r13d, 4
jne 0x140231815
cmp dword [rbp], 0x65646f6d
jne 0x140231815
lea rax, str.access
mov r14d, dword [rsp + 0x24]
mov r13d, 0xffffff78
lea rdi, [0x1402b9440]
mov qword [rsp + 0x28], rax
and r14d, 0x87
mov r12, qword [rdi]
test r12, r12
je 0x140231868
movsxd rbp, ebx
jmp 0x1402317d1
mov r12, qword [rdi + 0x10]
add rdi, 0x10
test r12, r12
je 0x140231868
mov rcx, r12
call sym.strlen
and eax, 0x3fffffff
cmp ebx, eax
jne 0x1402317c0
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1402317c0
mov eax, dword [rdi + 8]
test eax, eax
je 0x140231868
mov edx, eax
and dl, 0x7f
cmp edx, r14d
jg 0x140231a46
and r13d, dword [rsp + 0x24]
or eax, r13d
mov dword [rsp + 0x24], eax
lea ebp, [rbx + 1]
movsxd rbp, ebp
add rbp, rsi
cmp byte [rbp], 0
jne 0x140231730
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xe0]
jmp 0x140231158
cmp word [rbp], 0x6676
jne 0x140231815
cmp byte [rbp + 2], 0x73
mov rax, rsi
cmovne rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], rax
jmp 0x140231815
mov rdx, qword [rsp + 0x28]
mov r8, rsi
lea rcx, str.no_such__s_mode:__s
mov rdi, qword [rsp + 0xe0]
mov r13d, 1
call sym.sqlite3_mprintf
mov rdx, qword [rsp + 0xf8]
mov qword [rdx], rax
jmp 0x14023167c
cmp dword [rbp], 0x68636163
jne 0x140231815
cmp byte [rbp + 4], 0x65
jne 0x140231815
lea rax, str.cache
mov r13d, 0xfff9ffff
mov r14d, 0x60000
mov qword [rsp + 0x28], rax
lea rdi, str.shared
jmp 0x1402317ac
cmp ebx, 1
je 0x1402314d8
cmp ebx, 2
jne 0x1402314d8
cmp al, 0x26
mov esi, 1
sete r9b
test r9b, r9b
cmovne ebx, esi
mov esi, 0
cmovne eax, esi
jmp 0x1402314d8
cmp al, 0x26
je 0x14023191c
cmp al, 0x3d
jne 0x1402314d8
cmp byte [r15 + r11 - 1], 0
je 0x1402319f7
cmp al, 0x26
je 0x140231951
mov ebx, 2
xor eax, eax
jmp 0x1402314d8
mov rdi, qword [rsp + 0xe0]
add r11, r15
cmp ebx, 1
jne 0x1402316f9
jmp 0x1402316eb
add r8d, 1
mov byte [r15 + r11], 0
xor eax, eax
movsxd rbp, r8d
jmp 0x1402314d8
cmp byte [r13 + 6], 0x2f
mov r10d, 5
jne 0x1402314a1
movzx eax, byte [r13 + 7]
lea r8, [r13 + 7]
test al, al
setne cl
mov edx, ecx
cmp al, 0x2f
je 0x140231acb
test cl, cl
je 0x140231acb
lea rax, [r13 + 8]
mov r10d, 7
jmp 0x1402319a6
cmp dl, 0x2f
je 0x1402319b8
movzx edx, byte [rax]
mov ecx, r10d
add rax, 1
add r10d, 1
test dl, dl
jne 0x1402319a1
cmp r10d, 0x10
jne 0x1402319d2
movabs rax, 0x736f686c61636f6c
cmp qword [r13 + 7], rax
je 0x140231aa4
lea edx, [rcx - 6]
lea rcx, str.invalid_uri_authority:__.s
mov r13d, 1
call sym.sqlite3_mprintf
mov rdx, qword [rsp + 0xf8]
mov qword [rdx], rax
jmp 0x14023167c
movzx eax, byte [rcx]
mov rdi, qword [rsp + 0xe0]
cmp al, 0x23
je 0x1402316e8
test al, al
jne 0x140231a33
jmp 0x1402316e8
movzx eax, byte [rcx + 1]
add edx, 1
add rcx, 1
test al, al
je 0x1402316e8
cmp al, 0x23
je 0x1402316e8
cmp byte [rcx - 1], 0x26
jne 0x140231a18
mov qword [rsp + 0xe0], rdi
jmp 0x1402314e6
mov rdx, qword [rsp + 0x28]
mov r8, rsi
lea rcx, str._s_mode_not_allowed:__s
mov rdi, qword [rsp + 0xe0]
mov r13d, 3
call sym.sqlite3_mprintf
mov rdx, qword [rsp + 0xf8]
mov qword [rdx], rax
jmp 0x14023167c
xor eax, eax
cmp byte [r13], 0x26
sete al
add r14, rax
xor eax, eax
cmp byte [r13 + 1], 0x26
sete al
add r14, rax
mov eax, 2
jmp 0x1402312eb
mov r11, r15
jmp 0x1402316f9
cmp byte [r8 + 8], 0x74
jne 0x1402319d2
movzx eax, byte [r13 + 0x10]
test al, al
setne dl
jmp 0x140231491
mov qword [rsp + 0xe0], rdi
jmp 0x1402314f6
mov r10d, 7
jmp 0x140231491