Function at 0x10053550
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov ecx, dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
test edi, edi
je 0x10053584
cmp byte [edi], 0
je 0x1005357c
inc esi
cmp byte [esi], 0
jne 0x10053576
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x10053596
cmp dword [0x100ae09c], 0
je 0x10053a86
cmp esi, 5
jl 0x10053a86
cmp dword [edi], 0x656c6966
jne 0x10053a86
cmp byte [edi + 4], 0x3a
jne 0x10053a86
lea eax, [esi + 2]
or ecx, 0x40
xor edx, edx
mov dword [ebp - 0x14], eax
lea eax, [edi + 1]
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
xor eax, eax
cmp byte [edi + ecx - 1], 0x26
sete al
add ebx, eax
xor eax, eax
cmp byte [edi + ecx], 0x26
lea edi, [esi - 1]
sete al
add ecx, 2
add edx, eax
cmp ecx, edi
jl 0x100535d0
mov edi, dword [ebp + 0xc]
cmp ecx, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jge 0x1005360c
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add esi, eax
call sym.YJK_SQL.dll_sqlite3_initialize
test eax, eax
jne 0x10053aba
mov eax, dword [ebp - 0x1c]
add eax, ebx
add eax, esi
push eax
call fcn.100504d0
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x10053aba
cmp byte [edi + 5], 0x2f
jne 0x1005369c
cmp byte [edi + 6], 0x2f
jne 0x1005369c
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
test al, al
je 0x100536a1
cmp al, 0x2f
je 0x1005365e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10053651
cmp esi, 7
je 0x100536a1
cmp esi, 0x10
jne 0x10053685
mov eax, 0x61636f6c
cmp eax, dword [ecx]
jne 0x10053685
mov eax, 0x736f686c
cmp eax, dword [ecx + 4]
jne 0x10053685
mov eax, 0x74
cmp al, byte [ecx + 8]
je 0x100536a1
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call sym.YJK_SQL.dll_sqlite3_mprintf
add esp, 0xc
jmp 0x10053a3a
mov esi, 5
mov dl, byte [esi + edi]
xor ecx, ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x10053841
cmp dl, 0x23
je 0x10053753
inc esi
cmp dl, 0x25
jne 0x1005378f
mov bl, byte [esi + edi]
movzx eax, bl
test byte [eax + 0x10094ae0], 8
je 0x1005378c
movzx eax, byte [edi + esi + 1]
test byte [eax + 0x10094ae0], 8
je 0x1005378c
movsx edx, bl
movsx ebx, byte [esi + edi + 1]
mov ecx, edx
sar ecx, 6
add esi, 2
and cl, 1
mov al, cl
shl al, 3
sub al, cl
sub dl, al
mov eax, ebx
sar eax, 6
and edx, 0xf
and al, 1
shl edx, 4
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
sub al, cl
mov ecx, dword [ebp - 8]
and eax, 0xf
add edx, eax
jne 0x1005377d
mov al, byte [esi + edi]
test al, al
je 0x10053745
mov edi, edi
cmp al, 0x23
je 0x10053745
test ecx, ecx
jne 0x1005373c
cmp al, 0x3f
jmp 0x10053770
cmp ecx, 1
jne 0x10053769
cmp al, 0x3d
jne 0x1005376e
mov ebx, dword [ebp + 0xc]
mov dl, byte [esi + edi]
test dl, dl
jne 0x100536b1
mov eax, dword [ebp - 4]
cmp ecx, 1
jne 0x10053843
mov byte [ebx + eax], 0
inc eax
jmp 0x10053843
cmp ecx, 2
jne 0x10053772
cmp al, 0x26
je 0x10053745
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10053730
jmp 0x10053745
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 4], eax
jmp 0x10053748
mov ebx, dword [ebp + 0xc]
cmp ecx, 1
jne 0x10053806
cmp dl, 0x26
je 0x100537a2
cmp dl, 0x3d
jne 0x10053832
mov eax, dword [ebp - 4]
cmp byte [ebx + eax - 1], 0
jne 0x100537cc
mov al, byte [esi + edi]
test al, al
je 0x10053748
cmp al, 0x23
je 0x10053748
cmp byte [esi + edi - 1], 0x26
je 0x10053748
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x100537b3
jmp 0x10053748
cmp dl, 0x26
jne 0x100537ed
mov edx, dword [ebp - 4]
mov byte [ebx + edx], 0
inc edx
mov dword [ebp - 4], edx
xor dl, dl
mov eax, dword [ebp - 4]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 4], eax
jmp 0x10053748
mov eax, dword [ebp - 4]
xor dl, dl
mov ecx, 2
mov dword [ebp - 8], ecx
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 4], eax
jmp 0x10053748
test ecx, ecx
jne 0x1005381e
cmp dl, 0x3f
je 0x10053828
mov eax, dword [ebp - 4]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 4], eax
jmp 0x10053748
cmp ecx, 2
jne 0x10053832
cmp dl, 0x26
jne 0x10053832
mov ecx, 1
xor dl, dl
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 4], eax
jmp 0x10053748
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x10053856
inc eax
cmp byte [eax], 0
jne 0x10053850
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x10053a15
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x10053877
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 4], edx
mov edi, edx
jne 0x10053894
xor edi, edi
jmp 0x100538ae
cmp byte [edx], 0
je 0x100538a6
lea esp, [esp]
inc edi
cmp byte [edi], 0
jne 0x100538a0
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x100538cd
cmp si, word [ecx]
jne 0x10053a04
cmp bl, byte [ecx + 2]
jne 0x10053a04
mov dword [ebp + 8], edx
jmp 0x10053a04
cmp eax, 5
jne 0x1005390a
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x10053a04
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x10053a04
mov eax, 0x60000
mov dword [ebp - 0x18], 0x60000
mov dword [ebp - 0x1c], eax
mov eax, 0x100ae354
mov dword [ebp - 0x14], str.cache
jmp 0x1005393b
cmp eax, 4
jne 0x10053a04
cmp dword [ecx], 0x65646f6d
jne 0x10053a04
mov esi, dword [ebp - 0xc]
mov eax, 0x100ae36c
and esi, 7
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x100539c1
mov eax, ecx
test ecx, ecx
je 0x1005395e
cmp byte [ecx], 0
je 0x10053957
inc eax
cmp byte [eax], 0
jne 0x10053951
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x100539b6
mov esi, edi
sub esi, 4
jb 0x10053981
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10053986
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10053970
cmp esi, 0xfffffffc
je 0x100539d6
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100539b3
cmp esi, 0xfffffffd
je 0x100539d6
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x100539b3
cmp esi, 0xfffffffe
je 0x100539d6
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x100539b3
cmp esi, 0xffffffff
je 0x100539d6
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x100539d6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x10053946
push dword [ebp - 4]
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
call sym.YJK_SQL.dll_sqlite3_mprintf
add esp, 0xc
jmp 0x10053a3a
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x100539c1
cmp eax, dword [ebp - 0x18]
jg 0x10053a6a
mov ecx, dword [ebp - 0x1c]
mov ebx, 0x73
mov edx, dword [ebp - 4]
not ecx
and ecx, dword [ebp - 0xc]
mov esi, 0x6676
or ecx, eax
mov dword [ebp - 0xc], ecx
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x10053875
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call sym.YJK_SQL.dll_sqlite3_vfs_find
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x10053a53
push esi
push str.no_such_vfs:__s
call sym.YJK_SQL.dll_sqlite3_mprintf
add esp, 8
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0xc]
mov dword [ecx], eax
call sym.YJK_SQL.dll_sqlite3_free
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ecx], ebx
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call sym.YJK_SQL.dll_sqlite3_mprintf
add esp, 0xc
mov dword [ebp - 0x10], 3
jmp 0x10053a41
call sym.YJK_SQL.dll_sqlite3_initialize
test eax, eax
jne 0x10053aba
lea eax, [esi + 2]
push eax
call fcn.100504d0
mov ebx, eax
mov dword [ebp + 0xc], eax
add esp, 4
test ebx, ebx
je 0x10053aba
push esi
push edi
push ebx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov word [ebx + esi], 0
jmp 0x10053a15
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret