Function at 0x10012e70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10013355
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x10013355
cmp eax, 0x29
jne 0x10012eba
cmp dword [esi + 0x10], 0
jne 0x10013355
test dword [esi + 0x50], 0x10000000
je 0x10013365
jmp 0x100132ef
cmp eax, 0x2e
jne 0x10012f29
push 5
lea ecx, [esi + 0x24]
call fcn.10013380
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10013336
cmp byte [eax], 0x5c
jne 0x1001312b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10012f1f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10012eff
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10012f14
cmp cl, 0x29
je 0x10012f14
mov ecx, eax
test bl, 0x10
jne 0x10012f1f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10012f14
mov edx, ecx
cmp bl, 0x7d
jne 0x10012f1f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x10013336
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x10013336
cmp eax, 0x5c
jne 0x10013078
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10012f7e
cmp byte [eax], 0x5c
jne 0x10012f7b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10012f79
test byte [esi + 0x50], 8
jne 0x10012f5e
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10012f74
cmp cl, 0x29
je 0x10012f74
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10012f79
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10012f74
mov edx, ecx
cmp bl, 0x7d
jne 0x10012f79
lea eax, [edx + 1]
jmp 0x10012f7b
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
test byte [esi + 0x50], 0x80
je 0x1001306c
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10013005
push 4
lea ecx, [esi + 0x24]
call fcn.10013380
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10012ff9
cmp byte [eax], 0x5c
jne 0x10012ff6
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10012ff4
test byte [esi + 0x50], 8
jne 0x10012fcc
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10012fe2
cmp cl, 0x29
je 0x10012fe2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10012ff4
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10012fe2
mov edx, ecx
cmp bl, 0x7d
jne 0x10012ff4
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10011580
jmp 0x10013347
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
jmp 0x10013347
cmp al, 0x42
jne 0x1001306c
push 4
lea ecx, [esi + 0x24]
call fcn.10013380
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10013060
cmp byte [eax], 0x5c
jne 0x1001305d
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1001305d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10013047
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1001305a
cmp dl, 0x29
je 0x1001305a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001305d
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001305a
cmp dl, 0x7d
jne 0x1001305d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
jmp 0x10013347
mov ecx, esi
call fcn.10014ee0
jmp 0x1001333d
cmp eax, 0x5b
jne 0x10013133
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100130c9
cmp byte [eax], 0x5c
jne 0x100130c6
lea edx, [eax + 1]
cmp edx, ecx
je 0x100130c6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100130b0
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100130c3
cmp byte [ebp - 1], 0x29
je 0x100130c3
test bl, 0x10
jne 0x100130c6
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100130c3
cmp dl, 0x7d
jne 0x100130c6
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
mov ecx, esi
call fcn.10014da0
cmp dword [esi + 0x4c], 0x5d
jne 0x10013373
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10013336
cmp byte [eax], 0x5c
jne 0x1001312b
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001312b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10013115
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10013128
cmp byte [ebp - 1], 0x29
je 0x10013128
test bl, 0x10
jne 0x1001312b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10013128
cmp dl, 0x7d
jne 0x1001312b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10013336
cmp eax, 0x28
jne 0x100131f7
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10013182
cmp byte [eax], 0x5c
jne 0x1001317f
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001317f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10013169
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1001317c
cmp bl, 0x29
je 0x1001317c
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001317f
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001317c
cmp dl, 0x7d
jne 0x1001317f
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
mov ecx, esi
call fcn.10015030
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x10013365
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100131e3
cmp byte [eax], 0x5c
jne 0x100131e0
lea edx, [eax + 1]
cmp edx, ecx
je 0x100131e0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100131ca
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100131dd
cmp bl, 0x29
je 0x100131dd
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100131e0
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100131dd
cmp dl, 0x7d
jne 0x100131e0
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10011580
test bh, bh
je 0x10013347
jmp 0x1001333d
cmp eax, 0x5e
jne 0x1001324e
push 2
lea ecx, [esi + 0x24]
call fcn.10013380
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10013242
cmp byte [eax], 0x5c
jne 0x10013240
inc eax
cmp eax, ecx
je 0x10013240
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001322f
mov dl, byte [eax]
cmp dl, 0x28
je 0x1001323e
cmp dl, 0x29
je 0x1001323e
test cl, 0x10
jne 0x10013240
mov al, byte [eax]
cmp al, 0x7b
je 0x1001323e
cmp al, 0x7d
jne 0x10013240
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10011580
jmp 0x10013347
cmp eax, 0x24
jne 0x100132a5
push 3
lea ecx, [esi + 0x24]
call fcn.10013380
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10013299
cmp byte [eax], 0x5c
jne 0x10013297
inc eax
cmp eax, ecx
je 0x10013297
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10013286
mov dl, byte [eax]
cmp dl, 0x28
je 0x10013295
cmp dl, 0x29
je 0x10013295
test cl, 0x10
jne 0x10013297
mov al, byte [eax]
cmp al, 0x7b
je 0x10013295
cmp al, 0x7d
jne 0x10013297
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10011580
jmp 0x10013347
cmp eax, 0x2a
je 0x1001335e
cmp eax, 0x2b
je 0x1001335e
cmp eax, 0x3f
je 0x1001335e
cmp eax, 0x7b
je 0x1001335e
cmp eax, 0x7d
jne 0x100132dd
test dword [esi + 0x50], 0x10000000
je 0x1001336c
jmp 0x100132ef
cmp eax, 0x5d
jne 0x100132ef
test dword [esi + 0x50], 0x10000000
je 0x10013373
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100153e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10013336
cmp byte [eax], 0x5c
jne 0x10013334
inc eax
cmp eax, ecx
je 0x10013334
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10013323
mov dl, byte [eax]
cmp dl, 0x28
je 0x10013332
cmp dl, 0x29
je 0x10013332
test cl, 0x10
jne 0x10013334
mov al, byte [eax]
cmp al, 0x7b
je 0x10013332
cmp al, 0x7d
jne 0x10013334
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10011580
mov ecx, esi
call fcn.100151b0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10012e90
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.10011570
push 5
call fcn.10011570
push 6
call fcn.10011570
push 4
call fcn.10011570
int3