Function at 0x408320
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 0x408822
cmp eax, 0x7c
je 0x408822
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x408364
cmp dword [esi + 0x10], 0
jne 0x408822
test dword [esi + 0x50], 0x10000000
je 0x408832
jmp 0x4087b7
cmp eax, 0x2e
jne 0x4083d4
push 5
lea ecx, [esi + 0x24]
call fcn.00408850
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4087fe
cmp byte [eax], 0x5c
jne 0x4085e4
lea edx, [eax + 1]
cmp edx, ecx
je 0x4085e4
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4083ae
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x4083c9
cmp byte [ebp - 1], 0x29
je 0x4083c9
test bl, 0x10
jne 0x4085e4
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4083c9
cmp dl, 0x7d
jne 0x4085e4
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x4087fe
cmp eax, 0x5c
jne 0x40851f
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x408425
cmp byte [eax], 0x5c
jne 0x408422
lea edx, [eax + 1]
cmp edx, ecx
je 0x408422
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40840c
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x40841f
cmp byte [ebp - 1], 0x29
je 0x40841f
test bl, 0x10
jne 0x408422
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x40841f
cmp dl, 0x7d
jne 0x408422
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
test byte [esi + 0x50], 0x80
je 0x408513
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x408499
push 4
lea ecx, [esi + 0x24]
call fcn.00408850
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40848d
cmp byte [eax], 0x5c
jne 0x40848a
lea edx, [eax + 1]
cmp edx, ecx
je 0x40848a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x408474
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x408487
cmp bl, 0x29
je 0x408487
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x40848a
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x408487
cmp dl, 0x7d
jne 0x40848a
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
jmp 0x40880f
cmp al, 0x42
jne 0x408513
push 4
lea ecx, [esi + 0x24]
call fcn.00408850
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x408507
cmp byte [eax], 0x5c
jne 0x408504
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x408502
test byte [esi + 0x50], 8
jne 0x4084da
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4084f0
cmp cl, 0x29
je 0x4084f0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x408502
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4084f0
mov edx, ecx
cmp bl, 0x7d
jne 0x408502
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.00407150
jmp 0x40880f
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
jmp 0x40880f
mov ecx, esi
call fcn.00409540
jmp 0x408805
cmp eax, 0x5b
jne 0x4085ec
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x408578
cmp byte [eax], 0x5c
jne 0x408572
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x408570
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x408556
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x40856b
cmp cl, 0x29
je 0x40856b
mov ecx, eax
test bl, 0x10
jne 0x408570
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x40856b
mov edx, ecx
cmp bl, 0x7d
jne 0x408570
lea eax, [edx + 1]
jmp 0x408572
mov eax, ecx
inc eax
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
mov ecx, esi
call fcn.00409400
cmp dword [esi + 0x4c], 0x5d
jne 0x408840
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4087fe
cmp byte [eax], 0x5c
jne 0x4085e4
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x4085e2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4085c2
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x4085d7
cmp cl, 0x29
je 0x4085d7
mov ecx, eax
test bl, 0x10
jne 0x4085e2
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x4085d7
mov edx, ecx
cmp bl, 0x7d
jne 0x4085e2
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x4087fe
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x4087fe
cmp eax, 0x28
jne 0x4086c2
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x408641
cmp byte [eax], 0x5c
jne 0x40863e
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x40863c
test byte [esi + 0x50], 8
jne 0x408621
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x408637
cmp cl, 0x29
je 0x408637
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40863c
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x408637
mov edx, ecx
cmp bl, 0x7d
jne 0x40863c
lea eax, [edx + 1]
jmp 0x40863e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
mov ecx, esi
call fcn.00409690
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x408832
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4086ae
cmp byte [eax], 0x5c
jne 0x4086ab
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4086a6
test byte [esi + 0x50], 8
jne 0x40868b
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4086a1
cmp cl, 0x29
je 0x4086a1
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4086a6
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4086a1
mov edx, ecx
cmp bl, 0x7d
jne 0x4086a6
lea eax, [edx + 1]
jmp 0x4086a8
mov eax, ecx
mov bl, byte [ebp - 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00407150
test bl, bl
je 0x40880f
jmp 0x408805
cmp eax, 0x5e
jne 0x408716
push 2
lea ecx, [esi + 0x24]
call fcn.00408850
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40870a
cmp byte [eax], 0x5c
jne 0x408708
inc eax
cmp eax, ecx
je 0x408708
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4086f7
mov dl, byte [eax]
cmp dl, 0x28
je 0x408706
cmp dl, 0x29
je 0x408706
test cl, 0x10
jne 0x408708
mov al, byte [eax]
cmp al, 0x7b
je 0x408706
cmp al, 0x7d
jne 0x408708
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00407150
jmp 0x40880f
cmp eax, 0x24
jne 0x40876d
push 3
lea ecx, [esi + 0x24]
call fcn.00408850
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x408761
cmp byte [eax], 0x5c
jne 0x40875f
inc eax
cmp eax, ecx
je 0x40875f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40874e
mov dl, byte [eax]
cmp dl, 0x28
je 0x40875d
cmp dl, 0x29
je 0x40875d
test cl, 0x10
jne 0x40875f
mov al, byte [eax]
cmp al, 0x7b
je 0x40875d
cmp al, 0x7d
jne 0x40875f
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00407150
jmp 0x40880f
cmp eax, 0x2a
je 0x40882b
cmp eax, 0x2b
je 0x40882b
cmp eax, 0x3f
je 0x40882b
cmp eax, 0x7b
je 0x40882b
cmp eax, 0x7d
jne 0x4087a5
test dword [esi + 0x50], 0x10000000
je 0x408839
jmp 0x4087b7
cmp eax, 0x5d
jne 0x4087b7
test dword [esi + 0x50], 0x10000000
je 0x408840
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00409c00
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4087fe
cmp byte [eax], 0x5c
jne 0x4087fc
inc eax
cmp eax, ecx
je 0x4087fc
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4087eb
mov dl, byte [eax]
cmp dl, 0x28
je 0x4087fa
cmp dl, 0x29
je 0x4087fa
test cl, 0x10
jne 0x4087fc
mov al, byte [eax]
cmp al, 0x7b
je 0x4087fa
cmp al, 0x7d
jne 0x4087fc
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00407150
mov ecx, esi
call fcn.004099e0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x408822
cmp eax, 0x7c
jne 0x408343
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.00407140
push 5
call fcn.00407140
push 6
call fcn.00407140
push 4
call fcn.00407140
int3