Function at 0x10010460
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100108fe
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x100108fc
cmp eax, 0x29
jne 0x100104a0
cmp dword [esi + 0x10], 0
jne 0x100108fc
test dword [esi + 0x50], 0x10000000
je 0x1001090b
jmp 0x10010896
cmp eax, 0x2e
jne 0x1001050a
push 5
lea ecx, [esi + 0x24]
call fcn.10012b40
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100108dd
cmp byte [eax], 0x5c
jne 0x10010502
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010500
test byte [esi + 0x50], 8
jne 0x100104df
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100104f5
cmp cl, 0x29
je 0x100104f5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010500
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100104f5
mov edx, ecx
cmp bl, 0x7d
jne 0x10010500
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x100108dd
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x100108dd
cmp eax, 0x5c
jne 0x10010659
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1001055f
cmp byte [eax], 0x5c
jne 0x1001055c
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x1001055a
test byte [esi + 0x50], 8
jne 0x1001053f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010555
cmp cl, 0x29
je 0x10010555
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1001055a
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010555
mov edx, ecx
cmp bl, 0x7d
jne 0x1001055a
lea eax, [edx + 1]
jmp 0x1001055c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
test byte [esi + 0x50], 0x80
je 0x1001064d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x100105e6
push 4
lea ecx, [esi + 0x24]
call fcn.10012b40
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100105da
cmp byte [eax], 0x5c
jne 0x100105d7
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100105d5
test byte [esi + 0x50], 8
jne 0x100105ad
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100105c3
cmp cl, 0x29
je 0x100105c3
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100105d5
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100105c3
mov edx, ecx
cmp bl, 0x7d
jne 0x100105d5
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10013070
jmp 0x100108ee
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
jmp 0x100108ee
cmp al, 0x42
jne 0x1001064d
push 4
lea ecx, [esi + 0x24]
call fcn.10012b40
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010641
cmp byte [eax], 0x5c
jne 0x1001063e
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1001063e
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010628
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1001063b
cmp dl, 0x29
je 0x1001063b
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001063e
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001063b
cmp dl, 0x7d
jne 0x1001063e
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
jmp 0x100108ee
mov ecx, esi
call fcn.10010930
jmp 0x100108e4
cmp eax, 0x5b
jne 0x1001070b
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100106a8
cmp byte [eax], 0x5c
jne 0x100106a5
lea edx, [eax + 1]
cmp edx, ecx
je 0x100106a5
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001068f
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100106a2
cmp bl, 0x29
je 0x100106a2
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100106a5
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100106a2
cmp dl, 0x7d
jne 0x100106a5
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
lea ecx, [esi + 0x24]
call fcn.1000fcc0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100106d0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10012bb0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x100106ee
cmp eax, 0x5d
jne 0x100106ee
push eax
lea ecx, [esi + 0x24]
call fcn.1000fc50
mov ecx, esi
call fcn.10012bb0
mov ecx, esi
call fcn.10011330
cmp dword [esi + 0x4c], 0x5d
jne 0x1001091d
mov ecx, esi
call fcn.10012bb0
jmp 0x100108e4
cmp eax, 0x28
jne 0x10010784
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010756
cmp byte [eax], 0x5c
jne 0x10010753
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010753
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001073d
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10010750
cmp bl, 0x29
je 0x10010750
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10010753
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010750
cmp dl, 0x7d
jne 0x10010753
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
mov ecx, esi
call fcn.10013270
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1001090b
mov ecx, esi
call fcn.10012bb0
test bl, bl
je 0x100108ee
jmp 0x100108e4
cmp eax, 0x5e
jne 0x100107e8
push 2
lea ecx, [esi + 0x24]
call fcn.10012b40
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100107dc
cmp byte [eax], 0x5c
jne 0x100107d9
lea edx, [eax + 1]
cmp edx, ecx
je 0x100107d9
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100107c3
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100107d6
cmp bl, 0x29
je 0x100107d6
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100107d9
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100107d6
cmp dl, 0x7d
jne 0x100107d9
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
jmp 0x100108ee
cmp eax, 0x24
jne 0x1001084c
push 3
lea ecx, [esi + 0x24]
call fcn.10012b40
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010840
cmp byte [eax], 0x5c
jne 0x1001083d
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001083d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010827
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1001083a
cmp bl, 0x29
je 0x1001083a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001083d
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001083a
cmp dl, 0x7d
jne 0x1001083d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013070
jmp 0x100108ee
cmp eax, 0x2a
je 0x10010902
cmp eax, 0x2b
je 0x10010902
cmp eax, 0x3f
je 0x10010902
cmp eax, 0x7b
je 0x10010902
cmp eax, 0x7d
jne 0x10010884
test dword [esi + 0x50], 0x10000000
je 0x10010914
jmp 0x10010896
cmp eax, 0x5d
jne 0x10010896
test dword [esi + 0x50], 0x10000000
je 0x1001091d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000faa0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100108dd
cmp byte [eax], 0x5c
jne 0x100108db
inc eax
cmp eax, ecx
je 0x100108db
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100108ca
mov dl, byte [eax]
cmp dl, 0x28
je 0x100108d9
cmp dl, 0x29
je 0x100108d9
test cl, 0x10
jne 0x100108db
mov al, byte [eax]
cmp al, 0x7b
je 0x100108d9
cmp al, 0x7d
jne 0x100108db
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10013070
mov ecx, esi
call fcn.10012c10
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10010476
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10012070
push 5
mov ecx, esi
call fcn.10012070
push 6
mov ecx, esi
call fcn.10012070
push 4
mov ecx, esi
call fcn.10012070
int3