Function at 0x688fe844
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x3c
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], eax
mov eax, edx
call fcn.688cdcf9
mov ebx, eax
test byte [ebp - 0x20], 0x40
je 0x688fe873
cmp ebx, 4
jg 0x688fe881
jmp 0x688febe4
mov al, byte [0x68a08ce6]
test al, al
jne 0x688fe869
jmp 0x688febe4
mov dword [esp + 8], 5
mov dword [esp + 4], str.file:
mov dword [esp], esi
call sub.msvcrt.dll_memcmp
mov edi, eax
test eax, eax
jne 0x688febe4
lea eax, [ebx + 8]
mov ecx, dword [ebp - 0x20]
add ebx, esi
mov dword [ebp - 0x1c], ebx
cdq
or ecx, 0x40
mov dword [ebp - 0x24], ecx
mov ecx, esi
xor ebx, ebx
cmp byte [ecx], 0x26
sete bl
add eax, ebx
adc edx, 0
inc ecx
cmp dword [ebp - 0x1c], ecx
jne 0x688fe8b7
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.sqlite.dll_sqlite3_malloc64
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x688fe8e7
mov ebx, 7
jmp 0x688fecd8
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax], edx
add eax, 4
cmp byte [esi + 5], 0x2f
mov dword [ebp - 0x1c], eax
je 0x688fe906
mov ebx, 5
xor ecx, ecx
jmp 0x688fe9de
cmp byte [esi + 6], 0x2f
jne 0x688fe8fa
mov ebx, 7
mov al, byte [esi + ebx]
test al, al
je 0x688fe91f
cmp al, 0x2f
je 0x688fe91f
inc ebx
jmp 0x688fe911
cmp ebx, 7
je 0x688fe8ff
lea edx, [esi + 7]
cmp ebx, 0x10
jne 0x688fe94e
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp], str.localhost
mov dword [ebp - 0x20], edx
call sub.msvcrt.dll_memcmp
mov edx, dword [ebp - 0x20]
test eax, eax
je 0x688fe8ff
sub ebx, 7
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], str.invalid_uri_authority:__.s
jmp 0x688feb67
test dl, dl
je 0x688feaa7
lea eax, [ebx + 1]
mov dword [ebp - 0x20], eax
cmp dl, 0x25
jne 0x688fea1a
movzx eax, byte [esi + ebx + 1]
mov byte [ebp - 0x30], al
test byte [eax + 0x68a18480], 8
je 0x688fea1a
movzx eax, byte [esi + ebx + 2]
mov byte [ebp - 0x34], al
test byte [eax + 0x68a18480], 8
je 0x688fea1a
movsx eax, byte [ebp - 0x30]
call fcn.688c93c6
movzx eax, al
shl eax, 4
mov dword [ebp - 0x30], eax
lea eax, [ebx + 3]
mov dword [ebp - 0x20], eax
movsx eax, byte [ebp - 0x34]
call fcn.688c93c6
movzx edx, al
mov eax, dword [ebp - 0x30]
add edx, eax
jne 0x688fea94
mov eax, dword [ebp - 0x20]
mov al, byte [esi + eax]
cmp al, 0x23
jne 0x688fe9ef
mov ebx, dword [ebp - 0x20]
mov dl, byte [esi + ebx]
cmp dl, 0x23
jne 0x688fe965
jmp 0x688feaa7
test al, al
je 0x688fe9db
test edi, edi
jne 0x688fe9ff
cmp al, 0x3f
je 0x688feaa0
cmp edi, 1
jne 0x688fea0a
cmp al, 0x3d
jne 0x688fea14
jmp 0x688fe9db
cmp edi, 2
je 0x688fea14
inc dword [ebp - 0x20]
jmp 0x688fe9d1
cmp al, 0x26
jne 0x688fea0f
jmp 0x688fe9db
cmp edi, 1
jne 0x688fea61
cmp dl, 0x26
je 0x688fea29
cmp dl, 0x3d
jne 0x688fea94
mov ebx, dword [ebp - 0x1c]
mov eax, ecx
cmp byte [ebx + ecx - 1], 0
jne 0x688fea52
mov eax, dword [ebp - 0x20]
mov al, byte [esi + eax]
test al, al
je 0x688fe9db
cmp al, 0x23
je 0x688fe9db
mov eax, dword [ebp - 0x20]
cmp byte [esi + eax - 1], 0x26
je 0x688fe9db
inc dword [ebp - 0x20]
jmp 0x688fea35
cmp dl, 0x26
jne 0x688fea86
mov edx, dword [ebp - 0x1c]
inc ecx
mov byte [edx + eax], 0
jmp 0x688fea92
test edi, edi
jne 0x688fea6a
cmp dl, 0x3f
je 0x688fea8d
cmp edi, 2
jne 0x688fea94
cmp dl, 0x26
sete al
test al, al
mov eax, 1
cmovne edi, eax
mov al, 0
cmovne edx, eax
jmp 0x688fea94
mov edi, 2
jmp 0x688fea92
mov edi, 1
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov byte [eax + ecx], dl
inc ecx
jmp 0x688fe9db
xor edi, edi
jmp 0x688fe9db
dec edi
jne 0x688feab3
mov eax, dword [ebp - 0x28]
mov byte [eax + ecx + 4], 0
inc ecx
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [eax + ecx], ebx
call fcn.688cdcf9
mov esi, dword [ebp - 0x1c]
jmp 0x688febb7
cmp edi, 5
je 0x688febc2
cmp edi, 4
jne 0x688febb4
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], str.mode
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x688febb4
mov eax, dword [ebp - 0x24]
mov edi, str.access
mov ebx, 0x68a08480
mov dword [ebp - 0x28], 0x87
and eax, 0x87
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x688feb58
mov eax, ecx
mov dword [ebp - 0x34], ecx
call fcn.688cdcf9
cmp dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
jne 0x688fec9f
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x688fec9f
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x688fec54
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.no_such__s_mode:__s
call sym.sqlite.dll_sqlite3_mprintf
jmp 0x688fec4d
mov eax, ebx
call fcn.688cdcf9
lea esi, [ebx + eax + 1]
mov edi, eax
mov eax, esi
call fcn.688cdcf9
mov dword [ebp - 0x20], eax
cmp edi, 3
jne 0x688feac8
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], 0x68a0d7bb
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, dword [ebp - 0x2c]
cmove eax, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
lea ebx, [esi + eax + 1]
cmp byte [ebx], 0
jne 0x688feb71
jmp 0x688fec24
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], str.cache
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x688fecbb
jmp 0x688febb4
lea eax, [ebx + 8]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.sqlite.dll_sqlite3_malloc64
test eax, eax
je 0x688fe8dd
xor ecx, ecx
add eax, 4
mov dword [eax - 4], ecx
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x688fec13
mov edi, eax
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + ebx], edx
mov eax, dword [ebp - 0x20]
and eax, 0xffffffbf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [esp], eax
call sym.sqlite.dll_sqlite3_vfs_find
mov edx, dword [ebp + 8]
mov dword [edx], eax
test eax, eax
jne 0x688fec8d
mov eax, dword [ebp - 0x2c]
mov dword [esp], str.no_such_vfs:__s
mov dword [esp + 4], eax
call sym.sqlite.dll_sqlite3_mprintf
mov ebx, 1
jmp 0x688fec78
mov eax, ecx
mov edx, dword [ebp - 0x30]
and al, 0x7f
cmp eax, edx
jle 0x688feca7
mov dword [esp + 8], esi
mov ebx, 3
mov dword [esp + 4], edi
mov dword [esp], str._s_mode_not_allowed:__s
call sym.sqlite.dll_sqlite3_mprintf
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.sqlite.dll_sqlite3_free_filename
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
jmp 0x688fecd8
add ebx, 8
jmp 0x688feb16
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
not eax
and eax, edi
or ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x688febb4
mov dword [ebp - 0x30], 0x60000
mov edi, str.cache
mov ebx, 0x68a084a8
mov dword [ebp - 0x28], 0x60000
jmp 0x688feb16
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret