Function at 0x4179c0
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 0x417ec2
cmp eax, 0x7c
je 0x417ec2
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x417a04
cmp dword [esi + 0x10], 0
jne 0x417ec2
test dword [esi + 0x50], 0x10000000
je 0x417ed2
jmp 0x417e57
cmp eax, 0x2e
jne 0x417a74
push 5
lea ecx, [esi + 0x24]
call fcn.00417ef0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x417e9e
cmp byte [eax], 0x5c
jne 0x417c84
lea edx, [eax + 1]
cmp edx, ecx
je 0x417c84
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x417a4e
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x417a69
cmp byte [ebp - 1], 0x29
je 0x417a69
test bl, 0x10
jne 0x417c84
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x417a69
cmp dl, 0x7d
jne 0x417c84
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x417e9e
cmp eax, 0x5c
jne 0x417bbf
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x417ac5
cmp byte [eax], 0x5c
jne 0x417ac2
lea edx, [eax + 1]
cmp edx, ecx
je 0x417ac2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x417aac
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x417abf
cmp byte [ebp - 1], 0x29
je 0x417abf
test bl, 0x10
jne 0x417ac2
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x417abf
cmp dl, 0x7d
jne 0x417ac2
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
test byte [esi + 0x50], 0x80
je 0x417bb3
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x417b39
push 4
lea ecx, [esi + 0x24]
call fcn.00417ef0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x417b2d
cmp byte [eax], 0x5c
jne 0x417b2a
lea edx, [eax + 1]
cmp edx, ecx
je 0x417b2a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x417b14
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x417b27
cmp bl, 0x29
je 0x417b27
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x417b2a
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x417b27
cmp dl, 0x7d
jne 0x417b2a
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
jmp 0x417eaf
cmp al, 0x42
jne 0x417bb3
push 4
lea ecx, [esi + 0x24]
call fcn.00417ef0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x417ba7
cmp byte [eax], 0x5c
jne 0x417ba4
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x417ba2
test byte [esi + 0x50], 8
jne 0x417b7a
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x417b90
cmp cl, 0x29
je 0x417b90
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x417ba2
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x417b90
mov edx, ecx
cmp bl, 0x7d
jne 0x417ba2
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004160e0
jmp 0x417eaf
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
jmp 0x417eaf
mov ecx, esi
call fcn.004191a0
jmp 0x417ea5
cmp eax, 0x5b
jne 0x417c8c
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x417c18
cmp byte [eax], 0x5c
jne 0x417c12
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x417c10
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x417bf6
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x417c0b
cmp cl, 0x29
je 0x417c0b
mov ecx, eax
test bl, 0x10
jne 0x417c10
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x417c0b
mov edx, ecx
cmp bl, 0x7d
jne 0x417c10
lea eax, [edx + 1]
jmp 0x417c12
mov eax, ecx
inc eax
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
mov ecx, esi
call fcn.00419060
cmp dword [esi + 0x4c], 0x5d
jne 0x417ee0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x417e9e
cmp byte [eax], 0x5c
jne 0x417c84
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x417c82
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x417c62
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x417c77
cmp cl, 0x29
je 0x417c77
mov ecx, eax
test bl, 0x10
jne 0x417c82
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x417c77
mov edx, ecx
cmp bl, 0x7d
jne 0x417c82
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x417e9e
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x417e9e
cmp eax, 0x28
jne 0x417d62
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x417ce1
cmp byte [eax], 0x5c
jne 0x417cde
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x417cdc
test byte [esi + 0x50], 8
jne 0x417cc1
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x417cd7
cmp cl, 0x29
je 0x417cd7
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x417cdc
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x417cd7
mov edx, ecx
cmp bl, 0x7d
jne 0x417cdc
lea eax, [edx + 1]
jmp 0x417cde
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
mov ecx, esi
call fcn.004192f0
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x417ed2
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x417d4e
cmp byte [eax], 0x5c
jne 0x417d4b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x417d46
test byte [esi + 0x50], 8
jne 0x417d2b
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x417d41
cmp cl, 0x29
je 0x417d41
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x417d46
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x417d41
mov edx, ecx
cmp bl, 0x7d
jne 0x417d46
lea eax, [edx + 1]
jmp 0x417d48
mov eax, ecx
mov bl, byte [ebp - 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004160e0
test bl, bl
je 0x417eaf
jmp 0x417ea5
cmp eax, 0x5e
jne 0x417db6
push 2
lea ecx, [esi + 0x24]
call fcn.00417ef0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x417daa
cmp byte [eax], 0x5c
jne 0x417da8
inc eax
cmp eax, ecx
je 0x417da8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x417d97
mov dl, byte [eax]
cmp dl, 0x28
je 0x417da6
cmp dl, 0x29
je 0x417da6
test cl, 0x10
jne 0x417da8
mov al, byte [eax]
cmp al, 0x7b
je 0x417da6
cmp al, 0x7d
jne 0x417da8
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004160e0
jmp 0x417eaf
cmp eax, 0x24
jne 0x417e0d
push 3
lea ecx, [esi + 0x24]
call fcn.00417ef0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x417e01
cmp byte [eax], 0x5c
jne 0x417dff
inc eax
cmp eax, ecx
je 0x417dff
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x417dee
mov dl, byte [eax]
cmp dl, 0x28
je 0x417dfd
cmp dl, 0x29
je 0x417dfd
test cl, 0x10
jne 0x417dff
mov al, byte [eax]
cmp al, 0x7b
je 0x417dfd
cmp al, 0x7d
jne 0x417dff
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004160e0
jmp 0x417eaf
cmp eax, 0x2a
je 0x417ecb
cmp eax, 0x2b
je 0x417ecb
cmp eax, 0x3f
je 0x417ecb
cmp eax, 0x7b
je 0x417ecb
cmp eax, 0x7d
jne 0x417e45
test dword [esi + 0x50], 0x10000000
je 0x417ed9
jmp 0x417e57
cmp eax, 0x5d
jne 0x417e57
test dword [esi + 0x50], 0x10000000
je 0x417ee0
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00419690
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x417e9e
cmp byte [eax], 0x5c
jne 0x417e9c
inc eax
cmp eax, ecx
je 0x417e9c
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x417e8b
mov dl, byte [eax]
cmp dl, 0x28
je 0x417e9a
cmp dl, 0x29
je 0x417e9a
test cl, 0x10
jne 0x417e9c
mov al, byte [eax]
cmp al, 0x7b
je 0x417e9a
cmp al, 0x7d
jne 0x417e9c
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004160e0
mov ecx, esi
call fcn.00419470
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x417ec2
cmp eax, 0x7c
jne 0x4179e3
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004160d0
push 5
call fcn.004160d0
push 6
call fcn.004160d0
push 4
call fcn.004160d0
int3