Function at 0x406fc0
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 0x4074a5
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x4074a5
cmp eax, 0x29
jne 0x40700a
cmp dword [esi + 0x10], 0
jne 0x4074a5
test dword [esi + 0x50], 0x10000000
je 0x4074b5
jmp 0x40743f
cmp eax, 0x2e
jne 0x407079
push 5
lea ecx, [esi + 0x24]
call fcn.004074d0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x407486
cmp byte [eax], 0x5c
jne 0x40727b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x40706f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40704f
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x407064
cmp cl, 0x29
je 0x407064
mov ecx, eax
test bl, 0x10
jne 0x40706f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x407064
mov edx, ecx
cmp bl, 0x7d
jne 0x40706f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x407486
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x407486
cmp eax, 0x5c
jne 0x4071c8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4070ce
cmp byte [eax], 0x5c
jne 0x4070cb
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4070c9
test byte [esi + 0x50], 8
jne 0x4070ae
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4070c4
cmp cl, 0x29
je 0x4070c4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4070c9
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4070c4
mov edx, ecx
cmp bl, 0x7d
jne 0x4070c9
lea eax, [edx + 1]
jmp 0x4070cb
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
test byte [esi + 0x50], 0x80
je 0x4071bc
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x407155
push 4
lea ecx, [esi + 0x24]
call fcn.004074d0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x407149
cmp byte [eax], 0x5c
jne 0x407146
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x407144
test byte [esi + 0x50], 8
jne 0x40711c
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x407132
cmp cl, 0x29
je 0x407132
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x407144
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x407132
mov edx, ecx
cmp bl, 0x7d
jne 0x407144
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.00406030
jmp 0x407497
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
jmp 0x407497
cmp al, 0x42
jne 0x4071bc
push 4
lea ecx, [esi + 0x24]
call fcn.004074d0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4071b0
cmp byte [eax], 0x5c
jne 0x4071ad
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x4071ad
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407197
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x4071aa
cmp dl, 0x29
je 0x4071aa
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4071ad
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x4071aa
cmp dl, 0x7d
jne 0x4071ad
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
jmp 0x407497
mov ecx, esi
call fcn.004080d0
jmp 0x40748d
cmp eax, 0x5b
jne 0x407283
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407219
cmp byte [eax], 0x5c
jne 0x407216
lea edx, [eax + 1]
cmp edx, ecx
je 0x407216
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x407200
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x407213
cmp byte [ebp - 1], 0x29
je 0x407213
test bl, 0x10
jne 0x407216
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x407213
cmp dl, 0x7d
jne 0x407216
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
mov ecx, esi
call fcn.00407f90
cmp dword [esi + 0x4c], 0x5d
jne 0x4074c3
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x407486
cmp byte [eax], 0x5c
jne 0x40727b
lea edx, [eax + 1]
cmp edx, ecx
je 0x40727b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x407265
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x407278
cmp byte [ebp - 1], 0x29
je 0x407278
test bl, 0x10
jne 0x40727b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x407278
cmp dl, 0x7d
jne 0x40727b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x407486
cmp eax, 0x28
jne 0x407347
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4072d2
cmp byte [eax], 0x5c
jne 0x4072cf
lea edx, [eax + 1]
cmp edx, ecx
je 0x4072cf
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4072b9
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4072cc
cmp bl, 0x29
je 0x4072cc
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4072cf
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4072cc
cmp dl, 0x7d
jne 0x4072cf
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
mov ecx, esi
call fcn.00408220
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x4074b5
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x407333
cmp byte [eax], 0x5c
jne 0x407330
lea edx, [eax + 1]
cmp edx, ecx
je 0x407330
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40731a
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x40732d
cmp bl, 0x29
je 0x40732d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407330
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x40732d
cmp dl, 0x7d
jne 0x407330
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00406030
test bh, bh
je 0x407497
jmp 0x40748d
cmp eax, 0x5e
jne 0x40739e
push 2
lea ecx, [esi + 0x24]
call fcn.004074d0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407392
cmp byte [eax], 0x5c
jne 0x407390
inc eax
cmp eax, ecx
je 0x407390
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40737f
mov dl, byte [eax]
cmp dl, 0x28
je 0x40738e
cmp dl, 0x29
je 0x40738e
test cl, 0x10
jne 0x407390
mov al, byte [eax]
cmp al, 0x7b
je 0x40738e
cmp al, 0x7d
jne 0x407390
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00406030
jmp 0x407497
cmp eax, 0x24
jne 0x4073f5
push 3
lea ecx, [esi + 0x24]
call fcn.004074d0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4073e9
cmp byte [eax], 0x5c
jne 0x4073e7
inc eax
cmp eax, ecx
je 0x4073e7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4073d6
mov dl, byte [eax]
cmp dl, 0x28
je 0x4073e5
cmp dl, 0x29
je 0x4073e5
test cl, 0x10
jne 0x4073e7
mov al, byte [eax]
cmp al, 0x7b
je 0x4073e5
cmp al, 0x7d
jne 0x4073e7
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00406030
jmp 0x407497
cmp eax, 0x2a
je 0x4074ae
cmp eax, 0x2b
je 0x4074ae
cmp eax, 0x3f
je 0x4074ae
cmp eax, 0x7b
je 0x4074ae
cmp eax, 0x7d
jne 0x40742d
test dword [esi + 0x50], 0x10000000
je 0x4074bc
jmp 0x40743f
cmp eax, 0x5d
jne 0x40743f
test dword [esi + 0x50], 0x10000000
je 0x4074c3
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004085e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x407486
cmp byte [eax], 0x5c
jne 0x407484
inc eax
cmp eax, ecx
je 0x407484
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407473
mov dl, byte [eax]
cmp dl, 0x28
je 0x407482
cmp dl, 0x29
je 0x407482
test cl, 0x10
jne 0x407484
mov al, byte [eax]
cmp al, 0x7b
je 0x407482
cmp al, 0x7d
jne 0x407484
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00406030
mov ecx, esi
call fcn.004083b0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x406fe0
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.00406020
push 5
call fcn.00406020
push 6
call fcn.00406020
push 4
call fcn.00406020
int3