Function at 0x10162fa0
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 ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edx
cmp edi, ebx
jne 0x10162fc9
xor esi, esi
jmp 0x10162fe0
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10162fd0
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x10162ff1
cmp byte [0x1029242e], bl
je 0x101634d9
cmp esi, 5
jl 0x101634d9
cmp dword [edi], 0x656c6966
jne 0x101634d9
cmp byte [edi + 4], 0x3a
jne 0x101634d9
lea eax, [esi + 2]
cdq
mov dword [esp + 0x10], ebx
mov ebx, eax
or ecx, 0x40
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x10163047
cmp byte [eax + edi], 0x26
jne 0x10163038
mov ecx, 1
jmp 0x1016303a
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x1016302b
call sym.SQLite.Interop.dll_sqlite3_initialize
test eax, eax
jne 0x1016307a
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x1016306c
push eax
push ebx
call fcn.10145440
add esp, 8
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x10163072
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x10163086
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 5], 0x2f
mov ecx, 5
jne 0x1016310e
cmp byte [edi + 6], 0x2f
jne 0x1016310e
mov al, byte [edi + 7]
lea edx, [edi + 7]
mov ecx, 7
mov dword [esp + 0x30], edx
test al, al
je 0x1016310e
lea ebx, [ebx]
cmp al, 0x2f
je 0x101630bd
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x101630b0
cmp ecx, 7
je 0x1016310e
cmp ecx, 0x10
jne 0x101630ee
lea eax, [ecx - 7]
mov esi, str.localhost
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x101630ea
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x101630d0
mov dl, byte [edx]
cmp dl, byte [esi]
je 0x1016310a
mov edx, dword [esp + 0x30]
push edx
add ecx, 0xfffffff9
push ecx
push str.invalid_uri_authority:__.s
call sym.SQLite.Interop.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x1016355d
mov ebx, dword [esp + 0x18]
mov al, byte [ecx + edi]
xor esi, esi
mov dword [esp + 0x1c], esi
test al, al
je 0x10163290
nop
cmp al, 0x23
je 0x1016327e
inc ecx
cmp al, 0x25
jne 0x101631f4
mov dl, byte [ecx + edi]
movzx ebx, dl
test byte [ebx + 0x1026d528], 8
je 0x101631f0
movzx ebx, byte [ecx + edi + 1]
test byte [ebx + 0x1026d528], 8
je 0x101631f0
movsx esi, byte [ecx + edi + 1]
movsx eax, dl
mov edx, eax
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub al, 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 eax, 0xf
shl eax, 4
add ecx, 2
and edx, 0xf
add eax, edx
jne 0x101631ea
mov al, byte [ecx + edi]
test al, al
je 0x1016326b
mov edx, dword [esp + 0x1c]
mov edi, edi
cmp al, 0x23
je 0x1016326b
test edx, edx
jne 0x101631c0
cmp al, 0x3f
jmp 0x101631d6
cmp edx, 1
jne 0x101631cf
cmp al, 0x3d
je 0x1016326b
jmp 0x101631d4
cmp edx, 2
jne 0x101631dc
cmp al, 0x26
je 0x1016326b
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x101631b0
jmp 0x1016326b
mov ebx, dword [esp + 0x18]
jmp 0x1016325f
mov ebx, dword [esp + 0x18]
cmp esi, 1
jne 0x10163242
cmp al, 0x26
je 0x10163201
cmp al, 0x3d
jne 0x1016325f
mov edx, dword [esp + 0x10]
cmp byte [ebx + edx - 1], 0
jne 0x10163229
mov al, byte [ecx + edi]
test al, al
je 0x1016326b
cmp al, 0x23
je 0x1016326b
cmp byte [ecx + edi - 1], 0x26
je 0x1016326b
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x10163213
jmp 0x1016326b
cmp al, 0x26
jne 0x10163238
mov byte [ebx + edx], 0
inc edx
mov dword [esp + 0x10], edx
jmp 0x1016325d
mov dword [esp + 0x1c], 2
jmp 0x1016325d
test esi, esi
jne 0x1016324c
cmp al, 0x3f
je 0x10163255
jmp 0x1016325f
cmp esi, 2
jne 0x1016325f
cmp al, 0x26
jne 0x1016325f
mov dword [esp + 0x1c], 1
xor al, al
mov edx, dword [esp + 0x10]
mov byte [ebx + edx], al
inc edx
mov dword [esp + 0x10], edx
mov al, byte [ecx + edi]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test al, al
jne 0x10163120
cmp esi, 1
jne 0x10163290
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov word [ebx + eax], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101632a0
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea ecx, [eax + ebx + 1]
je 0x10163530
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x101632c5
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101632e5
xor ebx, ebx
jmp 0x10163304
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x101632f0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x10163333
cmp byte [ecx], 0x76
jne 0x1016349c
cmp byte [ecx + 1], 0x66
jne 0x1016349c
cmp byte [ecx + 2], 0x73
jne 0x1016349c
mov dword [esp + 0x3c], eax
jmp 0x1016349c
cmp esi, 5
jne 0x10163366
cmp dword [ecx], 0x68636163
jne 0x1016349c
cmp byte [ecx + 4], 0x65
jne 0x1016349c
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x10293a64
mov dword [esp + 0x28], str.cache
jmp 0x10163399
cmp esi, 4
jne 0x1016349c
cmp dword [ecx], 0x65646f6d
jne 0x1016349c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x10293a7c
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x10163449
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x101633b4
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x10163434
mov edx, dword [esp + 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x101633e5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x101633ed
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x101633d1
test esi, esi
je 0x1016346e
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x10163428
cmp esi, 1
jbe 0x1016346a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x10163428
cmp esi, 2
jbe 0x1016346a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x10163428
cmp esi, 3
jbe 0x1016346a
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 0x1016346e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x101633af
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call sym.SQLite.Interop.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x1016355d
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x10163449
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x101634b0
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x101632c0
jmp 0x10163530
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call sym.SQLite.Interop.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x24], 3
jmp 0x10163565
lea eax, [esi + 2]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call sym.SQLite.Interop.dll_sqlite3_initialize
test eax, eax
jne 0x1016307a
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x10163508
push eax
push ebx
call fcn.10145440
add esp, 8
mov ebx, eax
jmp 0x1016350a
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x1016307a
test esi, esi
je 0x10163525
push esi
push edi
push ebx
call fcn.100ffb30
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov word [ebx + esi], 0
mov esi, dword [esp + 0x3c]
push esi
call sym.SQLite.Interop.dll_sqlite3_vfs_find
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x101635cd
push esi
push str.no_such_vfs:__s
call sym.SQLite.Interop.dll_sqlite3_mprintf
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x24], 1
cmp dword [0x10292428], 0
je 0x101635b7
mov eax, dword [0x10299778]
test eax, eax
je 0x10163581
push eax
call dword [0x10292478]
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call dword [0x10292454]
sub dword [0x10299710], eax
dec dword [0x10299734]
add esp, 4
push esi
call dword [0x1029244c]
mov eax, dword [0x10299778]
add esp, 4
test eax, eax
je 0x101635c5
push eax
call dword [0x10292480]
jmp 0x101635c2
mov eax, dword [esp + 0x20]
push eax
call dword [0x1029244c]
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
pop ebx
mov esp, ebp
pop ebp
ret