Function at 0x100c1250
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax]
mov esi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], ecx
test edi, edi
je 0x100c128e
cmp byte [edi], 0
je 0x100c1286
jmp 0x100c1280
inc esi
cmp byte [esi], 0
jne 0x100c1280
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x100c12a0
cmp dword [0x1017054c], 0
je 0x100c17a5
cmp esi, 5
jl 0x100c17a5
cmp dword [edi], 0x656c6966
jne 0x100c17a5
cmp byte [edi + 4], 0x3a
jne 0x100c17a5
lea eax, [esi + 2]
or ecx, 0x40
xor edx, edx
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
mov edi, dword [ebp - 0x20]
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 0x100c12e0
mov edi, dword [ebp - 0x1c]
cmp ecx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
jge 0x100c131c
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add esi, eax
call fcn.100bf1d0
test eax, eax
jne 0x100c17dd
mov eax, dword [ebp - 0x20]
add eax, ebx
add eax, esi
push eax
call fcn.1005ed70
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x100c17dd
cmp byte [edi + 5], 0x2f
jne 0x100c13ac
cmp byte [edi + 6], 0x2f
jne 0x100c13ac
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
test al, al
je 0x100c13b1
cmp al, 0x2f
je 0x100c136e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x100c1361
cmp esi, 7
je 0x100c13b1
cmp esi, 0x10
jne 0x100c1395
mov eax, 0x61636f6c
cmp eax, dword [ecx]
jne 0x100c1395
mov eax, 0x736f686c
cmp eax, dword [ecx + 4]
jne 0x100c1395
mov eax, 0x74
cmp al, byte [ecx + 8]
je 0x100c13b1
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.10060830
add esp, 0xc
jmp 0x100c1759
mov esi, 5
mov dl, byte [esi + edi]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test dl, dl
je 0x100c1551
cmp dl, 0x23
je 0x100c1463
inc esi
cmp dl, 0x25
jne 0x100c149f
mov bl, byte [esi + edi]
movzx eax, bl
test byte [eax + 0x10135310], 8
je 0x100c149c
movzx eax, byte [edi + esi + 1]
test byte [eax + 0x10135310], 8
je 0x100c149c
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 - 0x10]
and eax, 0xf
add edx, eax
jne 0x100c148d
mov al, byte [esi + edi]
test al, al
je 0x100c1455
mov edi, edi
cmp al, 0x23
je 0x100c1455
test ecx, ecx
jne 0x100c144c
cmp al, 0x3f
jmp 0x100c1480
cmp ecx, 1
jne 0x100c1479
cmp al, 0x3d
jne 0x100c147e
mov ebx, dword [ebp - 4]
mov dl, byte [esi + edi]
test dl, dl
jne 0x100c13c1
mov eax, dword [ebp - 8]
cmp ecx, 1
jne 0x100c1553
mov byte [ebx + eax], 0
inc eax
jmp 0x100c1553
cmp ecx, 2
jne 0x100c1482
cmp al, 0x26
je 0x100c1455
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x100c1440
jmp 0x100c1455
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 8], eax
jmp 0x100c1458
mov ebx, dword [ebp - 4]
cmp ecx, 1
jne 0x100c1516
cmp dl, 0x26
je 0x100c14b2
cmp dl, 0x3d
jne 0x100c1542
mov eax, dword [ebp - 8]
cmp byte [ebx + eax - 1], 0
jne 0x100c14dc
mov al, byte [esi + edi]
test al, al
je 0x100c1458
cmp al, 0x23
je 0x100c1458
cmp byte [esi + edi - 1], 0x26
je 0x100c1458
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x100c14c3
jmp 0x100c1458
cmp dl, 0x26
jne 0x100c14fd
mov edx, dword [ebp - 8]
mov byte [ebx + edx], 0
inc edx
mov dword [ebp - 8], edx
xor dl, dl
mov eax, dword [ebp - 8]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 8], eax
jmp 0x100c1458
mov eax, dword [ebp - 8]
xor dl, dl
mov ecx, 2
mov dword [ebp - 0x10], ecx
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 8], eax
jmp 0x100c1458
test ecx, ecx
jne 0x100c152e
cmp dl, 0x3f
je 0x100c1538
mov eax, dword [ebp - 8]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 8], eax
jmp 0x100c1458
cmp ecx, 2
jne 0x100c1542
cmp dl, 0x26
jne 0x100c1542
mov ecx, 1
xor dl, dl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov byte [ebx + eax], dl
inc eax
mov dword [ebp - 8], eax
jmp 0x100c1458
xor eax, eax
mov word [ebx + eax], 0
mov eax, ebx
cmp byte [ebx], 0
je 0x100c1566
inc eax
cmp byte [eax], 0
jne 0x100c1560
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x100c1734
mov esi, 0x6676
mov ebx, 0x73
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x100c1587
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 8], edx
mov edi, edx
jne 0x100c15a4
xor edi, edi
jmp 0x100c15be
cmp byte [edx], 0
je 0x100c15b6
lea esp, [esp]
inc edi
cmp byte [edi], 0
jne 0x100c15b0
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x100c15dd
cmp si, word [ecx]
jne 0x100c1723
cmp bl, byte [ecx + 2]
jne 0x100c1723
mov dword [ebp - 0x24], edx
jmp 0x100c1723
cmp eax, 5
jne 0x100c161a
mov eax, 0x68636163
cmp eax, dword [ecx]
jne 0x100c1723
mov eax, 0x65
cmp al, byte [ecx + 4]
jne 0x100c1723
mov eax, 0x60000
mov dword [ebp - 0x1c], 0x60000
mov dword [ebp - 0x20], eax
mov eax, 0x101704b8
mov dword [ebp - 0x18], str.cache
jmp 0x100c164e
cmp eax, 4
jne 0x100c1723
cmp dword [ecx], 0x65646f6d
jne 0x100c1723
mov esi, dword [ebp - 0xc]
mov eax, 0x1016fce0
and esi, 0x87
mov dword [ebp - 0x20], 0x87
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.access
mov ecx, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x100c16d9
lea ecx, [ecx]
mov eax, ecx
test ecx, ecx
je 0x100c167d
cmp byte [ecx], 0
je 0x100c1676
jmp 0x100c1670
inc eax
cmp byte [eax], 0
jne 0x100c1670
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x100c16ce
mov esi, edi
sub esi, 4
jb 0x100c1699
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100c169e
add edx, 4
add ecx, 4
sub esi, 4
jae 0x100c1688
cmp esi, 0xfffffffc
je 0x100c16ee
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100c16cb
cmp esi, 0xfffffffd
je 0x100c16ee
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x100c16cb
cmp esi, 0xfffffffe
je 0x100c16ee
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x100c16cb
cmp esi, 0xffffffff
je 0x100c16ee
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x100c16ee
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x100c1660
push dword [ebp - 8]
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
call fcn.10060830
add esp, 0xc
jmp 0x100c1759
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x100c16d9
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x100c1789
mov eax, dword [ebp - 0x20]
mov ebx, 0x73
mov edx, dword [ebp - 8]
not eax
and eax, dword [ebp - 0xc]
mov esi, 0x6676
or eax, ecx
mov dword [ebp - 0xc], eax
lea ecx, [edx + 1]
add ecx, edi
cmp byte [ecx], 0
jne 0x100c1585
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x24]
push esi
call fcn.1005e3d0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x100c1772
push esi
push str.no_such_vfs:__s
call fcn.10060830
add esp, 8
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 0x14]
push dword [ebp - 4]
mov dword [ecx], eax
call fcn.1005f070
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push dword [ebp - 0x18]
push str._s_mode_not_allowed:__s
call fcn.10060830
add esp, 0xc
mov dword [ebp - 0x14], 3
jmp 0x100c1760
call fcn.100bf1d0
test eax, eax
jne 0x100c17dd
lea eax, [esi + 2]
push eax
call fcn.1005ed70
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
je 0x100c17dd
push esi
push edi
push ebx
call fcn.10107980
add esp, 0xc
mov word [ebx + esi], 0
and dword [ebp - 0xc], 0xffffffbf
jmp 0x100c1734
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret