Function at 0x460c1c
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13d, dword [r8]
mov r15, rcx
mov rcx, rdx
mov rsi, rdx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r9
call sym.sqlite3Strlen30
test r13b, 0x40
lea ebx, [rax + 8]
mov edi, eax
je 0x460c62
cmp edi, 4
jg 0x460c71
jmp 0x460fe6
mov al, byte [0x004d3ae6]
test al, al
jne 0x460c58
jmp 0x460fe6
lea rdx, str.file:
mov r8d, 5
mov rcx, rsi
call sym.memcmp
test eax, eax
mov ebp, eax
jne 0x460fe6
movsxd rcx, ebx
or r13d, 0x40
xor eax, eax
xor edx, edx
cmp byte [rsi + rax], 0x26
sete dl
inc rax
add rcx, rdx
cmp edi, eax
jg 0x460c99
call sym.sqlite3_malloc64
test rax, rax
mov r12, rax
jne 0x460cc3
mov esi, 7
jmp 0x4610be
mov dword [rax], 0
cmp byte [rsi + 5], 0x2f
lea rbx, [rax + 4]
mov edi, 5
je 0x460cea
lea r10, [0x004f5580]
xor r9d, r9d
xor r11d, r11d
jmp 0x460dbd
cmp byte [rsi + 6], 0x2f
jne 0x460cd8
mov eax, 7
mov dl, byte [rsi + rax]
mov edi, eax
inc rax
test dl, dl
je 0x460d06
cmp dl, 0x2f
jne 0x460cf5
cmp edi, 7
je 0x460cd8
lea r14, [rsi + 7]
cmp edi, 0x10
jne 0x460d2d
lea rcx, str.localhost
mov r8d, 9
mov rdx, r14
call sym.memcmp
test eax, eax
je 0x460cd8
lea edx, [rdi - 7]
mov r8, r14
lea rcx, str.invalid_uri_authority:__.s
call sym.sqlite3_mprintf
jmp 0x461044
test dl, dl
je 0x460e8c
lea r8d, [rdi + 1]
cmp dl, 0x25
jne 0x460e01
movsxd rax, r8d
movzx r14d, byte [rsi + rax]
test byte [r10 + r14], 8
je 0x460e01
movzx eax, byte [rsi + rax + 1]
test byte [r10 + rax], 8
je 0x460e01
movsx ecx, r14b
call sym.sqlite3HexToInt
lea r8d, [rdi + 3]
add edi, 2
movsxd rdi, edi
movzx r14d, al
movsx ecx, byte [rsi + rdi]
shl r14d, 4
call sym.sqlite3HexToInt
movzx eax, al
add r14d, eax
mov edx, r14d
jne 0x460e74
movsxd r8, r8d
mov al, byte [rsi + r8]
mov edi, r8d
cmp al, 0x23
jne 0x460dd1
movsxd rax, edi
mov dl, byte [rsi + rax]
cmp dl, 0x23
jne 0x460d44
jmp 0x460e8c
test al, al
je 0x460dbd
test ebp, ebp
jne 0x460de1
cmp al, 0x3f
je 0x460e85
cmp al, 0x26
setne dl
cmp ebp, 1
jne 0x460df1
cmp al, 0x3d
jne 0x460dfb
jmp 0x460dbd
cmp ebp, 2
je 0x460dfb
inc r8
jmp 0x460db2
test dl, dl
jne 0x460df6
jmp 0x460dbd
cmp ebp, 1
jne 0x460e47
cmp dl, 0x26
je 0x460e10
cmp dl, 0x3d
jne 0x460e74
movsxd rax, r9d
cmp byte [rbx + rax - 1], 0
jne 0x460e39
movsxd r8, r8d
mov al, byte [rsi + r8]
mov edi, r8d
test al, al
je 0x460dbd
cmp al, 0x23
je 0x460dbd
inc r8
cmp byte [rsi + r8 - 2], 0x26
jne 0x460e1d
jmp 0x460dbd
cmp dl, 0x26
jne 0x460e66
inc r9d
mov byte [rbx + rax], 0
jmp 0x460e72
test ebp, ebp
jne 0x460e50
cmp dl, 0x3f
je 0x460e6d
cmp ebp, 2
jne 0x460e74
cmp dl, 0x26
mov eax, 1
cmove ebp, eax
cmove edx, r11d
jmp 0x460e74
mov ebp, 2
jmp 0x460e72
mov ebp, 1
xor edx, edx
movsxd rax, r9d
mov edi, r8d
inc r9d
mov byte [rbx + rax], dl
jmp 0x460dbd
xor ebp, ebp
jmp 0x460dbd
dec ebp
jne 0x460e9c
movsxd rax, r9d
inc r9d
mov byte [r12 + rax + 4], 0
movsxd r9, r9d
mov rcx, rbx
mov dword [rbx + r9], 0
call sym.sqlite3Strlen30
cdqe
lea rdx, [rbx + rax + 1]
cmp byte [rdx], 0
je 0x46101b
mov rcx, rdx
call sym.sqlite3Strlen30
mov r8d, eax
cdqe
lea rsi, [rdx + rax + 1]
mov rcx, rsi
call sym.sqlite3Strlen30
cmp r8d, 3
movsxd rbp, eax
jne 0x460eff
lea rcx, [0x004e2a6c]
mov r8d, 3
call sym.memcmp
test eax, eax
cmove r15, rsi
jmp 0x460fdc
cmp r8d, 5
jne 0x461076
lea rcx, str.cache
mov r8d, 5
call sym.memcmp
test eax, eax
jne 0x460fdc
mov dword [rsp + 0x24], 0x60000
mov edi, 0x60000
lea r12, str.cache
lea r9, str.shared
movsxd rax, ebp
mov r14, r9
mov qword [rsp + 0x28], rax
mov rdx, qword [r14]
test rdx, rdx
je 0x460f7e
mov rcx, rdx
call sym.sqlite3Strlen30
cmp eax, ebp
jne 0x460f78
mov r8, qword [rsp + 0x28]
mov rcx, rsi
call sym.memcmp
test eax, eax
jne 0x460f78
mov eax, dword [r14 + 8]
test eax, eax
jne 0x460fa0
jmp 0x460f7e
add r14, 0x10
jmp 0x460f49
lea rcx, str.no_such__s_mode:__s
mov r8, rsi
mov rdx, r12
call sym.sqlite3_mprintf
mov rdi, qword [rsp + 0xa8]
mov qword [rdi], rax
jmp 0x46104f
mov edx, eax
and dl, 0x7f
cmp edx, dword [rsp + 0x24]
jle 0x460fd2
lea rcx, str._s_mode_not_allowed:__s
mov r8, rsi
mov rdx, r12
call sym.sqlite3_mprintf
mov rsi, qword [rsp + 0xa8]
mov qword [rsi], rax
mov esi, 3
jmp 0x461054
not edi
and edi, r13d
or eax, edi
mov r13d, eax
lea rdx, [rsi + rbp + 1]
jmp 0x460eb6
movsxd rcx, ebx
call sym.sqlite3_malloc64
test rax, rax
je 0x460cb9
mov dword [rax], 0
lea rbx, [rax + 4]
test edi, edi
movsxd rax, edi
je 0x461010
mov rdi, rbx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov dword [rbx + rax], 0
and r13d, 0xffffffbf
mov rcx, r15
xor esi, esi
call sym.sqlite3_vfs_find
mov rdi, qword [rsp + 0x98]
test rax, rax
mov qword [rdi], rax
jne 0x46105e
lea rcx, str.no_such_vfs:__s
mov rdx, r15
call sym.sqlite3_mprintf
mov rsi, qword [rsp + 0xa8]
mov qword [rsi], rax
mov esi, 1
mov rcx, rbx
xor ebx, ebx
call sym.sqlite3_free_filename
mov rax, qword [rsp + 0x90]
mov dword [rax], r13d
mov rax, qword [rsp + 0xa0]
mov qword [rax], rbx
jmp 0x4610be
cmp r8d, 4
jne 0x460fdc
lea rcx, str.mode
mov r8d, 4
call sym.memcmp
test eax, eax
jne 0x460fdc
lea r12, str.access
mov eax, r13d
mov edi, 0x87
lea r9, [0x004d2aa0]
and eax, 0x87
mov dword [rsp + 0x24], eax
jmp 0x460f3e
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret