Function at 0x100103e0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1001087e
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x1001087c
cmp eax, 0x29
jne 0x10010420
cmp dword [esi + 0x10], 0
jne 0x1001087c
test dword [esi + 0x50], 0x10000000
je 0x1001088b
jmp 0x10010816
cmp eax, 0x2e
jne 0x1001048a
push 5
lea ecx, [esi + 0x24]
call fcn.10012ac0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1001085d
cmp byte [eax], 0x5c
jne 0x10010482
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010480
test byte [esi + 0x50], 8
jne 0x1001045f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010475
cmp cl, 0x29
je 0x10010475
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010480
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010475
mov edx, ecx
cmp bl, 0x7d
jne 0x10010480
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x1001085d
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x1001085d
cmp eax, 0x5c
jne 0x100105d9
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100104df
cmp byte [eax], 0x5c
jne 0x100104dc
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100104da
test byte [esi + 0x50], 8
jne 0x100104bf
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100104d5
cmp cl, 0x29
je 0x100104d5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100104da
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100104d5
mov edx, ecx
cmp bl, 0x7d
jne 0x100104da
lea eax, [edx + 1]
jmp 0x100104dc
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
test byte [esi + 0x50], 0x80
je 0x100105cd
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10010566
push 4
lea ecx, [esi + 0x24]
call fcn.10012ac0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1001055a
cmp byte [eax], 0x5c
jne 0x10010557
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010555
test byte [esi + 0x50], 8
jne 0x1001052d
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010543
cmp cl, 0x29
je 0x10010543
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010555
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010543
mov edx, ecx
cmp bl, 0x7d
jne 0x10010555
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10012ff0
jmp 0x1001086e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
jmp 0x1001086e
cmp al, 0x42
jne 0x100105cd
push 4
lea ecx, [esi + 0x24]
call fcn.10012ac0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100105c1
cmp byte [eax], 0x5c
jne 0x100105be
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x100105be
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100105a8
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x100105bb
cmp dl, 0x29
je 0x100105bb
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100105be
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x100105bb
cmp dl, 0x7d
jne 0x100105be
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
jmp 0x1001086e
mov ecx, esi
call fcn.100108b0
jmp 0x10010864
cmp eax, 0x5b
jne 0x1001068b
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010628
cmp byte [eax], 0x5c
jne 0x10010625
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010625
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001060f
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10010622
cmp bl, 0x29
je 0x10010622
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10010625
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010622
cmp dl, 0x7d
jne 0x10010625
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
lea ecx, [esi + 0x24]
call fcn.1000fc40
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10010650
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10012b30
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1001066e
cmp eax, 0x5d
jne 0x1001066e
push eax
lea ecx, [esi + 0x24]
call fcn.1000fbd0
mov ecx, esi
call fcn.10012b30
mov ecx, esi
call fcn.100112b0
cmp dword [esi + 0x4c], 0x5d
jne 0x1001089d
mov ecx, esi
call fcn.10012b30
jmp 0x10010864
cmp eax, 0x28
jne 0x10010704
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100106d6
cmp byte [eax], 0x5c
jne 0x100106d3
lea edx, [eax + 1]
cmp edx, ecx
je 0x100106d3
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100106bd
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100106d0
cmp bl, 0x29
je 0x100106d0
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100106d3
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100106d0
cmp dl, 0x7d
jne 0x100106d3
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
mov ecx, esi
call fcn.100131f0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1001088b
mov ecx, esi
call fcn.10012b30
test bl, bl
je 0x1001086e
jmp 0x10010864
cmp eax, 0x5e
jne 0x10010768
push 2
lea ecx, [esi + 0x24]
call fcn.10012ac0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1001075c
cmp byte [eax], 0x5c
jne 0x10010759
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010759
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010743
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10010756
cmp bl, 0x29
je 0x10010756
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10010759
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010756
cmp dl, 0x7d
jne 0x10010759
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
jmp 0x1001086e
cmp eax, 0x24
jne 0x100107cc
push 3
lea ecx, [esi + 0x24]
call fcn.10012ac0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100107c0
cmp byte [eax], 0x5c
jne 0x100107bd
lea edx, [eax + 1]
cmp edx, ecx
je 0x100107bd
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100107a7
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100107ba
cmp bl, 0x29
je 0x100107ba
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100107bd
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100107ba
cmp dl, 0x7d
jne 0x100107bd
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012ff0
jmp 0x1001086e
cmp eax, 0x2a
je 0x10010882
cmp eax, 0x2b
je 0x10010882
cmp eax, 0x3f
je 0x10010882
cmp eax, 0x7b
je 0x10010882
cmp eax, 0x7d
jne 0x10010804
test dword [esi + 0x50], 0x10000000
je 0x10010894
jmp 0x10010816
cmp eax, 0x5d
jne 0x10010816
test dword [esi + 0x50], 0x10000000
je 0x1001089d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000fa20
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1001085d
cmp byte [eax], 0x5c
jne 0x1001085b
inc eax
cmp eax, ecx
je 0x1001085b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001084a
mov dl, byte [eax]
cmp dl, 0x28
je 0x10010859
cmp dl, 0x29
je 0x10010859
test cl, 0x10
jne 0x1001085b
mov al, byte [eax]
cmp al, 0x7b
je 0x10010859
cmp al, 0x7d
jne 0x1001085b
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10012ff0
mov ecx, esi
call fcn.10012b90
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x100103f6
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10011ff0
push 5
mov ecx, esi
call fcn.10011ff0
push 6
mov ecx, esi
call fcn.10011ff0
push 4
mov ecx, esi
call fcn.10011ff0
int3