Function at 0x10129a28
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov eax, edx
mov dword [ebp - 0x34], ecx
call sym._sqlite3Strlen30
mov ebx, eax
test byte [ebp - 0x24], 0x40
jne 0x10129a5b
cmp byte [0x10164ca6], 0
je 0x10129e30
cmp ebx, 4
jle 0x10129e30
mov dword [esp + 8], 5
mov dword [esp + 4], str.file:
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov edi, eax
test eax, eax
jne 0x10129e30
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
lea eax, [ebx + 8]
cdq
or ecx, 0x40
mov dword [ebp - 0x24], ecx
mov ecx, esi
add ecx, ebx
mov dword [ebp - 0x20], ecx
xor ecx, ecx
cmp byte [esi], 0x26
sete cl
xor ebx, ebx
add eax, ecx
adc edx, ebx
inc esi
cmp dword [ebp - 0x20], esi
jne 0x10129aa0
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._sqlite3_malloc64
test eax, eax
jne 0x10129ace
mov ebx, 7
jmp 0x10129ec6
xor esi, esi
add eax, 4
mov dword [eax - 4], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 5], 0x2f
je 0x10129aee
mov ebx, 5
xor esi, esi
jmp 0x10129bcc
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 6], 0x2f
jne 0x10129ae2
mov ebx, 7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx]
test al, al
je 0x10129b0d
cmp al, 0x2f
je 0x10129b0d
inc ebx
jmp 0x10129afc
cmp ebx, 7
je 0x10129ae7
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 7]
cmp ebx, 0x10
jne 0x10129b39
mov dword [esp + 8], 9
mov dword [esp + 4], esi
mov dword [esp], str.localhost
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x10129ae7
sub ebx, 7
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.invalid_uri_authority:__.s
jmp 0x10129d54
test dl, dl
je 0x10129c95
lea ecx, [ebx + 1]
cmp dl, 0x25
jne 0x10129c10
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 1]
mov byte [ebp - 0x2c], al
test byte [eax + 0x101f4ca0], 8
je 0x10129c82
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 2]
mov byte [ebp - 0x30], al
test byte [eax + 0x101f4ca0], 8
je 0x10129c82
movsx eax, byte [ebp - 0x2c]
lea ecx, [ebx + 3]
call sym._sqlite3HexToInt
movzx eax, al
shl eax, 4
mov dword [ebp - 0x2c], eax
movsx eax, byte [ebp - 0x30]
call sym._sqlite3HexToInt
movzx edx, al
mov eax, dword [ebp - 0x2c]
add edx, eax
jne 0x10129c82
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
cmp al, 0x23
jne 0x10129be5
mov ebx, ecx
mov eax, dword [ebp - 0x1c]
mov dl, byte [eax + ebx]
mov eax, dword [ebp - 0x20]
add eax, edi
cmp dl, 0x23
jne 0x10129b50
jmp 0x10129c95
test al, al
je 0x10129bca
test esi, esi
jne 0x10129bf5
cmp al, 0x3f
je 0x10129c8e
cmp esi, 1
jne 0x10129c02
cmp al, 0x26
je 0x10129bca
cmp al, 0x3d
jmp 0x10129c0c
cmp esi, 2
je 0x10129c0a
inc ecx
jmp 0x10129bc0
cmp al, 0x26
jne 0x10129c07
jmp 0x10129bca
cmp esi, 1
jne 0x10129c4f
cmp dl, 0x26
je 0x10129c1f
cmp dl, 0x3d
jne 0x10129c82
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + edi - 1], 0
jne 0x10129c44
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x10129bca
cmp al, 0x23
je 0x10129bca
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x26
je 0x10129bca
inc ecx
jmp 0x10129c29
cmp dl, 0x26
jne 0x10129c74
mov byte [eax], 0
inc edi
jmp 0x10129c80
test esi, esi
jne 0x10129c58
cmp dl, 0x3f
je 0x10129c7b
cmp esi, 2
jne 0x10129c82
cmp dl, 0x26
sete al
test al, al
mov eax, 1
cmovne esi, eax
mov al, 0
cmovne edx, eax
jmp 0x10129c82
mov esi, 2
jmp 0x10129c80
mov esi, 1
xor edx, edx
mov eax, dword [ebp - 0x20]
mov byte [eax + edi], dl
inc edi
jmp 0x10129bca
xor esi, esi
jmp 0x10129bca
dec esi
jne 0x10129c9c
mov byte [eax], 0
inc edi
mov eax, dword [ebp - 0x20]
xor ebx, ebx
mov dword [eax + edi], ebx
call sym._sqlite3Strlen30
mov edi, dword [ebp - 0x20]
lea ebx, [edi + eax + 1]
jmp 0x10129da8
cmp edi, 5
je 0x10129db2
cmp edi, 4
jne 0x10129da1
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], str.mode
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10129da1
mov eax, dword [ebp - 0x24]
mov edi, str.access
mov ebx, 0x101643a0
mov dword [ebp - 0x30], 0x87
and eax, 0x87
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x10129d45
mov eax, ecx
mov dword [ebp - 0x38], ecx
call sym._sqlite3Strlen30
cmp dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
jne 0x10129deb
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10129deb
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x10129df3
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.no_such__s_mode:__s
call sym._sqlite3_mprintf
jmp 0x10129e9c
mov eax, ebx
call sym._sqlite3Strlen30
lea esi, [ebx + eax + 1]
mov edi, eax
mov eax, esi
call sym._sqlite3Strlen30
mov dword [ebp - 0x1c], eax
cmp edi, 3
jne 0x10129cb5
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], 0x101ed3fe
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, dword [ebp - 0x28]
cmove eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [esi + eax + 1]
cmp byte [ebx], 0
jne 0x10129d5e
jmp 0x10129e73
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], str.cache
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10129da1
mov dword [ebp - 0x30], 0x60000
mov edi, str.cache
mov ebx, 0x10163f00
mov dword [ebp - 0x2c], 0x60000
jmp 0x10129d03
add ebx, 8
jmp 0x10129d03
mov eax, ecx
mov edx, dword [ebp - 0x2c]
and al, 0x7f
cmp eax, edx
jle 0x10129e1c
mov dword [esp + 8], esi
mov ebx, 3
mov dword [esp + 4], edi
mov dword [esp], str._s_mode_not_allowed:__s
call sym._sqlite3_mprintf
jmp 0x10129ea1
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
not eax
and eax, edi
or ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x10129da1
lea eax, [ebx + 8]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym._sqlite3_malloc64
test eax, eax
je 0x10129ac4
xor ecx, ecx
add eax, 4
mov dword [eax - 4], ecx
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x10129e62
mov esi, dword [ebp - 0x1c]
mov edi, eax
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + ebx], edx
mov eax, dword [ebp - 0x24]
and eax, 0xffffffbf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov dword [esp], eax
call sym._sqlite3_vfs_find
mov edx, dword [ebp + 8]
mov dword [edx], eax
test eax, eax
jne 0x10129eb6
mov eax, dword [ebp - 0x28]
mov dword [esp], str.no_such_vfs:__s
mov dword [esp + 4], eax
call sym._sqlite3_mprintf
mov ebx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._sqlite3_free_filename
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x20]
mov dword [eax], edi
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret