Function at 0x100b6580
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], edx
push edi
test esi, esi
jne 0x100b65a3
xor edi, edi
jmp 0x100b65b7
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b65a8
sub edi, ecx
and edi, 0x3fffffff
test dl, 0x40
jne 0x100b65c9
cmp byte [0x101250fe], 0
je 0x100b6a59
cmp edi, 5
jb 0x100b6a59
cmp dword [esi], 0x656c6966
jne 0x100b6a59
cmp byte [esi + 4], 0x3a
jne 0x100b6a59
xor eax, eax
mov dword [ebp - 8], 0
or edx, 0x40
mov dword [ebp - 4], eax
lea ebx, [edi + 8]
mov dword [ebp - 0xc], edx
nop dword [eax]
cmp byte [eax + esi], 0x26
jne 0x100b660f
mov ecx, 1
xor edx, edx
jmp 0x100b661d
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
add ebx, ecx
adc dword [ebp - 4], edx
inc eax
cmp eax, edi
jl 0x100b6600
call sym.e_sqlite3.dll_sqlite3_initialize
test eax, eax
jne 0x100b6b20
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.100b3720
mov edi, eax
add esp, 8
test edi, edi
je 0x100b6b20
mov dword [edi], 0
mov eax, 5
add edi, 4
cmp byte [esi + 5], 0x2f
mov dword [ebp - 4], edi
jne 0x100b66ca
cmp byte [esi + 6], 0x2f
jne 0x100b66ca
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x100b66ca
cmp cl, 0x2f
je 0x100b6685
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x100b6677
cmp eax, 7
je 0x100b66ca
cmp eax, 0x10
jne 0x100b66ac
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x100b66ac
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x100b66ac
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x100b66ca
push edx
add eax, 0xfffffff9
mov dword [ebp - 0x10], 1
push eax
push str.invalid_uri_authority:__.s
call sym.e_sqlite3.dll_sqlite3_mprintf
add esp, 0xc
jmp 0x100b6ad3
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x100b6840
cmp dl, 0x23
je 0x100b682e
inc eax
cmp dl, 0x25
jne 0x100b679e
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x1010d658], 8
je 0x100b679e
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x1010d658], 8
je 0x100b679e
mov ch, byte [eax + esi + 1]
mov dl, bl
sar dl, 6
add eax, 2
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
mov cl, ch
sar cl, 6
and ebx, 0xf
and cl, 1
shl ebx, 4
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, ch
sub cl, dl
and ecx, 0xf
lea edx, [ebx + ecx]
test edx, edx
jne 0x100b6816
mov cl, byte [eax + esi]
test cl, cl
je 0x100b6823
nop dword [eax]
cmp cl, 0x23
je 0x100b6823
test edi, edi
jne 0x100b6772
cmp cl, 0x3f
jmp 0x100b678a
cmp edi, 1
jne 0x100b6782
cmp cl, 0x3d
je 0x100b6823
jmp 0x100b6787
cmp edi, 2
jne 0x100b6790
cmp cl, 0x26
je 0x100b6823
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x100b6760
jmp 0x100b6823
cmp edi, 1
jne 0x100b67fa
cmp dl, 0x26
je 0x100b67ad
cmp dl, 0x3d
jne 0x100b6816
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp byte [ebx + ecx - 1], 0
jne 0x100b67d8
mov cl, byte [eax + esi]
test cl, cl
je 0x100b6823
cmp cl, 0x23
je 0x100b6823
cmp byte [eax + esi - 1], 0x26
je 0x100b6823
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x100b67c1
jmp 0x100b6823
cmp dl, 0x26
jne 0x100b67f1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ebx, ecx
mov byte [ecx + edx], 0
inc edx
mov dword [ebp - 8], edx
xor dl, dl
jmp 0x100b6819
mov edi, 2
xor dl, dl
jmp 0x100b6819
test edi, edi
jne 0x100b6805
cmp dl, 0x3f
je 0x100b680f
jmp 0x100b6816
cmp edi, 2
jne 0x100b6816
cmp dl, 0x26
jne 0x100b6816
xor dl, dl
mov edi, 1
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
mov dl, byte [eax + esi]
test dl, dl
jne 0x100b66d7
mov eax, dword [ebp - 8]
cmp edi, 1
mov edi, dword [ebp - 4]
jne 0x100b6845
mov byte [edi + eax], 0
inc eax
jmp 0x100b6845
mov edi, dword [ebp - 4]
xor eax, eax
mov dword [edi + eax], 0
test edi, edi
jne 0x100b6854
xor ecx, ecx
jmp 0x100b686f
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6860
sub ecx, edx
and ecx, 0x3fffffff
lea edx, [edi + 1]
add edx, ecx
cmp byte [edx], 0
je 0x100b6aa7
mov ebx, 0x73
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6887
sub ecx, esi
lea eax, [edx + 1]
and ecx, 0x3fffffff
add eax, ecx
mov dword [ebp - 8], eax
jne 0x100b68a4
xor edi, edi
jmp 0x100b68c2
mov edi, eax
lea esi, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100b68b0
mov eax, dword [ebp - 8]
sub edi, esi
and edi, 0x3fffffff
cmp ecx, 3
jne 0x100b68e6
mov ecx, 0x6676
cmp cx, word [edx]
jne 0x100b6a29
cmp bl, byte [edx + 2]
jne 0x100b6a29
mov dword [ebp + 8], eax
jmp 0x100b6a29
cmp ecx, 5
jne 0x100b6923
mov eax, 0x68636163
cmp eax, dword [edx]
jne 0x100b6a29
mov eax, 0x65
cmp al, byte [edx + 4]
jne 0x100b6a29
mov eax, 0x60000
mov dword [ebp - 0x18], str.cache
mov dword [ebp - 0x20], eax
mov eax, 0x10126a28
mov dword [ebp - 0x1c], 0x60000
jmp 0x100b6957
cmp ecx, 4
jne 0x100b6a29
cmp dword [edx], 0x65646f6d
jne 0x100b6a29
mov ecx, dword [ebp - 0xc]
mov eax, 0x10126a40
and ecx, 0x87
mov dword [ebp - 0x20], 0x87
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], str.access
mov esi, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x14], eax
test esi, esi
je 0x100b69de
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6970
sub ecx, edx
and ecx, 0x3fffffff
cmp edi, ecx
jne 0x100b69d3
mov ecx, dword [ebp - 8]
mov edx, edi
sub edx, 4
jb 0x100b69a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100b69a6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100b6990
cmp edx, 0xfffffffc
je 0x100b6a00
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x100b69d3
cmp edx, 0xfffffffd
je 0x100b6a00
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x100b69d3
cmp edx, 0xfffffffe
je 0x100b6a00
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100b69d3
cmp edx, 0xffffffff
je 0x100b6a00
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x100b6a00
mov eax, dword [ebp - 0x14]
inc ebx
mov esi, dword [eax + ebx*8]
test esi, esi
jne 0x100b6966
push dword [ebp - 8]
mov dword [ebp - 0x10], 1
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
call sym.e_sqlite3.dll_sqlite3_mprintf
mov edi, dword [ebp - 4]
add esp, 0xc
jmp 0x100b6ad3
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + ebx*8 + 4]
test ecx, ecx
je 0x100b69de
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x100b6a3a
mov eax, dword [ebp - 0x20]
mov ebx, 0x73
not eax
and eax, dword [ebp - 0xc]
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
inc edx
add edx, edi
cmp byte [edx], 0
jne 0x100b6882
jmp 0x100b6aa4
push dword [ebp - 8]
mov dword [ebp - 0x10], 3
push dword [ebp - 0x18]
push str._s_mode_not_allowed:__s
call sym.e_sqlite3.dll_sqlite3_mprintf
mov edi, dword [ebp - 4]
add esp, 0xc
jmp 0x100b6ad3
call sym.e_sqlite3.dll_sqlite3_initialize
test eax, eax
jne 0x100b6b20
lea eax, [edi + 8]
push 0
push eax
call fcn.100b3720
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100b6b20
mov dword [ebx], 0
add ebx, 4
mov dword [ebp - 4], ebx
test edi, edi
je 0x100b6a99
push edi
push esi
push ebx
call fcn.100fba90
add esp, 0xc
and dword [ebp - 0xc], 0xffffffbf
mov dword [ebx + edi], 0
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call sym.e_sqlite3.dll_sqlite3_vfs_find
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x100b6b09
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x10], 1
call sym.e_sqlite3.dll_sqlite3_mprintf
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
test edi, edi
je 0x100b6b07
nop dword [eax]
cmp byte [edi - 1], 0
jne 0x100b6af8
cmp byte [edi - 2], 0
jne 0x100b6af8
cmp byte [edi - 3], 0
jne 0x100b6af8
cmp byte [edi - 4], 0
je 0x100b6afb
dec edi
jmp 0x100b6ae0
lea eax, [edi - 4]
push eax
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret