Function at 0x40ff60
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4102bf
push ebx
push edi
cmp eax, 0x7c
je 0x4102bd
cmp eax, 0x29
jne 0x40ff9d
cmp dword [esi + 0x10], 0
jne 0x4102bd
test dword [esi + 0x50], 0x10000000
je 0x4102cc
jmp 0x410253
cmp eax, 0x2e
jne 0x40ffb1
push 5
lea ecx, [esi + 0x24]
call fcn.00412d30
jmp 0x410260
cmp eax, 0x5c
jne 0x410083
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40fffb
cmp byte [eax], 0x5c
jne 0x40fff8
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40fff6
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ffe5
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40fff8
cmp bl, 0x29
je 0x40fff8
test dl, 0x10
jne 0x40fff6
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40fff8
cmp cl, 0x7d
je 0x40fff8
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00413110
test byte [esi + 0x50], 0x80
je 0x410077
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x410060
push 4
lea ecx, [esi + 0x24]
call fcn.00412d30
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4101fd
cmp byte [eax], 0x5c
jne 0x4101fa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4101f8
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x410058
mov dl, byte [ecx]
cmp dl, 0x28
je 0x4101fa
cmp dl, 0x29
je 0x4101fa
test bl, 0x10
jmp 0x4101ea
cmp al, 0x42
jne 0x410077
push 4
lea ecx, [esi + 0x24]
call fcn.00412d30
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x410019
mov ecx, esi
call fcn.004102f0
jmp 0x4102a8
cmp eax, 0x5b
jne 0x410130
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4100cd
cmp byte [eax], 0x5c
jne 0x4100ca
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4100c8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4100b7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4100ca
cmp bl, 0x29
je 0x4100ca
test dl, 0x10
jne 0x4100c8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4100ca
cmp cl, 0x7d
je 0x4100ca
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00413110
lea ecx, [esi + 0x24]
call fcn.0040f790
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4100f5
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00412da0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x410113
cmp eax, 0x5d
jne 0x410113
push eax
lea ecx, [esi + 0x24]
call fcn.0040f720
mov ecx, esi
call fcn.00412da0
mov ecx, esi
call fcn.00410b70
cmp dword [esi + 0x4c], 0x5d
jne 0x4102de
mov ecx, esi
call fcn.00412da0
jmp 0x4102a8
cmp eax, 0x28
jne 0x4101a4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x410176
cmp byte [eax], 0x5c
jne 0x410173
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x410171
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x410160
mov bl, byte [ecx]
cmp bl, 0x28
je 0x410173
cmp bl, 0x29
je 0x410173
test dl, 0x10
jne 0x410171
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x410173
cmp cl, 0x7d
je 0x410173
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00413110
mov ecx, esi
call fcn.00413430
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4102cc
mov ecx, esi
call fcn.00412da0
test bl, bl
je 0x4102af
jmp 0x4102a8
cmp eax, 0x5e
jne 0x4101ad
push 2
jmp 0x4101b4
cmp eax, 0x24
jne 0x410209
push 3
lea ecx, [esi + 0x24]
call fcn.00412d30
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4101fd
cmp byte [eax], 0x5c
jne 0x4101fa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4101f8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4101e7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4101fa
cmp bl, 0x29
je 0x4101fa
test dl, 0x10
jne 0x4101f8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4101fa
cmp cl, 0x7d
je 0x4101fa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00413110
jmp 0x4102af
cmp eax, 0x2a
je 0x4102c3
cmp eax, 0x2b
je 0x4102c3
cmp eax, 0x3f
je 0x4102c3
cmp eax, 0x7b
je 0x4102c3
cmp eax, 0x7d
jne 0x410241
test dword [esi + 0x50], 0x10000000
je 0x4102d5
jmp 0x410253
cmp eax, 0x5d
jne 0x410253
test dword [esi + 0x50], 0x10000000
je 0x4102de
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040f580
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4102a1
cmp byte [eax], 0x5c
jne 0x41029e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x41029c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x41028b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x41029e
cmp bl, 0x29
je 0x41029e
test dl, 0x10
jne 0x41029c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x41029e
cmp cl, 0x7d
je 0x41029e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00413110
mov ecx, esi
call fcn.00412e80
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40ff73
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00411ba0
push 5
mov ecx, esi
call fcn.00411ba0
push 6
mov ecx, esi
call fcn.00411ba0
push 4
mov ecx, esi
call fcn.00411ba0
int3