Function at 0x410870
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 0x410d72
cmp eax, 0x7c
je 0x410d72
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x4108b4
cmp dword [esi + 0x10], 0
jne 0x410d72
test dword [esi + 0x50], 0x10000000
je 0x410d82
jmp 0x410d07
cmp eax, 0x2e
jne 0x410924
push 5
lea ecx, [esi + 0x24]
call fcn.00410da0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x410d4e
cmp byte [eax], 0x5c
jne 0x410b34
lea edx, [eax + 1]
cmp edx, ecx
je 0x410b34
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4108fe
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x410919
cmp byte [ebp - 1], 0x29
je 0x410919
test bl, 0x10
jne 0x410b34
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x410919
cmp dl, 0x7d
jne 0x410b34
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x410d4e
cmp eax, 0x5c
jne 0x410a6f
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x410975
cmp byte [eax], 0x5c
jne 0x410972
lea edx, [eax + 1]
cmp edx, ecx
je 0x410972
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x41095c
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x41096f
cmp byte [ebp - 1], 0x29
je 0x41096f
test bl, 0x10
jne 0x410972
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x41096f
cmp dl, 0x7d
jne 0x410972
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
test byte [esi + 0x50], 0x80
je 0x410a63
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4109e9
push 4
lea ecx, [esi + 0x24]
call fcn.00410da0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4109dd
cmp byte [eax], 0x5c
jne 0x4109da
lea edx, [eax + 1]
cmp edx, ecx
je 0x4109da
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4109c4
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4109d7
cmp bl, 0x29
je 0x4109d7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4109da
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4109d7
cmp dl, 0x7d
jne 0x4109da
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
jmp 0x410d5f
cmp al, 0x42
jne 0x410a63
push 4
lea ecx, [esi + 0x24]
call fcn.00410da0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x410a57
cmp byte [eax], 0x5c
jne 0x410a54
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x410a52
test byte [esi + 0x50], 8
jne 0x410a2a
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x410a40
cmp cl, 0x29
je 0x410a40
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x410a52
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x410a40
mov edx, ecx
cmp bl, 0x7d
jne 0x410a52
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0040f6b0
jmp 0x410d5f
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
jmp 0x410d5f
mov ecx, esi
call fcn.00411990
jmp 0x410d55
cmp eax, 0x5b
jne 0x410b3c
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x410ac8
cmp byte [eax], 0x5c
jne 0x410ac2
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x410ac0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x410aa6
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x410abb
cmp cl, 0x29
je 0x410abb
mov ecx, eax
test bl, 0x10
jne 0x410ac0
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x410abb
mov edx, ecx
cmp bl, 0x7d
jne 0x410ac0
lea eax, [edx + 1]
jmp 0x410ac2
mov eax, ecx
inc eax
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
mov ecx, esi
call fcn.00411850
cmp dword [esi + 0x4c], 0x5d
jne 0x410d90
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x410d4e
cmp byte [eax], 0x5c
jne 0x410b34
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x410b32
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x410b12
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x410b27
cmp cl, 0x29
je 0x410b27
mov ecx, eax
test bl, 0x10
jne 0x410b32
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x410b27
mov edx, ecx
cmp bl, 0x7d
jne 0x410b32
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x410d4e
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x410d4e
cmp eax, 0x28
jne 0x410c12
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x410b91
cmp byte [eax], 0x5c
jne 0x410b8e
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x410b8c
test byte [esi + 0x50], 8
jne 0x410b71
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x410b87
cmp cl, 0x29
je 0x410b87
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x410b8c
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x410b87
mov edx, ecx
cmp bl, 0x7d
jne 0x410b8c
lea eax, [edx + 1]
jmp 0x410b8e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
mov ecx, esi
call fcn.00411ae0
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x410d82
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x410bfe
cmp byte [eax], 0x5c
jne 0x410bfb
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x410bf6
test byte [esi + 0x50], 8
jne 0x410bdb
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x410bf1
cmp cl, 0x29
je 0x410bf1
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x410bf6
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x410bf1
mov edx, ecx
cmp bl, 0x7d
jne 0x410bf6
lea eax, [edx + 1]
jmp 0x410bf8
mov eax, ecx
mov bl, byte [ebp - 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f6b0
test bl, bl
je 0x410d5f
jmp 0x410d55
cmp eax, 0x5e
jne 0x410c66
push 2
lea ecx, [esi + 0x24]
call fcn.00410da0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x410c5a
cmp byte [eax], 0x5c
jne 0x410c58
inc eax
cmp eax, ecx
je 0x410c58
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x410c47
mov dl, byte [eax]
cmp dl, 0x28
je 0x410c56
cmp dl, 0x29
je 0x410c56
test cl, 0x10
jne 0x410c58
mov al, byte [eax]
cmp al, 0x7b
je 0x410c56
cmp al, 0x7d
jne 0x410c58
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040f6b0
jmp 0x410d5f
cmp eax, 0x24
jne 0x410cbd
push 3
lea ecx, [esi + 0x24]
call fcn.00410da0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x410cb1
cmp byte [eax], 0x5c
jne 0x410caf
inc eax
cmp eax, ecx
je 0x410caf
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x410c9e
mov dl, byte [eax]
cmp dl, 0x28
je 0x410cad
cmp dl, 0x29
je 0x410cad
test cl, 0x10
jne 0x410caf
mov al, byte [eax]
cmp al, 0x7b
je 0x410cad
cmp al, 0x7d
jne 0x410caf
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040f6b0
jmp 0x410d5f
cmp eax, 0x2a
je 0x410d7b
cmp eax, 0x2b
je 0x410d7b
cmp eax, 0x3f
je 0x410d7b
cmp eax, 0x7b
je 0x410d7b
cmp eax, 0x7d
jne 0x410cf5
test dword [esi + 0x50], 0x10000000
je 0x410d89
jmp 0x410d07
cmp eax, 0x5d
jne 0x410d07
test dword [esi + 0x50], 0x10000000
je 0x410d90
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00411f80
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x410d4e
cmp byte [eax], 0x5c
jne 0x410d4c
inc eax
cmp eax, ecx
je 0x410d4c
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x410d3b
mov dl, byte [eax]
cmp dl, 0x28
je 0x410d4a
cmp dl, 0x29
je 0x410d4a
test cl, 0x10
jne 0x410d4c
mov al, byte [eax]
cmp al, 0x7b
je 0x410d4a
cmp al, 0x7d
jne 0x410d4c
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040f6b0
mov ecx, esi
call fcn.00411d60
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x410d72
cmp eax, 0x7c
jne 0x410893
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040f6a0
push 5
call fcn.0040f6a0
push 6
call fcn.0040f6a0
push 4
call fcn.0040f6a0
int3