Function at 0x101348d8
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 0x1013490b
cmp byte [0x10170ca6], 0
je 0x10134ce0
cmp ebx, 4
jle 0x10134ce0
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 0x10134ce0
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 0x10134950
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._sqlite3_malloc64
test eax, eax
jne 0x1013497e
mov ebx, 7
jmp 0x10134d76
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 0x1013499e
mov ebx, 5
xor esi, esi
jmp 0x10134a7c
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 6], 0x2f
jne 0x10134992
mov ebx, 7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx]
test al, al
je 0x101349bd
cmp al, 0x2f
je 0x101349bd
inc ebx
jmp 0x101349ac
cmp ebx, 7
je 0x10134997
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 7]
cmp ebx, 0x10
jne 0x101349e9
mov dword [esp + 8], 9
mov dword [esp + 4], esi
mov dword [esp], str.localhost
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x10134997
sub ebx, 7
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.invalid_uri_authority:__.s
jmp 0x10134c04
test dl, dl
je 0x10134b45
lea ecx, [ebx + 1]
cmp dl, 0x25
jne 0x10134ac0
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 1]
mov byte [ebp - 0x2c], al
test byte [eax + 0x102002a0], 8
je 0x10134b32
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx + 2]
mov byte [ebp - 0x30], al
test byte [eax + 0x102002a0], 8
je 0x10134b32
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 0x10134b32
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
cmp al, 0x23
jne 0x10134a95
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 0x10134a00
jmp 0x10134b45
test al, al
je 0x10134a7a
test esi, esi
jne 0x10134aa5
cmp al, 0x3f
je 0x10134b3e
cmp esi, 1
jne 0x10134ab2
cmp al, 0x26
je 0x10134a7a
cmp al, 0x3d
jmp 0x10134abc
cmp esi, 2
je 0x10134aba
inc ecx
jmp 0x10134a70
cmp al, 0x26
jne 0x10134ab7
jmp 0x10134a7a
cmp esi, 1
jne 0x10134aff
cmp dl, 0x26
je 0x10134acf
cmp dl, 0x3d
jne 0x10134b32
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + edi - 1], 0
jne 0x10134af4
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x10134a7a
cmp al, 0x23
je 0x10134a7a
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x26
je 0x10134a7a
inc ecx
jmp 0x10134ad9
cmp dl, 0x26
jne 0x10134b24
mov byte [eax], 0
inc edi
jmp 0x10134b30
test esi, esi
jne 0x10134b08
cmp dl, 0x3f
je 0x10134b2b
cmp esi, 2
jne 0x10134b32
cmp dl, 0x26
sete al
test al, al
mov eax, 1
cmovne esi, eax
mov al, 0
cmovne edx, eax
jmp 0x10134b32
mov esi, 2
jmp 0x10134b30
mov esi, 1
xor edx, edx
mov eax, dword [ebp - 0x20]
mov byte [eax + edi], dl
inc edi
jmp 0x10134a7a
xor esi, esi
jmp 0x10134a7a
dec esi
jne 0x10134b4c
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 0x10134c58
cmp edi, 5
je 0x10134c62
cmp edi, 4
jne 0x10134c51
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], str.mode
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10134c51
mov eax, dword [ebp - 0x24]
mov edi, str.access
mov ebx, 0x101703a0
mov dword [ebp - 0x30], 0x87
and eax, 0x87
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x10134bf5
mov eax, ecx
mov dword [ebp - 0x38], ecx
call sym._sqlite3Strlen30
cmp dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
jne 0x10134c9b
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 0x10134c9b
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x10134ca3
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.no_such__s_mode:__s
call sym._sqlite3_mprintf
jmp 0x10134d4c
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 0x10134b65
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], 0x101f89e6
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 0x10134c0e
jmp 0x10134d23
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], str.cache
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x10134c51
mov dword [ebp - 0x30], 0x60000
mov edi, str.cache
mov ebx, 0x1016ff00
mov dword [ebp - 0x2c], 0x60000
jmp 0x10134bb3
add ebx, 8
jmp 0x10134bb3
mov eax, ecx
mov edx, dword [ebp - 0x2c]
and al, 0x7f
cmp eax, edx
jle 0x10134ccc
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 0x10134d51
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
not eax
and eax, edi
or ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x10134c51
lea eax, [ebx + 8]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym._sqlite3_malloc64
test eax, eax
je 0x10134974
xor ecx, ecx
add eax, 4
mov dword [eax - 4], ecx
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x10134d12
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 0x10134d66
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