Function at 0x476eb0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47722d
push ebx
push edi
cmp eax, 0x7c
je 0x47722b
cmp eax, 0x29
jne 0x476eed
cmp dword [esi + 0x10], 0
jne 0x47722b
test dword [esi + 0x50], 0x10000000
je 0x47723a
jmp 0x4771bc
cmp eax, 0x2e
jne 0x476f01
push 5
lea ecx, [esi + 0x24]
call fcn.0047a3f0
jmp 0x4771c9
cmp eax, 0x5c
jne 0x476fdd
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x476f50
cmp word [eax], 0x5c
jne 0x476f4b
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x476f49
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x476f37
movzx edi, word [ecx]
cmp edi, 0x28
je 0x476f4b
cmp edi, 0x29
je 0x476f4b
test dl, 0x10
jne 0x476f49
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x476f4b
cmp ecx, 0x7d
je 0x476f4b
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047a980
test byte [esi + 0x50], 0x80
je 0x476fd1
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x476fb9
push 4
lea ecx, [esi + 0x24]
call fcn.0047a3f0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x477166
cmp word [eax], 0x5c
jne 0x477161
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47715f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x476fb1
movzx edx, word [ecx]
cmp edx, 0x28
je 0x477161
cmp edx, 0x29
je 0x477161
test bl, 0x10
jmp 0x477150
cmp eax, 0x42
jne 0x476fd1
push 4
lea ecx, [esi + 0x24]
call fcn.0047a3f0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x476f70
mov ecx, esi
call fcn.00477260
jmp 0x477216
cmp eax, 0x5b
jne 0x47708f
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47702c
cmp word [eax], 0x5c
jne 0x477027
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x477025
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x477013
movzx edi, word [ecx]
cmp edi, 0x28
je 0x477027
cmp edi, 0x29
je 0x477027
test dl, 0x10
jne 0x477025
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x477027
cmp ecx, 0x7d
je 0x477027
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047a980
lea ecx, [esi + 0x24]
call fcn.004766d0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x477054
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0047a460
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x477072
cmp eax, 0x5d
jne 0x477072
push eax
lea ecx, [esi + 0x24]
call fcn.00476640
mov ecx, esi
call fcn.0047a460
mov ecx, esi
call fcn.00477a90
cmp dword [esi + 0x4c], 0x5d
jne 0x47724c
mov ecx, esi
call fcn.0047a460
jmp 0x477216
cmp eax, 0x28
jne 0x477108
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4770da
cmp word [eax], 0x5c
jne 0x4770d5
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x4770d3
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4770c1
movzx edi, word [ecx]
cmp edi, 0x28
je 0x4770d5
cmp edi, 0x29
je 0x4770d5
test dl, 0x10
jne 0x4770d3
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x4770d5
cmp ecx, 0x7d
je 0x4770d5
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047a980
mov ecx, esi
call fcn.0047abe0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x47723a
mov ecx, esi
call fcn.0047a460
test bl, bl
je 0x47721d
jmp 0x477216
cmp eax, 0x5e
jne 0x477111
push 2
jmp 0x477118
cmp eax, 0x24
jne 0x477172
push 3
lea ecx, [esi + 0x24]
call fcn.0047a3f0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x477166
cmp word [eax], 0x5c
jne 0x477161
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47715f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47714d
movzx edi, word [ecx]
cmp edi, 0x28
je 0x477161
cmp edi, 0x29
je 0x477161
test dl, 0x10
jne 0x47715f
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x477161
cmp ecx, 0x7d
je 0x477161
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047a980
jmp 0x47721d
cmp eax, 0x2a
je 0x477231
cmp eax, 0x2b
je 0x477231
cmp eax, 0x3f
je 0x477231
cmp eax, 0x7b
je 0x477231
cmp eax, 0x7d
jne 0x4771aa
test dword [esi + 0x50], 0x10000000
je 0x477243
jmp 0x4771bc
cmp eax, 0x5d
jne 0x4771bc
test dword [esi + 0x50], 0x10000000
je 0x47724c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00476470
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x47720f
cmp word [eax], 0x5c
jne 0x47720a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x477208
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4771f6
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47720a
cmp edi, 0x29
je 0x47720a
test dl, 0x10
jne 0x477208
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47720a
cmp ecx, 0x7d
je 0x47720a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047a980
mov ecx, esi
call fcn.0047a4b0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x476ec3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00479c20
push 5
mov ecx, esi
call fcn.00479c20
push 6
mov ecx, esi
call fcn.00479c20
push 4
mov ecx, esi
call fcn.00479c20
int3