Function at 0x476090
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 0x4762da
cmp eax, 0x7c
je 0x4762da
cmp eax, 0x29
jne 0x4760c8
cmp dword [esi + 0x10], 0
jne 0x4762da
test dword [esi + 0x50], 0x10000000
je 0x4762e0
cmp eax, 0x2e
jne 0x47611f
push 5
lea ecx, [esi + 0x24]
call fcn.00476490
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x476113
cmp byte [eax], 0x5c
jne 0x476111
inc eax
cmp eax, ecx
je 0x476111
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4760fe
mov dl, byte [eax]
cmp dl, 0x28
je 0x47610f
cmp dl, 0x29
je 0x47610f
test cl, 0x10
jne 0x476111
mov cl, byte [eax]
cmp cl, 0x7b
je 0x47610f
cmp cl, 0x7d
jne 0x476111
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00475180
jmp 0x4762c5
cmp eax, 0x5c
jne 0x476184
mov ecx, esi
call fcn.00476040
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x476151
cmp byte [esi + 0x48], 0x62
jne 0x476151
push 4
lea ecx, [esi + 0x24]
call fcn.00476490
mov ecx, esi
call fcn.00476040
jmp 0x4762cc
test eax, eax
je 0x476178
cmp byte [esi + 0x48], 0x42
jne 0x476178
push 4
lea ecx, [esi + 0x24]
call fcn.00476490
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00476040
jmp 0x4762cc
mov ecx, esi
call fcn.004772e0
jmp 0x4762c5
cmp eax, 0x5b
jne 0x4761e9
mov ecx, esi
call fcn.00476040
mov ecx, esi
call fcn.00477200
cmp dword [esi + 0x4c], 0x5d
jne 0x4762e7
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4761dd
cmp byte [eax], 0x5c
jne 0x4761db
inc eax
cmp eax, ecx
je 0x4761db
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4761c8
mov dl, byte [eax]
cmp dl, 0x28
je 0x4761d9
cmp dl, 0x29
je 0x4761d9
test cl, 0x10
jne 0x4761db
mov cl, byte [eax]
cmp cl, 0x7b
je 0x4761d9
cmp cl, 0x7d
jne 0x4761db
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00475180
jmp 0x4762c5
cmp eax, 0x28
jne 0x476251
mov ecx, esi
call fcn.00476040
mov ecx, esi
call fcn.00477470
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4762e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x476244
cmp byte [eax], 0x5c
jne 0x476242
inc eax
cmp eax, ecx
je 0x476242
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x47622f
mov dl, byte [eax]
cmp dl, 0x28
je 0x476240
cmp dl, 0x29
je 0x476240
test cl, 0x10
jne 0x476242
mov cl, byte [eax]
cmp cl, 0x7b
je 0x476240
cmp cl, 0x7d
jne 0x476242
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00475180
test bl, bl
je 0x4762cc
jmp 0x4762c5
cmp eax, 0x5e
jne 0x476269
push 2
lea ecx, [esi + 0x24]
call fcn.00476490
mov ecx, esi
call fcn.00476040
jmp 0x4762cc
cmp eax, 0x24
jne 0x476281
push 3
lea ecx, [esi + 0x24]
call fcn.00476490
mov ecx, esi
call fcn.00476040
jmp 0x4762cc
cmp eax, 0x2a
je 0x4762f5
cmp eax, 0x2b
je 0x4762f5
cmp eax, 0x3f
je 0x4762f5
cmp eax, 0x7b
je 0x4762f5
cmp eax, 0x7d
jne 0x4762a3
test dword [esi + 0x50], 0x10000000
je 0x4762ee
cmp eax, 0x5d
jne 0x4762b1
test dword [esi + 0x50], 0x10000000
je 0x4762e7
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00477660
mov ecx, esi
call fcn.00476040
mov ecx, esi
call fcn.00477530
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4760a3
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.00583a13
push 4
call fcn.00583a13
push 6
call fcn.00583a13
push 0xa
call fcn.00583a13
int3