Function at 0x40970c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0xffffffff
je 0x409741
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7c
je 0x409741
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x29
jne 0x40974e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x40974e
mov al, byte [ebp - 2]
jmp 0x409974
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x29
jne 0x409773
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
and eax, 0x10000000
jne 0x409773
push 5
mov ecx, dword [ebp - 8]
call fcn.0040c3f0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2e
jne 0x409794
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00408e33
mov ecx, dword [ebp - 8]
call fcn.0040d9df
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x5c
jne 0x409825
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
and eax, 0x80
je 0x4097db
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x48]
cmp eax, 0x62
jne 0x4097db
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0040963c
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov byte [ebp - 1], 0
jmp 0x409820
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
and eax, 0x80
je 0x409818
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x48]
cmp eax, 0x42
jne 0x409818
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0040963c
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0040d94c
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov byte [ebp - 1], 0
jmp 0x409820
mov ecx, dword [ebp - 8]
call fcn.00409ad0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x5b
jne 0x40984f
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov ecx, dword [ebp - 8]
call fcn.0040a999
push 4
push 0x5d
mov ecx, dword [ebp - 8]
call fcn.0040c441
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x28
jne 0x40987c
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov ecx, dword [ebp - 8]
call fcn.0040e613
mov byte [ebp - 1], al
push 5
push 0x29
mov ecx, dword [ebp - 8]
call fcn.0040c441
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x5e
jne 0x4098a1
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00408b19
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov byte [ebp - 1], 0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x24
jne 0x4098c6
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00408f18
mov ecx, dword [ebp - 8]
call fcn.0040d9df
mov byte [ebp - 1], 0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2a
je 0x4098ea
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2b
je 0x4098ea
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x3f
je 0x4098ea
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7b
jne 0x4098f6
push 0xa
mov ecx, dword [ebp - 8]
call fcn.0040c3f0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7d
jne 0x409918
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
and eax, 0x10000000
jne 0x409918
push 6
mov ecx, dword [ebp - 8]
call fcn.0040c3f0
jmp 0x40995b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x5d
jne 0x40993a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
and eax, 0x10000000
jne 0x40993a
push 4
mov ecx, dword [ebp - 8]
call fcn.0040c3f0
jmp 0x40995b
mov eax, dword [ebp - 8]
add eax, 0x24
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x48]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00408b2c
mov ecx, dword [ebp - 8]
call fcn.0040d9df
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40996b
mov ecx, dword [ebp - 8]
call fcn.0040daab
mov byte [ebp - 2], 1
jmp 0x409719
leave
ret