Function at 0x10129c48
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 0x10129c7b
cmp byte [0x10164ca6], 0
je 0x1012a050
cmp ebx, 4
jle 0x1012a050
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 0x1012a050
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 0x10129cc0
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._sqlite3_malloc64
test eax, eax
jne 0x10129cee
mov ebx, 7
jmp 0x1012a0e6
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 0x10129d0e
mov ebx, 5
xor esi, esi
jmp 0x10129dec
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 6], 0x2f
jne 0x10129d02
mov ebx, 7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx]
test al, al
je 0x10129d2d
cmp al, 0x2f
je 0x10129d2d
inc ebx
jmp 0x10129d1c
cmp ebx, 7
je 0x10129d07
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 7]
cmp ebx, 0x10
jne 0x10129d59
mov dword [esp + 8], 9
mov dword [esp + 4], esi
mov dword [esp], str.localhost
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x10129d07
sub ebx, 7
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.invalid_uri_authority:__.s
jmp 0x10129f74
test dl, dl
je 0x10129eb5
lea ecx, [ebx + 1]
cmp dl, 0x25
jne 0x10129e30
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 1]
mov byte [ebp - 0x2c], al
test byte [eax + 0x101f09a0], 8
je 0x10129ea2
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 2]
mov byte [ebp - 0x30], al
test byte [eax + 0x101f09a0], 8
je 0x10129ea2
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 0x10129ea2
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
cmp al, 0x23
jne 0x10129e05
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 0x10129d70
jmp 0x10129eb5
test al, al
je 0x10129dea
test esi, esi
jne 0x10129e15
cmp al, 0x3f
je 0x10129eae
cmp esi, 1
jne 0x10129e22
cmp al, 0x26
je 0x10129dea
cmp al, 0x3d
jmp 0x10129e2c
cmp esi, 2
je 0x10129e2a
inc ecx
jmp 0x10129de0
cmp al, 0x26
jne 0x10129e27
jmp 0x10129dea
cmp esi, 1
jne 0x10129e6f
cmp dl, 0x26
je 0x10129e3f
cmp dl, 0x3d
jne 0x10129ea2
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + edi - 1], 0
jne 0x10129e64
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x10129dea
cmp al, 0x23
je 0x10129dea
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x26
je 0x10129dea
inc ecx
jmp 0x10129e49
cmp dl, 0x26
jne 0x10129e94
mov byte [eax], 0
inc edi
jmp 0x10129ea0
test esi, esi
jne 0x10129e78
cmp dl, 0x3f
je 0x10129e9b
cmp esi, 2
jne 0x10129ea2
cmp dl, 0x26
sete al
test al, al
mov eax, 1
cmovne esi, eax
mov al, 0
cmovne edx, eax
jmp 0x10129ea2
mov esi, 2
jmp 0x10129ea0
mov esi, 1
xor edx, edx
mov eax, dword [ebp - 0x20]
mov byte [eax + edi], dl
inc edi
jmp 0x10129dea
xor esi, esi
jmp 0x10129dea
dec esi
jne 0x10129ebc
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 0x10129fc8
cmp edi, 5
je 0x10129fd2
cmp edi, 4
jne 0x10129fc1
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], str.mode
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10129fc1
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 0x10129f65
mov eax, ecx
mov dword [ebp - 0x38], ecx
call sym._sqlite3Strlen30
cmp dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
jne 0x1012a00b
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 0x1012a00b
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x1012a013
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.no_such__s_mode:__s
call sym._sqlite3_mprintf
jmp 0x1012a0bc
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 0x10129ed5
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], 0x101e90e6
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 0x10129f7e
jmp 0x1012a093
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], str.cache
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10129fc1
mov dword [ebp - 0x30], 0x60000
mov edi, str.cache
mov ebx, 0x10163f00
mov dword [ebp - 0x2c], 0x60000
jmp 0x10129f23
add ebx, 8
jmp 0x10129f23
mov eax, ecx
mov edx, dword [ebp - 0x2c]
and al, 0x7f
cmp eax, edx
jle 0x1012a03c
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 0x1012a0c1
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
not eax
and eax, edi
or ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x10129fc1
lea eax, [ebx + 8]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym._sqlite3_malloc64
test eax, eax
je 0x10129ce4
xor ecx, ecx
add eax, 4
mov dword [eax - 4], ecx
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x1012a082
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 0x1012a0d6
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