Function at 0x10083470
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
push ebx
push ebp
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
mov esi, edi
cmp edi, eax
jne 0x10083497
xor esi, esi
jmp 0x100834ad
cmp byte [edi], al
je 0x100834a5
jmp 0x100834a0
inc esi
cmp byte [esi], al
jne 0x100834a0
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x100834be
cmp dword [0x103b380c], eax
je 0x10083943
cmp esi, 5
jl 0x10083943
cmp dword [edi], 0x656c6966
jne 0x10083943
cmp byte [edi + 4], 0x3a
jne 0x10083943
or dword [esp + 0x14], 0x40
xor ebx, ebx
xor ebp, ebp
cmp esi, 2
lea ecx, [esi + 2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x1008351e
lea ecx, [esi - 1]
lea esp, [esp]
xor edx, edx
cmp byte [edi + eax], 0x26
sete dl
add ebx, edx
xor edx, edx
cmp byte [edi + eax + 1], 0x26
sete dl
add eax, 2
add ebp, edx
cmp eax, ecx
jl 0x10083500
cmp eax, esi
jge 0x1008352f
xor ecx, ecx
cmp byte [eax + edi], 0x26
sete cl
add dword [esp + 0x1c], ecx
call sym.NirvanaBiz.dll_sqlite3_initialize
test eax, eax
jne 0x1008354f
add ebp, ebx
add ebp, dword [esp + 0x1c]
push ebp
call fcn.10023b40
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008355c
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
cmp byte [edi + 5], cl
jne 0x100835cf
cmp byte [edi + 6], cl
jne 0x100835cf
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x100835d4
cmp al, cl
je 0x10083584
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10083577
cmp esi, 7
je 0x100835d4
cmp esi, 0x10
jne 0x100835b2
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x100835b2
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10083598
mov al, byte [ecx]
cmp al, byte [edx]
je 0x100835d4
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call sym.NirvanaBiz.dll_sqlite3_mprintf
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x100839ae
mov esi, 5
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
xor ebp, ebp
test al, al
je 0x1008371e
cmp al, 0x23
je 0x1008370e
inc esi
cmp al, 0x25
jne 0x10083692
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x103692e8], 8
je 0x10083692
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x103692e8], 8
je 0x10083692
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
inc esi
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
inc esi
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x1008368a
mov al, byte [esi + edi]
test al, al
je 0x100836ff
cmp al, 0x23
je 0x100836ff
test ebp, ebp
jne 0x10083663
cmp al, 0x3f
jmp 0x10083679
cmp ebp, 1
jne 0x10083672
cmp al, 0x3d
je 0x100836ff
jmp 0x10083677
cmp ebp, 2
jne 0x1008367f
cmp al, 0x26
je 0x100836ff
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10083653
jmp 0x100836ff
mov edx, dword [esp + 0x18]
mov al, cl
jmp 0x100836f3
cmp ebp, 1
jne 0x100836d9
cmp al, 0x26
je 0x1008369f
cmp al, 0x3d
jne 0x100836f3
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x100836c7
mov al, byte [esi + edi]
test al, al
je 0x100836ff
cmp al, 0x23
je 0x100836ff
cmp byte [esi + edi - 1], 0x26
je 0x100836ff
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x100836b1
jmp 0x100836ff
cmp al, 0x26
jne 0x100836d2
mov byte [ecx + edx], 0
inc edx
jmp 0x100836f1
mov ebp, 2
jmp 0x100836f1
test ebp, ebp
jne 0x100836e3
cmp al, 0x3f
je 0x100836ec
jmp 0x100836f3
cmp ebp, 2
jne 0x100836f3
cmp al, 0x26
jne 0x100836f3
mov ebp, 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0x18], edx
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
test al, al
jne 0x100835e5
mov eax, dword [esp + 0x10]
cmp ebp, 1
jne 0x10083722
mov byte [eax + edx], 0
inc edx
jmp 0x10083722
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
cmp byte [eax], 0
je 0x10083736
inc eax
cmp byte [eax], 0
jne 0x10083730
mov ecx, dword [esp + 0x10]
sub eax, ecx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x10083983
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x10083752
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov ecx, ebx
cmp ebx, ebp
jne 0x10083775
mov dword [esp + 0x1c], ebp
jmp 0x10083792
cmp byte [ebx], 0
je 0x10083786
lea ebx, [ebx]
inc ecx
cmp byte [ecx], 0
jne 0x10083780
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x1c], ecx
cmp eax, 3
jne 0x100837bd
cmp byte [edx], 0x76
jne 0x1008390e
cmp byte [edx + 1], 0x66
jne 0x1008390e
cmp byte [edx + 2], 0x73
jne 0x1008390e
mov dword [esp + 0x2c], ebx
jmp 0x1008390e
cmp eax, 5
jne 0x100837f0
cmp dword [edx], 0x68636163
jne 0x1008390e
cmp byte [edx + 4], 0x65
jne 0x1008390e
mov eax, 0x60000
mov dword [esp + 0x28], eax
mov edi, 0x103b465c
mov dword [esp + 0x20], str.cache
jmp 0x10083823
cmp eax, 4
jne 0x1008390e
cmp dword [edx], 0x65646f6d
jne 0x1008390e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 0x87
mov edi, 0x103b4674
and eax, 0x87
mov dword [esp + 0x20], str.access
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x100838cc
mov eax, ecx
test ecx, ecx
je 0x1008384d
cmp byte [ecx], 0
je 0x10083846
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x10083840
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x1c], eax
jne 0x100838bf
mov esi, dword [esp + 0x1c]
mov edx, ebx
cmp esi, 4
jb 0x10083874
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10083878
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x10083860
test esi, esi
je 0x100838e8
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x100838b3
cmp esi, 1
jbe 0x100838e4
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x100838b3
cmp esi, 2
jbe 0x100838e4
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x100838b3
cmp esi, 3
jbe 0x100838e4
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 0x100838e8
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x10083831
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push str.no_such__s_mode:__s
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0xc
jmp 0x100839a8
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + ebp*8 + 4]
test eax, eax
je 0x100838cc
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x24]
jg 0x10083923
mov ecx, dword [esp + 0x28]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
jne 0x10083750
jmp 0x10083983
mov eax, dword [esp + 0x20]
push ebx
push eax
push str._s_mode_not_allowed:__s
call sym.NirvanaBiz.dll_sqlite3_mprintf
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov esi, 3
jmp 0x100839b3
call sym.NirvanaBiz.dll_sqlite3_initialize
test eax, eax
jne 0x1008354f
lea edx, [esi + 2]
push edx
call fcn.10023b40
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1008354f
push esi
push edi
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x2c]
push esi
call sym.NirvanaBiz.dll_sqlite3_vfs_find
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x100839ca
push esi
push str.no_such_vfs:__s
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov esi, 1
mov eax, dword [esp + 0x10]
push eax
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x100839ce
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret