Function at 0x404510
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40488d
push ebx
push edi
cmp eax, 0x7c
je 0x40488b
cmp eax, 0x29
jne 0x40454d
cmp dword [esi + 0x10], 0
jne 0x40488b
test dword [esi + 0x50], 0x10000000
je 0x40489a
jmp 0x40481c
cmp eax, 0x2e
jne 0x404561
push 5
lea ecx, [esi + 0x24]
call fcn.00406d20
jmp 0x404829
cmp eax, 0x5c
jne 0x40463d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4045b0
cmp word [eax], 0x5c
jne 0x4045ab
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x4045a9
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404597
movzx edi, word [ecx]
cmp edi, 0x28
je 0x4045ab
cmp edi, 0x29
je 0x4045ab
test dl, 0x10
jne 0x4045a9
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x4045ab
cmp ecx, 0x7d
je 0x4045ab
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407090
test byte [esi + 0x50], 0x80
je 0x404631
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x404619
push 4
lea ecx, [esi + 0x24]
call fcn.00406d20
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4047c6
cmp word [eax], 0x5c
jne 0x4047c1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x4047bf
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x404611
movzx edx, word [ecx]
cmp edx, 0x28
je 0x4047c1
cmp edx, 0x29
je 0x4047c1
test bl, 0x10
jmp 0x4047b0
cmp eax, 0x42
jne 0x404631
push 4
lea ecx, [esi + 0x24]
call fcn.00406d20
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4045d0
mov ecx, esi
call fcn.004048c0
jmp 0x404876
cmp eax, 0x5b
jne 0x4046ef
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40468c
cmp word [eax], 0x5c
jne 0x404687
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404685
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404673
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404687
cmp edi, 0x29
je 0x404687
test dl, 0x10
jne 0x404685
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404687
cmp ecx, 0x7d
je 0x404687
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407090
lea ecx, [esi + 0x24]
call fcn.00403bc0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4046b4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00406da0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4046d2
cmp eax, 0x5d
jne 0x4046d2
push eax
lea ecx, [esi + 0x24]
call fcn.00403b30
mov ecx, esi
call fcn.00406da0
mov ecx, esi
call fcn.00405070
cmp dword [esi + 0x4c], 0x5d
jne 0x4048ac
mov ecx, esi
call fcn.00406da0
jmp 0x404876
cmp eax, 0x28
jne 0x404768
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40473a
cmp word [eax], 0x5c
jne 0x404735
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404733
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404721
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404735
cmp edi, 0x29
je 0x404735
test dl, 0x10
jne 0x404733
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404735
cmp ecx, 0x7d
je 0x404735
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407090
mov ecx, esi
call fcn.004072f0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40489a
mov ecx, esi
call fcn.00406da0
test bl, bl
je 0x40487d
jmp 0x404876
cmp eax, 0x5e
jne 0x404771
push 2
jmp 0x404778
cmp eax, 0x24
jne 0x4047d2
push 3
lea ecx, [esi + 0x24]
call fcn.00406d20
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4047c6
cmp word [eax], 0x5c
jne 0x4047c1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x4047bf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4047ad
movzx edi, word [ecx]
cmp edi, 0x28
je 0x4047c1
cmp edi, 0x29
je 0x4047c1
test dl, 0x10
jne 0x4047bf
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x4047c1
cmp ecx, 0x7d
je 0x4047c1
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407090
jmp 0x40487d
cmp eax, 0x2a
je 0x404891
cmp eax, 0x2b
je 0x404891
cmp eax, 0x3f
je 0x404891
cmp eax, 0x7b
je 0x404891
cmp eax, 0x7d
jne 0x40480a
test dword [esi + 0x50], 0x10000000
je 0x4048a3
jmp 0x40481c
cmp eax, 0x5d
jne 0x40481c
test dword [esi + 0x50], 0x10000000
je 0x4048ac
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00403960
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40486f
cmp word [eax], 0x5c
jne 0x40486a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404868
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404856
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40486a
cmp edi, 0x29
je 0x40486a
test dl, 0x10
jne 0x404868
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40486a
cmp ecx, 0x7d
je 0x40486a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407090
mov ecx, esi
call fcn.00406df0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x404523
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00406530
push 5
mov ecx, esi
call fcn.00406530
push 6
mov ecx, esi
call fcn.00406530
push 4
mov ecx, esi
call fcn.00406530
int3