Function at 0x407010
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4074ae
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x4074ac
cmp eax, 0x29
jne 0x407050
cmp dword [esi + 0x10], 0
jne 0x4074ac
test dword [esi + 0x50], 0x10000000
je 0x4074bb
jmp 0x407446
cmp eax, 0x2e
jne 0x4070ba
push 5
lea ecx, [esi + 0x24]
call fcn.004099f0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40748d
cmp byte [eax], 0x5c
jne 0x4070b2
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4070b0
test byte [esi + 0x50], 8
jne 0x40708f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4070a5
cmp cl, 0x29
je 0x4070a5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4070b0
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4070a5
mov edx, ecx
cmp bl, 0x7d
jne 0x4070b0
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x40748d
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x40748d
cmp eax, 0x5c
jne 0x407209
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40710f
cmp byte [eax], 0x5c
jne 0x40710c
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x40710a
test byte [esi + 0x50], 8
jne 0x4070ef
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x407105
cmp cl, 0x29
je 0x407105
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40710a
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x407105
mov edx, ecx
cmp bl, 0x7d
jne 0x40710a
lea eax, [edx + 1]
jmp 0x40710c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
test byte [esi + 0x50], 0x80
je 0x4071fd
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x407196
push 4
lea ecx, [esi + 0x24]
call fcn.004099f0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40718a
cmp byte [eax], 0x5c
jne 0x407187
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x407185
test byte [esi + 0x50], 8
jne 0x40715d
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x407173
cmp cl, 0x29
je 0x407173
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x407185
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x407173
mov edx, ecx
cmp bl, 0x7d
jne 0x407185
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0040a180
jmp 0x40749e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
jmp 0x40749e
cmp al, 0x42
jne 0x4071fd
push 4
lea ecx, [esi + 0x24]
call fcn.004099f0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4071f1
cmp byte [eax], 0x5c
jne 0x4071ee
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x4071ee
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4071d8
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x4071eb
cmp dl, 0x29
je 0x4071eb
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4071ee
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x4071eb
cmp dl, 0x7d
jne 0x4071ee
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
jmp 0x40749e
mov ecx, esi
call fcn.004074e0
jmp 0x407494
cmp eax, 0x5b
jne 0x4072bb
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407258
cmp byte [eax], 0x5c
jne 0x407255
lea edx, [eax + 1]
cmp edx, ecx
je 0x407255
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40723f
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x407252
cmp bl, 0x29
je 0x407252
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407255
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x407252
cmp dl, 0x7d
jne 0x407255
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
lea ecx, [esi + 0x24]
call fcn.00406870
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x407280
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00409a60
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40729e
cmp eax, 0x5d
jne 0x40729e
push eax
lea ecx, [esi + 0x24]
call fcn.00406800
mov ecx, esi
call fcn.00409a60
mov ecx, esi
call fcn.00407ee0
cmp dword [esi + 0x4c], 0x5d
jne 0x4074cd
mov ecx, esi
call fcn.00409a60
jmp 0x407494
cmp eax, 0x28
jne 0x407334
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407306
cmp byte [eax], 0x5c
jne 0x407303
lea edx, [eax + 1]
cmp edx, ecx
je 0x407303
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4072ed
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x407300
cmp bl, 0x29
je 0x407300
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407303
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x407300
cmp dl, 0x7d
jne 0x407303
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
mov ecx, esi
call fcn.0040a390
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4074bb
mov ecx, esi
call fcn.00409a60
test bl, bl
je 0x40749e
jmp 0x407494
cmp eax, 0x5e
jne 0x407398
push 2
lea ecx, [esi + 0x24]
call fcn.004099f0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40738c
cmp byte [eax], 0x5c
jne 0x407389
lea edx, [eax + 1]
cmp edx, ecx
je 0x407389
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407373
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x407386
cmp bl, 0x29
je 0x407386
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407389
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x407386
cmp dl, 0x7d
jne 0x407389
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
jmp 0x40749e
cmp eax, 0x24
jne 0x4073fc
push 3
lea ecx, [esi + 0x24]
call fcn.004099f0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4073f0
cmp byte [eax], 0x5c
jne 0x4073ed
lea edx, [eax + 1]
cmp edx, ecx
je 0x4073ed
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4073d7
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4073ea
cmp bl, 0x29
je 0x4073ea
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4073ed
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4073ea
cmp dl, 0x7d
jne 0x4073ed
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040a180
jmp 0x40749e
cmp eax, 0x2a
je 0x4074b2
cmp eax, 0x2b
je 0x4074b2
cmp eax, 0x3f
je 0x4074b2
cmp eax, 0x7b
je 0x4074b2
cmp eax, 0x7d
jne 0x407434
test dword [esi + 0x50], 0x10000000
je 0x4074c4
jmp 0x407446
cmp eax, 0x5d
jne 0x407446
test dword [esi + 0x50], 0x10000000
je 0x4074cd
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00406650
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40748d
cmp byte [eax], 0x5c
jne 0x40748b
inc eax
cmp eax, ecx
je 0x40748b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40747a
mov dl, byte [eax]
cmp dl, 0x28
je 0x407489
cmp dl, 0x29
je 0x407489
test cl, 0x10
jne 0x40748b
mov al, byte [eax]
cmp al, 0x7b
je 0x407489
cmp al, 0x7d
jne 0x40748b
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040a180
mov ecx, esi
call fcn.00409bc0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x407026
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00408d00
push 5
mov ecx, esi
call fcn.00408d00
push 6
mov ecx, esi
call fcn.00408d00
push 4
mov ecx, esi
call fcn.00408d00
int3