Function at 0x1007b210
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], edx
cmp edi, ecx
jne 0x1007b239
xor esi, esi
jmp 0x1007b250
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1007b240
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test bl, 0x40
jne 0x1007b261
cmp dword [0x100d33dc], ecx
je 0x1007b732
cmp esi, 5
jl 0x1007b732
cmp dword [edi], 0x656c6966
jne 0x1007b732
cmp byte [edi + 4], 0x3a
jne 0x1007b732
or dword [esp + 0x14], 0x40
lea eax, [esi + 2]
cdq
mov ebx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
cmp esi, ecx
jle 0x1007b2b5
cmp byte [eax + edi], 0x26
jne 0x1007b2a6
mov ecx, 1
jmp 0x1007b2a8
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x1007b299
call sym.SQLite3Encrypt.dll_sqlite3_initialize
test eax, eax
jne 0x1007b2d6
mov eax, dword [esp + 0x34]
push eax
push ebx
call fcn.10003d80
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
test edx, edx
jne 0x1007b2e2
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 0x2f
mov eax, 5
cmp byte [edi + 5], bl
jne 0x1007b363
cmp byte [edi + 6], bl
jne 0x1007b363
mov cl, byte [edi + 7]
lea edx, [edi + 7]
mov eax, 7
mov dword [esp + 0x30], edx
test cl, cl
je 0x1007b35f
cmp cl, bl
je 0x1007b313
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x1007b306
cmp eax, 7
je 0x1007b35f
cmp eax, 0x10
jne 0x1007b343
lea ecx, [eax - 7]
mov esi, str.localhost
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x1007b33f
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x1007b325
mov cl, byte [edx]
cmp cl, byte [esi]
je 0x1007b35f
mov edx, dword [esp + 0x30]
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [edx], eax
jmp 0x1007b79e
mov edx, dword [esp + 0x10]
mov cl, byte [eax + edi]
xor esi, esi
mov dword [esp + 0x1c], esi
test cl, cl
je 0x1007b4f1
cmp cl, 0x23
je 0x1007b4df
inc eax
cmp cl, 0x25
jne 0x1007b44f
mov dl, byte [eax + edi]
movzx ebx, dl
test byte [ebx + 0x100b8bf0], 8
je 0x1007b44b
movzx ebx, byte [eax + edi + 1]
test byte [ebx + 0x100b8bf0], 8
je 0x1007b44b
movsx esi, byte [eax + edi + 1]
movsx ecx, dl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub cl, bl
mov edx, esi
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov dword [esp + 0x30], esi
movzx edx, byte [esp + 0x30]
sub dl, bl
and ecx, 0xf
shl ecx, 4
add eax, 2
and edx, 0xf
add ecx, edx
jne 0x1007b442
mov cl, byte [eax + edi]
test cl, cl
je 0x1007b4cc
mov edx, dword [esp + 0x1c]
cmp cl, 0x23
je 0x1007b4cc
test edx, edx
jne 0x1007b416
cmp cl, 0x3f
jmp 0x1007b42e
cmp edx, 1
jne 0x1007b426
cmp cl, 0x3d
je 0x1007b4cc
jmp 0x1007b42b
cmp edx, 2
jne 0x1007b434
cmp cl, 0x26
je 0x1007b4cc
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x1007b404
jmp 0x1007b4cc
mov edx, dword [esp + 0x10]
jmp 0x1007b4c0
mov edx, dword [esp + 0x10]
cmp esi, 1
jne 0x1007b4a1
cmp cl, 0x26
je 0x1007b45e
cmp cl, 0x3d
jne 0x1007b4c0
mov esi, dword [esp + 0x18]
cmp byte [edx + esi - 1], 0
jne 0x1007b487
mov cl, byte [eax + edi]
test cl, cl
je 0x1007b4cc
cmp cl, 0x23
je 0x1007b4cc
cmp byte [eax + edi - 1], 0x26
je 0x1007b4cc
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x1007b470
jmp 0x1007b4cc
cmp cl, 0x26
jne 0x1007b497
mov byte [edx + esi], 0
inc esi
mov dword [esp + 0x18], esi
jmp 0x1007b4be
mov dword [esp + 0x1c], 2
jmp 0x1007b4be
test esi, esi
jne 0x1007b4ac
cmp cl, 0x3f
je 0x1007b4b6
jmp 0x1007b4c0
cmp esi, 2
jne 0x1007b4c0
cmp cl, 0x26
jne 0x1007b4c0
mov dword [esp + 0x1c], 1
xor cl, cl
mov esi, dword [esp + 0x18]
mov byte [edx + esi], cl
inc esi
mov dword [esp + 0x18], esi
mov cl, byte [eax + edi]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x1007b374
cmp esi, 1
jne 0x1007b4f1
mov eax, dword [esp + 0x18]
mov byte [edx + eax], 0
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov word [edx + eax], 0
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007b500
mov ecx, dword [esp + 0x10]
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea ecx, [eax + ecx + 1]
je 0x1007b771
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1007b526
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1007b546
xor ebx, ebx
jmp 0x1007b564
mov eax, dword [esp + 0x1c]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1007b550
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x1007b593
cmp byte [ecx], 0x76
jne 0x1007b6fb
cmp byte [ecx + 1], 0x66
jne 0x1007b6fb
cmp byte [ecx + 2], 0x73
jne 0x1007b6fb
mov dword [esp + 0x3c], eax
jmp 0x1007b6fb
cmp esi, 5
jne 0x1007b5c6
cmp dword [ecx], 0x68636163
jne 0x1007b6fb
cmp byte [ecx + 4], 0x65
jne 0x1007b6fb
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x100d4238
mov dword [esp + 0x28], str.cache
jmp 0x1007b5f9
cmp esi, 4
jne 0x1007b6fb
cmp dword [ecx], 0x65646f6d
jne 0x1007b6fb
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x100d4250
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x1007b6ad
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1007b614
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x1007b698
mov edx, dword [esp + 0x1c]
mov esi, ebx
cmp ebx, 4
jb 0x1007b649
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1007b651
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x1007b635
test esi, esi
je 0x1007b6cd
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x1007b68c
cmp esi, 1
jbe 0x1007b6c9
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x1007b68c
cmp esi, 2
jbe 0x1007b6c9
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x1007b68c
cmp esi, 3
jbe 0x1007b6c9
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x1007b6cd
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x1007b60f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
add esp, 0xc
jmp 0x1007b799
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x1007b6ad
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x1007b70c
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x1007b521
jmp 0x1007b771
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x20], 3
jmp 0x1007b7a6
call sym.SQLite3Encrypt.dll_sqlite3_initialize
test eax, eax
jne 0x1007b2d6
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.10003d80
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1007b2d6
push esi
push edi
push ebx
call fcn.100aace0
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov word [ebx + esi], 0
mov esi, dword [esp + 0x3c]
push esi
call sym.SQLite3Encrypt.dll_sqlite3_vfs_find
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x1007b80e
push esi
push str.no_such_vfs:__s
call sym.SQLite3Encrypt.dll_sqlite3_mprintf
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [esp + 0x20], 1
cmp dword [0x100d33d0], 0
je 0x1007b7f8
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x1007b7c2
push eax
call dword [0x100d3428]
add esp, 4
mov esi, dword [esp + 0x10]
push esi
call dword [0x100d3404]
sub dword [0x100d8b08], eax
dec dword [0x100d8b2c]
add esp, 4
push esi
call dword [0x100d33fc]
mov eax, dword [0x100d8cc0]
add esp, 4
test eax, eax
je 0x1007b806
push eax
call dword [0x100d3430]
jmp 0x1007b803
mov edx, dword [esp + 0x10]
push edx
call dword [0x100d33fc]
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [edx], eax
mov eax, dword [esp + 0x18]
pop ebx
mov esp, ebp
pop ebp
ret