Function at 0x575c30
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebp, dword [r8]
mov ebx, ebp
and ebx, 0x40
mov qword [rsp + 0xa0], r8
mov r13, rcx
mov r14, rdx
mov qword [rsp + 0xa8], r9
test rdx, rdx
je 0x575eb8
mov rcx, rdx
call sym.strlen
mov esi, eax
and esi, 0x3fffffff
lea r12d, [rsi + 8]
movsxd r12, r12d
test ebx, ebx
je 0x575d30
cmp esi, 4
jle 0x575c98
cmp dword [r14], 0x656c6966
je 0x575d48
call sym.sqlite3_initialize
test eax, eax
jne 0x575d20
mov rcx, r12
call sym.sqlite3Malloc
test rax, rax
je 0x575d20
mov dword [rax], 0
lea r12, [rax + 4]
movsxd rbx, esi
test esi, esi
jne 0x575ed8
and ebp, 0xffffffbf
mov dword [r12 + rbx], 0
mov dword [rsp + 0x2c], ebp
mov rcx, r13
xor r14d, r14d
call dbg.sqlite3_vfs_find
mov rdx, qword [rsp + 0xa8]
mov qword [rdx], rax
test rax, rax
je 0x575eeb
mov rax, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x2c]
mov dword [rax], edx
mov rax, qword [rsp + 0xb0]
mov qword [rax], r12
mov eax, r14d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 7
jmp 0x575d0a
movzx eax, byte [0x0060b1a6]
test al, al
je 0x575c98
jmp 0x575c86
cmp byte [r14 + 4], 0x3a
jne 0x575c98
lea edx, [rsi - 1]
mov rax, r14
lea rcx, [r14 + rdx + 1]
nop
xor edx, edx
cmp byte [rax], 0x26
sete dl
add rax, 1
add r12, rdx
cmp rcx, rax
jne 0x575d60
call sym.sqlite3_initialize
mov ebx, eax
test eax, eax
jne 0x575d20
mov rcx, r12
call sym.sqlite3Malloc
test rax, rax
je 0x575d20
or ebp, 0x40
mov dword [rax], 0
cmp byte [r14 + 5], 0x2f
lea r12, [rax + 4]
mov dword [rsp + 0x2c], ebp
je 0x5761c1
movzx eax, byte [r14 + 5]
mov r9d, 5
test al, al
setne dl
cmp al, 0x23
je 0x576358
xor r8d, r8d
xor r15d, r15d
lea rbp, [0x00746f40]
test dl, dl
jne 0x575e25
jmp 0x576358
cmp r8d, 1
je 0x575f50
add ebx, 1
movsxd r10, ebx
add r10, r12
test r8d, r8d
jne 0x575f2f
cmp al, 0x3f
jne 0x575f2f
mov r8d, 1
xor eax, eax
mov byte [r11], al
mov r9d, edx
movzx eax, byte [rcx]
cmp al, 0x23
je 0x575fa7
test al, al
je 0x575fa7
lea edx, [r9 + 1]
movsxd rsi, ebx
movsxd r10, edx
lea r11, [r12 + rsi]
lea rcx, [r14 + r10]
cmp al, 0x25
jne 0x575de0
movzx edi, byte [rcx]
test byte [rbp + rdi], 8
je 0x575f20
movzx r10d, byte [r14 + r10 + 1]
test byte [rbp + r10], 8
je 0x575f20
movsx esi, dil
lea ecx, [r9 + 2]
mov eax, esi
movsxd rcx, ecx
sar eax, 6
and eax, 1
lea edx, [rsi + rax*8]
add eax, edx
lea edx, [r9 + 3]
movsx r9d, byte [r14 + rcx]
and eax, 0xf
movsxd r10, edx
mov ecx, r9d
shl eax, 4
sar ecx, 6
and ecx, 1
lea r9d, [r9 + rcx*8]
add r9d, ecx
lea rcx, [r14 + r10]
and r9d, 0xf
add eax, r9d
je 0x5762f6
add ebx, 1
movsxd r10, ebx
add r10, r12
jmp 0x575e0c
mov r12d, 8
xor esi, esi
test ebx, ebx
jne 0x575c98
movzx eax, byte [0x0060b1a6]
jmp 0x575c98
mov r8, rbx
mov rdx, r14
mov rcx, r12
call sym.memcpy
jmp 0x575cc3
mov rdx, r13
lea rcx, str.no_such_vfs:__s
mov r14d, 1
call dbg.sqlite3_mprintf
mov rdi, qword [rsp + 0xb8]
mov qword [rdi], rax
nop dword [rax + rax]
mov rcx, r12
xor r12d, r12d
call sym.sqlite3_free_filename.part.0
jmp 0x575cf1
cmp r8d, 1
je 0x575f90
add ebx, 1
movsxd r10, ebx
add r10, r12
cmp r8d, 2
jne 0x575e0c
cmp al, 0x26
mov edi, 1
cmove r8d, edi
cmove eax, r15d
jmp 0x575e0c
cmp al, 0x26
je 0x575f58
cmp al, 0x3d
jne 0x575f90
cmp byte [r12 + rsi - 1], 0
je 0x57622b
lea r9d, [rbx + 1]
movsxd r10, r9d
add r10, r12
cmp al, 0x26
je 0x5761a9
mov ebx, r9d
mov r8d, 2
xor eax, eax
jmp 0x575e0c
add ebx, 1
mov r8d, 1
movsxd r10, ebx
add r10, r12
jmp 0x575e0c
mov r10, r11
cmp r8d, 1
je 0x5761e4
mov dword [r10], 0
mov rcx, r12
call sym.strlen
and eax, 0x3fffffff
lea rdi, [r12 + rax + 1]
cmp byte [rdi], 0
je 0x575cd2
mov qword [rsp + 0x30], r12
mov r14d, dword [rsp + 0x2c]
mov qword [rsp + 0x90], r13
nop dword [rax]
mov rcx, rdi
call sym.strlen
mov ebp, eax
and eax, 0x3fffffff
lea rsi, [rdi + rax + 1]
and ebp, 0x3fffffff
mov rcx, rsi
call sym.strlen
mov ebx, eax
and ebx, 0x3fffffff
cmp ebp, 3
je 0x5760f8
cmp ebp, 5
je 0x576160
cmp ebp, 4
jne 0x5760f0
cmp dword [rdi], 0x65646f6d
jne 0x5760f0
mov eax, r14d
mov ebp, 0x87
lea r15, [0x0060a020]
and eax, 0x87
mov dword [rsp + 0x2c], eax
lea rax, str.access
mov qword [rsp + 0x38], rax
mov r12, qword [r15]
test r12, r12
je 0x576128
movsxd rdi, ebx
jmp 0x576081
mov r12, qword [r15 + 0x10]
add r15, 0x10
test r12, r12
je 0x576128
mov rcx, r12
call sym.strlen
and eax, 0x3fffffff
cmp ebx, eax
jne 0x576070
mov r8, rdi
mov rdx, r12
mov rcx, rsi
mov r13, rdi
call sym.memcmp
test eax, eax
jne 0x576070
mov eax, dword [r15 + 8]
test eax, eax
je 0x576128
mov edx, eax
and dl, 0x7f
cmp edx, dword [rsp + 0x2c]
jg 0x5761f7
not ebp
and r14d, ebp
or r14d, eax
lea rdi, [rsi + r13 + 1]
cmp byte [rdi], 0
jne 0x575fe8
mov dword [rsp + 0x2c], r14d
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x90]
jmp 0x575cd2
movsxd r13, ebx
jmp 0x5760c6
cmp word [rdi], 0x6676
je 0x576198
mov eax, 1
test eax, eax
mov rax, rsi
movsxd r13, ebx
cmovne rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], rax
jmp 0x5760c6
mov rdx, qword [rsp + 0x38]
mov r8, rsi
mov dword [rsp + 0x2c], r14d
lea rcx, str.no_such__s_mode:__s
mov r12, qword [rsp + 0x30]
mov r14d, 1
call dbg.sqlite3_mprintf
mov rdi, qword [rsp + 0xb8]
mov qword [rdi], rax
jmp 0x575f10
cmp dword [rdi], 0x68636163
jne 0x5760f0
cmp byte [rdi + 4], 0x65
jne 0x5760f0
lea rax, str.cache
mov dword [rsp + 0x2c], 0x60000
mov ebp, 0x60000
lea r15, str.shared
mov qword [rsp + 0x38], rax
jmp 0x57605d
xor eax, eax
cmp byte [rdi + 2], 0x73
jne 0x576103
jmp 0x576108
add ebx, 2
mov byte [r11], 0
mov r11, r10
movsxd rax, ebx
lea r10, [r12 + rax]
xor eax, eax
jmp 0x575e0c
cmp byte [r14 + 6], 0x2f
je 0x57626a
mov eax, 0x2f
mov edx, 1
mov r9d, 5
jmp 0x575db8
mov r10, r11
mov byte [r10], 0
lea r10d, [rbx + 1]
movsxd r10, r10d
add r10, r12
jmp 0x575fb1
mov rdx, qword [rsp + 0x38]
mov r8, rsi
mov dword [rsp + 0x2c], r14d
lea rcx, str._s_mode_not_allowed:__s
mov r12, qword [rsp + 0x30]
mov r14d, 3
call dbg.sqlite3_mprintf
mov rdi, qword [rsp + 0xb8]
mov qword [rdi], rax
jmp 0x575f10
movzx eax, byte [rcx]
cmp al, 0x23
je 0x5761e1
test al, al
jne 0x576253
jmp 0x5761e1
movzx eax, byte [rcx + 1]
add edx, 1
add rcx, 1
test al, al
je 0x5761e1
cmp al, 0x23
je 0x5761e1
cmp byte [rcx - 1], 0x26
jne 0x576240
movsxd rcx, edx
mov r10, r11
mov r9d, edx
add rcx, r14
jmp 0x575e12
movzx eax, byte [r14 + 7]
lea r8, [r14 + 7]
test al, al
setne cl
mov edx, ecx
cmp al, 0x2f
je 0x57638b
test cl, cl
je 0x57638b
lea rax, [r14 + 8]
mov r9d, 7
jmp 0x5762a5
cmp dl, 0x2f
je 0x5762b7
movzx edx, byte [rax]
mov ecx, r9d
add rax, 1
add r9d, 1
test dl, dl
jne 0x5762a0
cmp r9d, 0x10
jne 0x5762d1
movabs rax, 0x736f686c61636f6c
cmp qword [r14 + 7], rax
je 0x576371
lea edx, [rcx - 6]
lea rcx, str.invalid_uri_authority:__.s
mov r14d, 1
call dbg.sqlite3_mprintf
mov rdi, qword [rsp + 0xb8]
mov qword [rdi], rax
jmp 0x575f10
movzx eax, byte [rcx]
cmp al, 0x23
je 0x575fa4
test al, al
je 0x575fa4
test r8d, r8d
setne dl
jmp 0x576335
cmp r8d, 2
jne 0x57631b
cmp al, 0x26
je 0x57634a
movzx eax, byte [r14 + r10 + 1]
add r10, 1
test al, al
je 0x575fa4
cmp al, 0x23
je 0x575fa4
mov r9d, r10d
cmp al, 0x3f
jne 0x576340
test dl, dl
je 0x576360
cmp r8d, 1
jne 0x576311
cmp al, 0x3d
jne 0x576317
movsxd rcx, r9d
mov r10, r11
add rcx, r14
jmp 0x575e12
mov r10, r12
jmp 0x575fb1
movsxd rcx, r10d
xor r8d, r8d
mov r10, r11
add rcx, r14
jmp 0x575e12
cmp byte [r8 + 8], 0x74
jne 0x5762d1
movzx eax, byte [r14 + 0x10]
test al, al
setne dl
jmp 0x575db8
mov r9d, 7
jmp 0x575db8