Function at 0x1004cbd0
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 0x1004d0b5
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x1004d0b5
cmp eax, 0x29
jne 0x1004cc1a
cmp dword [esi + 0x10], 0
jne 0x1004d0b5
test dword [esi + 0x50], 0x10000000
je 0x1004d0c5
jmp 0x1004d04f
cmp eax, 0x2e
jne 0x1004cc89
push 5
lea ecx, [esi + 0x24]
call fcn.1004d0e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1004d096
cmp byte [eax], 0x5c
jne 0x1004ce8b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x1004cc7f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1004cc5f
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x1004cc74
cmp cl, 0x29
je 0x1004cc74
mov ecx, eax
test bl, 0x10
jne 0x1004cc7f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x1004cc74
mov edx, ecx
cmp bl, 0x7d
jne 0x1004cc7f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x1004d096
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x1004d096
cmp eax, 0x5c
jne 0x1004cdd8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1004ccde
cmp byte [eax], 0x5c
jne 0x1004ccdb
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x1004ccd9
test byte [esi + 0x50], 8
jne 0x1004ccbe
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1004ccd4
cmp cl, 0x29
je 0x1004ccd4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1004ccd9
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1004ccd4
mov edx, ecx
cmp bl, 0x7d
jne 0x1004ccd9
lea eax, [edx + 1]
jmp 0x1004ccdb
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
test byte [esi + 0x50], 0x80
je 0x1004cdcc
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1004cd65
push 4
lea ecx, [esi + 0x24]
call fcn.1004d0e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1004cd59
cmp byte [eax], 0x5c
jne 0x1004cd56
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x1004cd54
test byte [esi + 0x50], 8
jne 0x1004cd2c
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1004cd42
cmp cl, 0x29
je 0x1004cd42
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1004cd54
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1004cd42
mov edx, ecx
cmp bl, 0x7d
jne 0x1004cd54
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.1004bfa0
jmp 0x1004d0a7
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
jmp 0x1004d0a7
cmp al, 0x42
jne 0x1004cdcc
push 4
lea ecx, [esi + 0x24]
call fcn.1004d0e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1004cdc0
cmp byte [eax], 0x5c
jne 0x1004cdbd
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1004cdbd
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004cda7
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1004cdba
cmp dl, 0x29
je 0x1004cdba
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1004cdbd
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004cdba
cmp dl, 0x7d
jne 0x1004cdbd
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
jmp 0x1004d0a7
mov ecx, esi
call fcn.1004d8c0
jmp 0x1004d09d
cmp eax, 0x5b
jne 0x1004ce93
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1004ce29
cmp byte [eax], 0x5c
jne 0x1004ce26
lea edx, [eax + 1]
cmp edx, ecx
je 0x1004ce26
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1004ce10
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1004ce23
cmp byte [ebp - 1], 0x29
je 0x1004ce23
test bl, 0x10
jne 0x1004ce26
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004ce23
cmp dl, 0x7d
jne 0x1004ce26
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
mov ecx, esi
call fcn.1004d780
cmp dword [esi + 0x4c], 0x5d
jne 0x1004d0d3
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1004d096
cmp byte [eax], 0x5c
jne 0x1004ce8b
lea edx, [eax + 1]
cmp edx, ecx
je 0x1004ce8b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1004ce75
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1004ce88
cmp byte [ebp - 1], 0x29
je 0x1004ce88
test bl, 0x10
jne 0x1004ce8b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004ce88
cmp dl, 0x7d
jne 0x1004ce8b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x1004d096
cmp eax, 0x28
jne 0x1004cf57
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1004cee2
cmp byte [eax], 0x5c
jne 0x1004cedf
lea edx, [eax + 1]
cmp edx, ecx
je 0x1004cedf
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004cec9
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1004cedc
cmp bl, 0x29
je 0x1004cedc
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1004cedf
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004cedc
cmp dl, 0x7d
jne 0x1004cedf
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
mov ecx, esi
call fcn.1004da10
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x1004d0c5
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1004cf43
cmp byte [eax], 0x5c
jne 0x1004cf40
lea edx, [eax + 1]
cmp edx, ecx
je 0x1004cf40
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004cf2a
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1004cf3d
cmp bl, 0x29
je 0x1004cf3d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1004cf40
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004cf3d
cmp dl, 0x7d
jne 0x1004cf40
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1004bfa0
test bh, bh
je 0x1004d0a7
jmp 0x1004d09d
cmp eax, 0x5e
jne 0x1004cfae
push 2
lea ecx, [esi + 0x24]
call fcn.1004d0e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1004cfa2
cmp byte [eax], 0x5c
jne 0x1004cfa0
inc eax
cmp eax, ecx
je 0x1004cfa0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004cf8f
mov dl, byte [eax]
cmp dl, 0x28
je 0x1004cf9e
cmp dl, 0x29
je 0x1004cf9e
test cl, 0x10
jne 0x1004cfa0
mov al, byte [eax]
cmp al, 0x7b
je 0x1004cf9e
cmp al, 0x7d
jne 0x1004cfa0
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1004bfa0
jmp 0x1004d0a7
cmp eax, 0x24
jne 0x1004d005
push 3
lea ecx, [esi + 0x24]
call fcn.1004d0e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1004cff9
cmp byte [eax], 0x5c
jne 0x1004cff7
inc eax
cmp eax, ecx
je 0x1004cff7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004cfe6
mov dl, byte [eax]
cmp dl, 0x28
je 0x1004cff5
cmp dl, 0x29
je 0x1004cff5
test cl, 0x10
jne 0x1004cff7
mov al, byte [eax]
cmp al, 0x7b
je 0x1004cff5
cmp al, 0x7d
jne 0x1004cff7
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1004bfa0
jmp 0x1004d0a7
cmp eax, 0x2a
je 0x1004d0be
cmp eax, 0x2b
je 0x1004d0be
cmp eax, 0x3f
je 0x1004d0be
cmp eax, 0x7b
je 0x1004d0be
cmp eax, 0x7d
jne 0x1004d03d
test dword [esi + 0x50], 0x10000000
je 0x1004d0cc
jmp 0x1004d04f
cmp eax, 0x5d
jne 0x1004d04f
test dword [esi + 0x50], 0x10000000
je 0x1004d0d3
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1004ddc0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1004d096
cmp byte [eax], 0x5c
jne 0x1004d094
inc eax
cmp eax, ecx
je 0x1004d094
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004d083
mov dl, byte [eax]
cmp dl, 0x28
je 0x1004d092
cmp dl, 0x29
je 0x1004d092
test cl, 0x10
jne 0x1004d094
mov al, byte [eax]
cmp al, 0x7b
je 0x1004d092
cmp al, 0x7d
jne 0x1004d094
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1004bfa0
mov ecx, esi
call fcn.1004db90
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1004cbf0
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.1004bf90
push 5
call fcn.1004bf90
push 6
call fcn.1004bf90
push 4
call fcn.1004bf90
int3