Function at 0x478e20
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47906a
cmp eax, 0x7c
je 0x47906a
cmp eax, 0x29
jne 0x478e58
cmp dword [esi + 0x10], 0
jne 0x47906a
test dword [esi + 0x50], 0x10000000
je 0x479070
cmp eax, 0x2e
jne 0x478eaf
push 5
lea ecx, [esi + 0x24]
call fcn.00479220
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x478ea3
cmp byte [eax], 0x5c
jne 0x478ea1
inc eax
cmp eax, ecx
je 0x478ea1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x478e8e
mov dl, byte [eax]
cmp dl, 0x28
je 0x478e9f
cmp dl, 0x29
je 0x478e9f
test cl, 0x10
jne 0x478ea1
mov cl, byte [eax]
cmp cl, 0x7b
je 0x478e9f
cmp cl, 0x7d
jne 0x478ea1
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00477f10
jmp 0x479055
cmp eax, 0x5c
jne 0x478f14
mov ecx, esi
call fcn.00478dd0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x478ee1
cmp byte [esi + 0x48], 0x62
jne 0x478ee1
push 4
lea ecx, [esi + 0x24]
call fcn.00479220
mov ecx, esi
call fcn.00478dd0
jmp 0x47905c
test eax, eax
je 0x478f08
cmp byte [esi + 0x48], 0x42
jne 0x478f08
push 4
lea ecx, [esi + 0x24]
call fcn.00479220
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00478dd0
jmp 0x47905c
mov ecx, esi
call fcn.0047a070
jmp 0x479055
cmp eax, 0x5b
jne 0x478f79
mov ecx, esi
call fcn.00478dd0
mov ecx, esi
call fcn.00479f90
cmp dword [esi + 0x4c], 0x5d
jne 0x479077
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x478f6d
cmp byte [eax], 0x5c
jne 0x478f6b
inc eax
cmp eax, ecx
je 0x478f6b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x478f58
mov dl, byte [eax]
cmp dl, 0x28
je 0x478f69
cmp dl, 0x29
je 0x478f69
test cl, 0x10
jne 0x478f6b
mov cl, byte [eax]
cmp cl, 0x7b
je 0x478f69
cmp cl, 0x7d
jne 0x478f6b
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00477f10
jmp 0x479055
cmp eax, 0x28
jne 0x478fe1
mov ecx, esi
call fcn.00478dd0
mov ecx, esi
call fcn.0047a200
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x479070
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x478fd4
cmp byte [eax], 0x5c
jne 0x478fd2
inc eax
cmp eax, ecx
je 0x478fd2
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x478fbf
mov dl, byte [eax]
cmp dl, 0x28
je 0x478fd0
cmp dl, 0x29
je 0x478fd0
test cl, 0x10
jne 0x478fd2
mov cl, byte [eax]
cmp cl, 0x7b
je 0x478fd0
cmp cl, 0x7d
jne 0x478fd2
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00477f10
test bl, bl
je 0x47905c
jmp 0x479055
cmp eax, 0x5e
jne 0x478ff9
push 2
lea ecx, [esi + 0x24]
call fcn.00479220
mov ecx, esi
call fcn.00478dd0
jmp 0x47905c
cmp eax, 0x24
jne 0x479011
push 3
lea ecx, [esi + 0x24]
call fcn.00479220
mov ecx, esi
call fcn.00478dd0
jmp 0x47905c
cmp eax, 0x2a
je 0x479085
cmp eax, 0x2b
je 0x479085
cmp eax, 0x3f
je 0x479085
cmp eax, 0x7b
je 0x479085
cmp eax, 0x7d
jne 0x479033
test dword [esi + 0x50], 0x10000000
je 0x47907e
cmp eax, 0x5d
jne 0x479041
test dword [esi + 0x50], 0x10000000
je 0x479077
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047a3f0
mov ecx, esi
call fcn.00478dd0
mov ecx, esi
call fcn.0047a2c0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x478e33
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.005861ad
push 4
call fcn.005861ad
push 6
call fcn.005861ad
push 0xa
call fcn.005861ad
int3